/carthage-copy-frameworks

Helper to sign and bundle all frameworks built by Carthage

Primary LanguagePython

carthage-copy-frameworks

PyPI Version PyPI Downloads MIT License

Overview

carthage-copy-frameworks is an helper script that you can use to automatically copy every framework below Carthage/Build/iOS. This way you can avoid the official, error prone, process.

As the name implies, this is meant to be used in iOS development, alongside Carthage.

Installation

If you are on OS X and have Homebrew's Python:

pip install carthage-copy-frameworks

Otherwise:

pip install --user carthage-copy-frameworks

Then make sure to add the local pip's bin directory to the $PATH. Since it is different on each platform, please refer to its documentation.

Otherwise, if you're feeling a badass and want to sudo your way out, then run:

sudo pip install carthage-copy-frameworks

Usage

  1. Open your target configuration.
  2. Click on "Build Phases".
  3. Click on the plus ("+") button.

Step 1


Click on "New Run Script Phase"

Step 2


In the script text field type carthage-copy-frameworks, as shown in the picture.

Step 3

Notes

Frameworks are not copied over and over again. This means that updated dependencies might not be picked up until you perform a clean build.