简体   繁体   中英

Can't Build my app after upgrading to Fabric from Crashlytics

After upgrading my iOS application to Fabric from Crashlytics using Xcode 7 I got following error

Undefined symbols for architecture i386: "_FABNetworkMaximumRetryCount", referenced from: ___51-[CLSBetaController loadUpdateWithCompletionBlock:]_block_invoke in Crashlytics(CLSBetaController.o) -[CLSAnalyticsNetworkingClient transmitLogFilesAtURLs:toURL:withAPIKey:completionHandler:] in Crashlytics(CLSAnalyticsNetworkingClient.o) ___51-[CLSBetaController loadUpdateWithCompletionBlock:]_block_invoke in Crashlytics(CLSBetaController.o) -[CLSAnalyticsNetworkingClient transmitLogFilesAtURLs:toURL:withAPIKey:completionHandler:] in Crashlytics(CLSAnalyticsNetworkingClient.o) ld: symbol(s) not found for architecture i386

Any advice?

I resolved this issue in the following steps.

  1. Remove reference fabric.framework and crashlytics.framework from project
  2. Clean the project
  3. Remove my application from Device and restart my device.
  4. Relaunch Fabric app after once quit from my applications
  5. Select required application from application list On Fabric
  6. Click to migrate crashlytics then follow the instruction by Fabric

At the end my application build and run successfully on device as well as simulator.

Happened to me while trying to sideload GBA4iOS on my device.

A kick fix would be to set an old Crashlytics version in the Podfile after cleaning the project.

For Example:

pod 'Fabric'
pod 'Crashlytics', '3.1.1'

Then run on terminal:

pod install

And open the project again.

Hope it helps until you find a better solution!

我遇到了同样的问题,但不知何故,我设法通过将libz.tbd和libc ++。tbd添加到框架列表中来实现它。

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