一、导出的项目默认“TARGETS-Build Setting-Enable Bitcode”为No
Archive时出现一下错误:
ld: ‘/Users/**/Framework/SDKs/PolymerPay/Library/mobStat/lib**SDK.a(**ForSDK.o)’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
得到的信息是引入的一个第三方库不包含bitcode。
解决方案:在打算上传的项目里“TARGETS-Build Setting-Enable Bitcode”设置为No