punic
- Add dependencies sources project introduced by Carthage into your Xcode workspace.
- Remove copy framework build phrase from Xcode project and embed frameworks instead.
Why?
To remove the usage of binary frameworks introduced by Carthage and to go back to developpement with sources.
Usage
For current path
Edit workspace
punic workspaceEdit project
punic projectEdit all (workspace+project)
punicor for specific path
punic --path <your project root path>work also with subcommands project or workspace
Output verbosity
more output informations
punic --verboseno output informations
punic --quietInstall
Download the latest release
unzip it and put it in your PATH (ex: /usr/local/bin/ )
From source
swift buildresult in .build/debug/punic, could be copied in your PATH (ex: /usr/local/bin/ )
Output sample
➕ group:Carthage/Checkouts/Alamofire/Alamofire.xcodeproj
➕ group:Carthage/Checkouts/Moya/Moya.xcodeproj
➕ group:Carthage/Checkouts/Prephirences/Prephirences.xcodeproj
💾 Workspace saved
⚙️ Build script phrase Copy Frameworks removed
🔍 FRAMEWORK_SEARCH_PATHS edited for configuration Debug
🔍 FRAMEWORK_SEARCH_PATHS edited for configuration Release
📦 Alamofire.framework path changed to BUILT_PRODUCTS_DIR
📦 Moya.framework path changed to BUILT_PRODUCTS_DIR
📦 Prephirences.framework path changed to BUILT_PRODUCTS_DIR
🚀 Embed framework Alamofire.framework with ref 005DF40092F000CBE4009994
🚀 Embed framework Moya.framework with ref 00E1C5002541000E0000FF11
🚀 Embed framework Prephirences.framework with ref 0005CC00CB4000780B00588C
💾 Project saved
Dependencies
- ArgumentParser for parsing command line arguments.
- FileKit for file browsing.
- AEXML for XML parsing and modifying.
- XcodeProjKit for Xcode project parsing and modifying.
Why this project is named punic?
The ancient city was destroyed by the Roman Republic in the Third Punic War in 146 BC and then re-developed as Roman Carthage @Wikipedia