美文网首页
pod trunk push failed, when buil

pod trunk push failed, when buil

作者: yxibng | 来源:发表于2020-09-18 17:33 被阅读0次

打包后的 framework 不包含 i386 指令集,通过 pod trunk push 的时候,报缺少 i386 指令集。

➜  DbyPaas_iOS.framework lipo -info DbyPaas_iOS 
Architectures in the fat file: DbyPaas_iOS are: armv7 x86_64 arm64 

解决办法:

在.podspec里面添加

spec.xcconfig = {
  'VALID_ARCHS' =>  'armv7 x86_64 arm64',
}

参考: pod trunk push fail, when build xcodebuild in i386

相关文章

网友评论

      本文标题:pod trunk push failed, when buil

      本文链接:https://www.haomeiwen.com/subject/vrijyktx.html