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.
解决办法:
把下面一段复制到这个位置就可以了
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
谢谢大佬文章指点终于解决了这个问题