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.
brew install lvillani/tap/carthage-copy-frameworks
- Open your target configuration.
- Click on "Build Phases".
- Click on the plus ("+") button.
- Click on "New Run Script Phase"
In the script text field type carthage-copy-frameworks
, as shown in the picture.
Frameworks are copied only once. There are no checks to copy a framework again once it changes. This means that updated dependencies might not be picked up until you perform a clean build.