Clang 编译objective C 常见错误及解决方案
1)fatal error: 'UIKit/UIKit.h' file not found
解决方案: 添加编译选项-rewrite-objc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk
2)fatalerror: "This file requires ARC support."
解决...
原创
2021-02-02 11:11:58 ·
361 阅读 ·
0 评论