cocoapods-packager打包问题
error:
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: Pods/build/package.a and Pods/build-sim/package.a have the same architectures (arm64) and can’t be in the same fat output file
添加到podsepc文件:
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
本文探讨了在使用Cocoapods-packager时遇到的arm64架构冲突问题,通过在Podspec文件中添加配置,解决了iOS模拟器构建时的架构兼容性问题。
3216

被折叠的 条评论
为什么被折叠?



