问题描述
这些是在 xcode 12.4 中归档 reactnative 项目时出现的错误。调试版本在模拟器中运行良好。但存档显示两个错误。
错误 1:
module map file '/Users/mac/Downloads/omw-pro1/ios/Build/Intermediates.noindex/ArchiveIntermediates/omyproject/BuildProductsPath/Release-iphoneos/FBSDKCoreKit/FBSDKCoreKit.modulemap' not found
错误2:
<unkNown>:0: error: Failed to emit precompiled header '/Users/mac/Downloads/omw-pro1/ios/Build/Intermediates.noindex/ArchiveIntermediates/omyproject/precompiledHeaders/omyproject-Bridging-Header-swift_CYGPW5NH324E-clang_2G5TWAL1B7WNS.pch' for bridging header '/Users/mac/Downloads/omw-pro1/ios/omyproject-Bridging-Header.h'
尝试了很多解决方案,但没有任何效果,例如 exclude arm64
,在用户定义的部分添加 VALID_ARCH
删除并重新安装 node_modules 和 pod,但对我来说没有任何效果。
请帮我解决这个问题
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)