微博的iOS SDK位码误差Xcode7.1
- Xcode的归档7.1
- OS X 10.11.1
- 归档的iOS与最小目标要求时8.0
Podfile
荚 “WeiboSDK”:头
错误消息
ld: bitcode bundle could not be generated because '/Users/XX/code/iOS/Pods/WeiboSDK/libWeiboSDK/libWeiboSDK.a(WBSDKNormalWebViewController.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
建设时,这是确定的,但会失败归档
1.If your app doesn't need bitcode (for Apple Watch).you should check you settings:
PROJECT/TARGETS -> Build Settings -> Enable Bitcode -> NO
时2.If you need the Bitcode enable in your project,you should import the newest SDK from Weibo which has been build by Bitcode enabled.
你遇到的问题是,如果你想在你的项目中启用你的位码,你项目中的库必须通过“启用位码”来构建。
的“位码”是的的iOS 9.0或above.You的适应细节要注意this.Here一个是一个很好的资源库上Github for iOS 9自适应细节收集:
https://github.com/ChenYilong/iOS9AdaptationTips