Rizki
Rizki

Reputation: 11

Cannot upgrade from Crashlytics to Fabric

I upgrade my application from Crashlytics to Fabric. I do the instruction from the fabric application to upgrade my code in XCode. But when I reach the step for do run the application, the application got error Undefined symbols for architecture i386 when I run on simulator and Undefined symbols for architecture arm64 when I run on the iPhone 5s. So, what should I do to fix this?

Upvotes: 0

Views: 299

Answers (1)

Joe Rosen
Joe Rosen

Reputation: 171

I've run into a similar issue this evening. I don't really need Crashlytics either, just Fabric/Twitter. I'm using the latest iOS downloads/SDK from the Fabric/Twitter dev site.

After using the Fabric app to install the Fabric/Twitter SDK in my XCode project I got that same "Undefined symbols for architecture arm64" error upon run/compile.

I found the fix to be installing Crashlytics first (whether you need it or not), going through all the steps etc., then going back in the Fabric.app and installing Fabric/Twitter next for my project.

Crashlytics installed a few extra libraries and I'm suspecting one of them (libc++.dylib ?) might have resolved the issue? My guess is there's a bug in the automatic Fabric.app installation i.e. if you only install the Fabric/Twitter (v1.8) SDK alone w/o Crashlytics there is a library or libraries missing which result in that run/compile arm64 error.

In summary, the fix for me (and what finally got my app to successfully compile w/o failing the arm64 error) was to install Crashlytics first and then Fabric.Twitter, whether I need Crashlytics or not.

Upvotes: 1

Related Questions