wumke / react-native-immediate-phone-call

Initiate immediate phone call (without further user interaction) for React Native on iOS and Android.
GNU General Public License v3.0
174 stars 51 forks source link

Failed to build iOS project #50

Open michalpawlowski34 opened 1 year ago

michalpawlowski34 commented 1 year ago

After manual installation and trying to run react-native run-ios build failes with error:

** 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)

I'm using Mac M1, React Native version 0.71, XCode 14.2. Could be a problem with XCode, because Android build still works fine :)

wumke commented 1 year ago

Did you find out the issue? Mac M1 maybe indeed requires some additions in the iOS part of the library... but I cannot test it on a Apple Silicon device at the moment.

Feel free to make a pull request if you find out!