问题
As part of fabric integration I have installed Fabric mac app,
I found that whenever I run the project(I am running iOS app through XCode), the Fabric app also gets launched automatically,
My Questions are:
- Why it automatically launches when running project ?
- Is there a way I can stop this happening ?
FYI: The same happens even when the app is running in simulator.
回答1:
Mike from Fabric here. It's an odd behavior that you're seeing and is most likely due to an old version of the Run Script. Years ago, the run script build phase required the Fabric app to be present in order to handle the actual uploading of the dSYMs. We would move the dSYMs during the build of the app to a location that the Fabric app would then asynchronously upload them. That behavior was changed a long way back, but it's possible a new version never was included. The current version is: Fabric.framework/run 1.6.2 (205)
I'd check the version by running ./run -v from the project and update your Fabric and Crashlytics frameworks.
You can also remove Fabric.app completely from your system and switch to using CocoaPods or manual installation instructions. It hasn't been required to use for a couple of years.
来源:https://stackoverflow.com/questions/47587492/why-does-fabric-mac-app-opens-automatically-when-project-is-running