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 - React Native - Archive Failed - AppCenter - iOS #36339

Closed
AndresHMosqueda opened this issue Mar 1, 2023 · 4 comments

Comments

@AndresHMosqueda
Copy link

AndresHMosqueda commented Mar 1, 2023

Description

I'm upgrading a react native app from 0.68.1 to the latest at the moment "0.71.3".
I'm able to build and run the app in my local machine but in Appcenter I'm seeing the following error:

`Undefined symbols for architecture arm64:
"_RCTLogSetBridgeCallableJSModules", referenced from:
-[RCTCxxBridge initWithParentBridge:] in libReact-Core.a(RCTCxxBridge.o)
"_RCTLogSetBridgeModuleRegistry", referenced from:
-[RCTCxxBridge initWithParentBridge:] in libReact-Core.a(RCTCxxBridge.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** ARCHIVE FAILED **`

React Native Version

0.71.3

Output of npx react-native info

System:
OS: macOS 12.6.3
CPU: (3) x64 Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
Memory: 449.95 MB / 14.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.21.3 - ~/.nvm/versions/node/v14.21.3/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 6.14.18 - ~/.nvm/versions/node/v14.21.3/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/lib/ruby/gems/3.0.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 27, 28, 29, 30, 31, 32, 33, 33
Build Tools: 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.1, 28.0.2, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 33.0.0, 33.0.1, 33.0.2
Android NDK: 25.2.9519653
IDEs:
Android Studio: Not Found
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_362 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.3 => 0.71.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

Archive failure in AppCenter

Code example

My Podfile looks like:
Link

Build parameters in Appcenter -> Xcode version 14.2,
Node.js version 14.x

@react-native-bot react-native-bot added Needs: Author Feedback Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. and removed Needs: Triage 🔍 labels Mar 1, 2023
@github-actions
Copy link

github-actions bot commented Mar 1, 2023

⚠️ Missing Environment Information
ℹ️ Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.

@react-native-bot react-native-bot removed the Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. label Mar 1, 2023
@cortinico
Copy link
Contributor

I'm upgrading a react native app from 0.68.1 to the latest at the moment "0.73.1".

There is no version 0.73.1 out there. Do you mean a 0.71 version? Can you clarify?

@AndresHMosqueda
Copy link
Author

@cortinico my bad, I meant to say "0.71.3". I have updated the first comment.

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Mar 1, 2023
@cortinico cortinico removed the Needs: Attention Issues where the author has responded to feedback. label Mar 2, 2023
@AndresHMosqueda AndresHMosqueda changed the title Undefined symbols for architecture arm64 - React Native - Archive Failed - AppCenter Undefined symbols for architecture arm64 - React Native - Archive Failed - AppCenter - iOS Mar 2, 2023
@rusteyy
Copy link

rusteyy commented May 17, 2023

Hi guys, was there a solution here?
@AndresHMosqueda

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

4 participants