How to stop the tissue

I looked through the documentation: http://support.crashlytics.com It seems that it does not question the purpose of the application, so I will ask here :)

I have Fabric embedded in my application. During the installation process, I installed the Fabric application on the Mac I'm working on.

Now, from time to time, I have a Fabric application that keeps opening, which I personally find very annoying. It is too expensive for a third-party service (even for a great one like Fabric Analytics).

In the build steps in Xcode, I found a script, but it doesn't seem to do the following:

#!/bin/sh # run # # Copyright (c) 2015 Crashlytics. All rights reserved. # Figure out where we're being called from DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # Quote path in case of spaces or special chars DIR="\"${DIR}" PATH_SEP="/" VALIDATE_COMMAND="uploadDSYM\" $@ validate run-script" UPLOAD_COMMAND="uploadDSYM\" $@ run-script" # Ensure params are as expected, run in sync mode to validate eval $DIR$PATH_SEP$VALIDATE_COMMAND return_code=$? if [[ $return_code != 0 ]]; then exit $return_code fi # Verification passed, upload dSYM in background to prevent Xcode from waiting # Note: Validation is performed again before upload. # Output can still be found in Console.app eval $DIR$PATH_SEP$UPLOAD_COMMAND > /dev/null 2>&1 & 

So what is the app for Fabric? Is it possible to exclude from the workflow? Can I delete it and continue to manage through Pods? What a trick?

+5
source share
1 answer

Since this question still matters to prevent Fabric from starting, you have two options:

1. Stop it after loading the DSYM project files.

Open the run script: Pods / Fabric / run and change:

 eval $DIR$PATH_SEP$UPLOAD_COMMAND > /dev/null 2>&1 & 

To:

 eval $DIR$PATH_SEP$UPLOAD_COMMAND;killall Fabric > /dev/null 2>&1 & 

2. Stop it and load DSYM when building the archives for release:

Check the box "Run the script only during installation" in the "Complex phases" section:

Run script only during installation

+1
source

Source: https://habr.com/ru/post/1245316/


All Articles