嘿,我有一个问题与react-native-immediate-phone-call包. Android构建完美的作品,然而在iOS上,而使用Mac M1构建失败错误:
** BUILD FAILED ** The following build commands failed: CompileC /Users/michalpawlowski/Library/Developer/Xcode/DerivedData/MenuManager-dhwvpfsdgqkknsdamgvddtqaipyh/Build/Intermediates.noindex/RNImmediatePhoneCall.build/Debug-iphonesimulator/RNImmediatePhoneCall.build/Objects-normal/arm64/RNImmediatePhoneCall.o /Users/michalpawlowski/Documents/GitHub/manager-app/ManagerApp/node_modules/react-native-immediate-phone-call/ios/RNImmediatePhoneCall/RNImmediatePhoneCall.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNImmediatePhoneCall' from project 'RNImmediatePhoneCall') (1 failure)
字符串
当我从XCode中的Libraries文件夹中删除包时,项目构建成功。
react-native: 0.71.4
react-native-immediate-phone-call: 2.0.0
XCode: 14.2
Macbook Pro M1
macOS Ventura 13.0.1
型
我可能已经搜索了几乎整个互联网在过去3天寻找解决这个问题,但他们没有工作.任何最新的想法?
1条答案
按热度按时间nkhmeac61#
您可能没有安装CocoaPods依赖项。
运行:
npx pod-install ios