Undefined symbols for architecture armv7 [iOS]

1,347 views
Skip to first unread message

youhei sugigami

unread,
Nov 30, 2015, 10:29:36 AM11/30/15
to Firebase Google Group
Hello,

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:

  "_utf8_nextCharSafeBody", referenced from:

      -[FSRWebSocket _innerPumpScanner] in Firebase(FSRWebSocket.o)

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)


Firebase v2.3.3 SDK has not occurred that error.

No problem has occurred, when I use armv7s or arm64 architectures.

I tried to install by a cocoapods and a direct  framework download, but same problem has occurred.

I'm using iOS build target is iOS8, that need include armv7 architecture.


How can i fix this ?




Jonny Dimond

unread,
Nov 30, 2015, 1:30:12 PM11/30/15
to Firebase Google Group
Hi,

it seems like there are some libraries that are not linked against. If you are not using CocoaPods, please see this guide: https://www.firebase.com/docs/ios/alternate-setup.html and link against all libraries and frameworks listed there. Also make sure that all frameworks and libraries are linked in all targets you are using. If you have done that or you are using CocoaPods, please let us know so we can dig into where the setup went wrong.

Thanks,
Jonny

SHI Lei

unread,
May 25, 2016, 2:13:48 PM5/25/16
to Firebase Google Group
Hi,

libicucore.dylib

libc++.dylib


this two libraries which need to link are not since ios 9.0 anymore, what should I do?
Using cocoapods, firebase will have conflict with Google Tag Managment - TAGContainer.h

Regards

Lei


在 2015年11月30日星期一 UTC+1下午7:30:12,Jonny Dimond写道:

Jonny Dimond

unread,
May 25, 2016, 8:03:26 PM5/25/16
to Firebase Google Group
Hey Lei,

with iOS 9 they were renamed to libc++.tbd and libicucore.tbd. The docs at https://www.firebase.com/docs/ are outdated now, you can find the new docs at https://firebase.google.com/docs/.

Jonny
Reply all
Reply to author
Forward
0 new messages