Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop Fabric from running

I've went through documentation: http://support.crashlytics.com It doesn't seem to question the purpose of the app, so I will ask here :)

I have Fabric integrated in my app. As per installation process, I've installed Fabric app on the Mac I am working on.

Now, from time to time, I have Fabric app that keeps opening, which I personally find very annoying. It's too much for a 3rd party service (even for a great one as Fabric Analytics).

In the build steps in Xcode I've found a script, but doesn't seem that it does the thing:

#!/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 Fabric App is really for? Can it be excluded from the workflow? Can I actually erase it and continue the management through Pods? What's the trick behind it?

like image 893
Dumoko Avatar asked Mar 18 '16 13:03

Dumoko


People also ask

What stops fabric from bleeding?

Use a Color Fixative: Treat your fabrics with a color fixative. I use Retayne or Rit Dye Fixative as they reduce color bleeding in fabrics where the dye has not been properly fixed or washed out. These dye fixatives can "fix" these loose dyes and prevent further color bleeding in your fabrics.

How do you fix color bleeding on clothes?

How do I remove color bleeding stains from clothes? You can remove color bleeding stains by dissolving oxygen bleach in hot water and then allowing the mixture to cool down. Add the garment and soak it for 15 minutes and then rinse. The stain should be gone.

Does salt stop clothes from running?

Similarly, salt allows the fibers to absorb the dye during the dying process but it does not prevent the dye from running or crocking after it has set. Although it wouldn't hurt to do these two, you would only be wasting your effort and resources as it does not really step up to the job.

How do you make fabric colorfast?

How to Colorfast Your Clothes. Thoroughly clean a large mixing bowl or cleaning bucket, and then fill it with one gallon of fresh, clean water. Add one-fourth cup table salt and one cup vinegar. The vinegar and salt work together to naturally lock the color into the fabric.


1 Answers

Because this question is still relevant, to prevent Fabric from launching, you got two options:

1. Stop it after uploading your project’s DSYM file.

Open up 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 only upload DSYM when archiving builds for release:

Check the “Run script only when installing” option under Build Phases:

Run script only when installing

like image 57
Radu Ursache Avatar answered Sep 29 '22 07:09

Radu Ursache