1、运行的时候不报错,打包的时候报错
Bitcode bundle could not be generated because 'XXXXXX' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build file 'XXXXXXXXXX' for architecture arm64
解决办法:Build Settings->Build Options->Enable Bitcode设置为NO
2、打framework运行时报错
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lPods-XXXX
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lPods-XXXX is not an object file (not allowed in a library)
Command Libtool failed with a nonzero exit code
解决办法:删除Podfile.lock、Pods、XXX.xcworkspace,重新pod install
网友评论