iOS开发iOS高阶UI相关

解决oc代码编译成C++代码weak报错( cannot syn

2018-08-07  本文已影响2人  为之则易ing
 error:
      cannot synthesize weak property in file using manual reference counting

解决:

clang  -x objective-c -rewrite-objc -fobjc-arc -stdlib=libc++ -mmacosx-version-min=10.7 -fobjc-runtime=macosx-10.7 -Wno-deprecated-declarations  -isysroot   /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk  ViewController.m
上一篇下一篇

猜你喜欢

热点阅读