react-native-calendar-events
react-native-calendar-events copied to clipboard
Undefined symbols for architecture arm64
I am unable to run the my app on an actual iPhone 12 device, please see details below:
Environment
System: OS: macOS 11.6 CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz Memory: 339.46 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 14.17.6 - ~/.nvm/versions/node/v14.17.6/bin/node Yarn: 1.22.11 - /usr/local/bin/yarn npm: 6.14.15 - ~/.nvm/versions/node/v14.17.6/bin/npm Watchman: Not Found Managers: CocoaPods: 1.10.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4 Android SDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7784292 Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild Languages: Java: 10.0.1 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: ^17.0.2 => 17.0.2 react-native: 0.64.2 => 0.64.2 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to Reproduce
Tried running the app on iPhone 12 device. It works on a simulator though.
Expected Behavior
Expecting the app to launch.
Actual Behavior
Undefined symbols for architecture arm64: "OBJC_CLASS$_RCTConvert", referenced from: objc-class-ref in RNCalendarEvents.o "_RCTRegisterModule", referenced from: +[RNCalendarEvents load] in RNCalendarEvents.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm getting this same issue, did you ever find a solution?
change s.dependency 'React'
to s.dependency 'React-Core'
in RNCalendarEvents.podspec file will resolve this question