Skip to content

IOS build failing while archiving with message : "Undefined symbols for architecture armv7"  #24464

Closed
@ronyv

Description

My React native ios build is failing only while archiving with the message:

Undefined symbols for architecture armv7: "_OBJC_CLASS_$_RCTCxxBridge", referenced from: objc-class-ref in libReact.a(RCTBridge.o) "facebook::react::parseTypeFromHeader(facebook::react::BundleHeader const&)", referenced from: +[RCTJavaScriptLoader attemptSynchronousLoadOfBundleAtURL:runtimeBCVersion:sourceLength:error:] in libReact.a(RCTJavaScriptLoader.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am able to successfully run and use the app using react-native run-ios.
My Xcode version is 10.1.
Also, i am using the following libs in my react-native project:


react native version : 0.58.6 
react : 16.6.3
react-native-firebase: 5.2.3

Kindly let me know if anyone has solved this issue as i am stuck with the release process of my build.

Thanks in advance..!

Metadata

Assignees

No one assigned

    Labels

    Platform: iOSiOS applications.Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.Type: QuestionIssues that are actually questions and not bug reports.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions