CarthageInputFiles icon indicating copy to clipboard operation
CarthageInputFiles copied to clipboard

You don't have to type framework paths each time when using Carthage

CarthageInputFiles

This command lets you free from setting framework paths every time when using Carthage.

You don't have to write manually $(SRCROOT)/Carthage/Build/iOS/*.framework any more :)

Usage

Add Run Script for Carthage in Xcode.

/usr/local/bin/carthage copy-frameworks

carthage update
carthage-input-files YourXcodeProject.xcodeproj

Installation

  • Clone this repository

git clone https://github.com/ken0nek/CarthageInputFiles.git

or

git clone [email protected]:ken0nek/CarthageInputFiles.git

  • Make

make install

carthage-input-files command will be moved to /usr/local/bin by default

Little tricks

After executing carthage-input-files command, you will see huge diff in project.pbxproj because of format. This problem will be fixed by editing some settings.

For example, click + and then click - :P

Future features

  • [x] Write only new frameworks
  • [x] Select frameworks you want to exclude
  • [x] Specify target
  • [ ] Fix format problem (openStep <-> xml)
  • [ ] Add Run Script for Carthage