美文网首页
iOS Framework not found Pods_xxx

iOS Framework not found Pods_xxx

作者: 奶牛的奶糖 | 来源:发表于2022-09-20 09:32 被阅读0次

问题:iOS Framework not found Pods_xxx
解决:
Targets->Build Phases->Link Binary With Libraries 删除 Framework not found Pods_xxx

问题:
building for iOS Simulator, but linking in object file built for iOS, file 'xxx/Pods/WechatOpenSDK/WeChatSDK1.8.5/libWeChatSDK.a' for architecture arm64
第一步:



d

第二步:
在podfile添加,以免pod install时覆盖需要在pod工程中的设置

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
        end
    end
end
 

参考:
报错building for iOS Simulator, but linking in object file built for iOShttps://blog.csdn.net/u011224726/article/details/124453819

相关文章

网友评论

      本文标题:iOS Framework not found Pods_xxx

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