简体   繁体   中英

Remove fabric framework from ios app

I have been landed an iOS project from a client. The main task is to explore and see the user interface so that multiplatform app will be made from scratch with Xamarin.

I notice that the project uses third party framework called fabric. From what i see it is used from crash analytics. I don't need that and i don't have registration so i want to remove all dependencies from the project.

So far I did:

  1. Deleted define ENABLE_FABRIC ( which removed some code from AptDelegate, replaced logging messages with plain NSLog etc)
  2. Removed some fabric script invocation from build phases
  3. Removed reference from fabric framework in project

So i still have errors building my app:

/bin/sh: /Users/macmini/Library/Developer/Xcode/DerivedData/../Build/Intermediates/../Script-FDC6FCE81A4488D000F2613D.sh: (null): bad interpreter: No such file or directory

Does anyone know a quick way to get rid of this?

I know it's an old question but I want to help. When you install Fabric, previously Crashlytics, it asks you to put a script in project->Build Phases-> Run Script

it will look like this

./Fabric.framework/run 123456fd7ec....6e2170Q

I think you should remove that script and other Linked Frameworks and Libraries and then it possibly could run

Try deleting the files DerivedData path and clean build folder

cmd+opt+shift+k

then re run the application.

Also check once again the Framework search path in xcode settings.

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