Google Fabric in Xcode 10 beta Google Fabric in Xcode 10 beta xcode xcode

Google Fabric in Xcode 10 beta


For Xcode 10 only, user's who face issue in final setup of fabric is your project.

From Xcode 10 you need to make one more setup in Build Phase's Input Files field.

Simply You need to copy this $(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH) and paste to Build Phase's Input Files field under Run Script as display in below image.

enter image description here

Read more on this link : https://fabric.io/kits/ios/crashlytics/install


I had same problem, if your info.plist is in your root directory like this:

Root directory tree

yo should change $(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH) like this:

Path image


I did exactly what was recommend by Mahdi RB. Also followed the steps on official manual guide, didn't work.

When I build using XCode I see it processes about 2k tasks. The fabric builds usually works when I start the machine, open xcode and execute archive. After that the build starts to break most of the time. I'm using the latest fabric & crashlytics downloaded on 03/OCT/18. It's really weird as it works for my other projects, it's just this one that fails. This started with XCode 10 - Version 10.0 (10A255). It was working with previous XCode 9.

This is some proof of what I'm talking:

XCode pic

My workaround was to add this command before calling the fabric command. E.g

sleep 15"${PROJECT_DIR}/Fabric.framework/run" aaaaa aaaa

I noticed on my mac console app loads of this error, not sure if it's related:

IBAgent-iOS - assertion failed - libxpc.dylib - and some numbers here.

Error on XCode

2018-10-03 13:53:58.698 uploadDSYM[46168:550157] Fabric.framework/run 1.7.2 (210)2018-10-03 13:53:58.704 uploadDSYM[46168:550157] Using API Key: "123"2018-10-03 13:53:58.704 uploadDSYM[46168:550157] Launched uploader in validation modeerror: Fabric: Info.plist ErrorUnable to process Info.plist at path /Users/someuser/Library/Developer/Xcode/DerivedData/SampleApp-amwweapikvrbgafmmnyeyorkiufq/Build/Intermediates.noindex/ArchiveIntermediates/SampleApp/BuildProductsPath/Release-iphoneos/SampleApp.app/Info.plistThis could be a timing issue, make sure the Fabric run script build phase is the last build phase and no other scripts have moved Inspector.app from the location Xcode generated it. You can also add '$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)' as an "Input Files" dependency for your Fabric run script build phase.

I tried to open that plist link, it points to a shortcut, and that shortcut points to a real file. Not sure why that is failing. My guess it has something to do with files not being present at the time the script is executed. The delay fixes the issue. I hope this can help.

  • I removed the original app names for privacy.