react-native-twilio-video-webrtc
react-native-twilio-video-webrtc copied to clipboard
file is universal (x86_64,i386) but does not contain the arm64 architecture
Steps to reproduce
- Attempt to build project on fresh mac M1
- Build fails
Expected behaviour
Expected build to be succesful. It works fine on my old mac :)
Actual behaviour
I'm getting this error:
ld: warning: ignoring file /Users/dkJoGrPe/Library/Developer/Xcode/DerivedData/tententen-cmwtpdnmzrwlgqfpybwmasrswwyb/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/TwilioVideo/TwilioVideo.framework/TwilioVideo, file is universal (x86_64,i386) but does not contain the arm64 architecture: /Users/dkJoGrPe/Library/Developer/Xcode/DerivedData/tententen-cmwtpdnmzrwlgqfpybwmasrswwyb/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/TwilioVideo/TwilioVideo.framework/TwilioVideo
ld: warning: Could not find or use auto-linked library 'swiftDarwin'
ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find or use auto-linked library 'swiftDispatch'
ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
ld: warning: Could not find or use auto-linked library 'swiftAVFoundation'
ld: warning: Could not find or use auto-linked library 'swiftCoreMedia'
ld: warning: Could not find or use auto-linked library 'swiftQuartzCore'
ld: warning: Could not find or use auto-linked library 'swiftCore'
ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
ld: warning: Could not find or use auto-linked library 'swiftsimd'
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Could not find or use auto-linked library 'swiftMetal'
ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport'
ld: warning: Could not find or use auto-linked library 'swiftCoreImage'
ld: warning: Could not find or use auto-linked library 'swiftCoreAudio'
ld: warning: Could not find or use auto-linked library 'swiftUIKit'
Environment
- Node.js version: 16
- React Native version: 0.63.3
- React Native platform + platform version: iOS simulator, iOS deloyment target 11
react-native-twilio-video-webrtc
master
This should have been fixed with the upgrade to 4.6 (in October). Can you verify which version of the twilio library you're pulling down?
I got this working by excluding the arm64 architecture in for all Pods and the project itself. I also had to include a script in the Podfile to ensure it happened 🙂