美文网首页
The linked framework 'Pods_Roman

The linked framework 'Pods_Roman

作者: 夏至_未至_ | 来源:发表于2022-07-16 17:51 被阅读0次

xcode13在pod上安装最新第三方执行pod install的时候报错
真机运行可以,模拟器运行报如下错误

Showing Recent Messages
Desktop/RomanticOnlyApp/RomanticOnlyApp.xcodeproj The linked framework 'Pods_RomanticOnlyApp.framework' is missing one or more architectures required by this target: i386.

解决办法:
把下面一段复制到这个位置就可以了


位置截图.png
EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8 EXCLUDED_ARCHS=(inherited)(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_(NATIVE_ARCH_64_BIT))

转自:https://www.jianshu.com/p/86dfabf0cfd3
谢谢大佬文章指点终于解决了这个问题

相关文章

网友评论

      本文标题:The linked framework 'Pods_Roman

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