安装react-native-immediate-phone-call后,React Native iOS构建失败; Android工作正常

lx0bsm1f  于 2023-11-20  发布在  iOS
关注(0)|答案(1)|浏览(105)

嘿,我有一个问题与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天寻找解决这个问题,但他们没有工作.任何最新的想法?

nkhmeac6

nkhmeac61#

您可能没有安装CocoaPods依赖项。
运行:npx pod-install ios

相关问题