Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined symbols for architecture arm64 #392

Open
iamakg opened this issue Nov 15, 2021 · 2 comments
Open

Undefined symbols for architecture arm64 #392

iamakg opened this issue Nov 15, 2021 · 2 comments

Comments

@iamakg
Copy link

iamakg commented Nov 15, 2021

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)

Screen Shot 2021-11-15 at 1 16 54 PM

@ipoogleduck
Copy link
Contributor

I'm getting this same issue, did you ever find a solution?

@Milker90
Copy link

Milker90 commented Sep 4, 2023

change s.dependency 'React' to s.dependency 'React-Core' in RNCalendarEvents.podspec file will resolve this question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants