简体   繁体   中英

Linking Error in building Firebase powered app for iOS 8

We are using Firebase in an iOS app and just started to test it on iOS 8. When we try to compile the app in Xcode 6 against an iPhone 5S simulator, we got the following the error in linking:

Undefined symbols for architecture i386:
"_fwrite$UNIX2003", referenced from:
leveldb::(anonymous namespace)::PosixEnv::~PosixEnv() in Firebase(env_posix.o)
leveldb::(anonymous namespace)::PosixEnv::~PosixEnv() in Firebase(env_posix.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

We are doing in beta 3. Tried to clean everything and still have no luck.

Any help is greatly appreciated.

You've got an old SDK,

"We've pushed out a new version of the framework that addresses the _fwrite$UNIX2003 issue. Now, the code should compile with all the devices, and not just the 64-bit devices. Grab a new version on the downloads page!"

https://groups.google.com/forum/#!topic/firebase-talk/m7vDEdF_lf4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM