question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undefined symbols for architecture armv7:

See original GitHub issue

After implementing the readme the build directly on a device fails with these errors:

Undefined symbols for architecture armv7: "_OBJC_CLASS_$_FIRApp", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_FIRInstanceID", referenced from: objc-class-ref in libRNFIRMessaging.a(RNFIRMesssaging.o) "_OBJC_CLASS_$_FIRMessaging", referenced from: objc-class-ref in libRNFIRMessaging.a(RNFIRMesssaging.o) "_kFIRInstanceIDTokenRefreshNotification", referenced from: -[RNFIRMessaging setBridge:] in libRNFIRMessaging.a(RNFIRMesssaging.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

also these warnings: ld: warning: object file (/PATH-byxbzdyvvunexgaoyfngwacuplnc/Build/Products/Debug-iphoneos/libPods-Starmind.a(Pods-App-dummy.o)) was built for newer iOS version (9.0) than being linked (7.0) ld: warning: Auto-Linking supplied '/PATH/App/ios/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID', framework linker option at /PATH/App/ios/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID is not a dylib

Any hints what I might be doing wrong? Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

7reactions
caallecommented, Jul 25, 2016

Posting here if someone else ends up with the same error.

I had the same issue when using CocoaPods and it occurs directly after pod install without adding anything to AppDelegate.m. Tried with RN: 0.30, 0.28 and CocoaPods: 1.0.1 with fresh projects.

Did not manage to work around it, but using the non-cocoapods approach and adding Firebase manually worked perfect.

Running

  • xcode - 7.3.1
  • rn - 0.28
0reactions
evollucommented, Jul 8, 2016

@derdav3 can I close this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undefined symbols for architecture armv7 - ios - Stack Overflow
The common causes for "Undefined symbols for architecture armv7" are: You import a header and do not link against the correct library.
Read more >
Build for ios fails : Undefined symbols for architecture armv7
I cannot reproduce on a fresh project. Does it happen when you create a new project and add sqflite? Most of time I...
Read more >
iOS : Undefined symbols for architecture armv7, ld - YouTube
iOS : Undefined symbols for architecture armv7, ld: symbol(s) not found for architecture armv7 - what to do?
Read more >
Undefined symbols for architecture x86_64 - Apple Developer
When I builded it under 64 bits architecture (armv7, arm64), it failed with the following message : Undefined symbols for architecture x86_64:.
Read more >
Undefined symbols for architecture armv7 [iOS] - Google Groups
I'm update Firebase SDK with v2.4.3 on iOS. Following error has occurred when compile with archive build. Undefined symbols for architecture armv7 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found