Skip to content
/ punic Public

Add third party project sources into your workspace instead of Carthage binary

License

Notifications You must be signed in to change notification settings

phimage/punic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

punic

Swift release

  • 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 workspace

Edit project

punic project

Edit all (workspace+project)

punic

or for specific path

punic --path <your project root path>

work also with subcommands project or workspace

Output verbosity

more output informations

punic --verbose

no output informations

punic --quiet

Install

Download the latest release

release

unzip it and put it in your PATH (ex: /usr/local/bin/ )

From source

swift build

result 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

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

Punic Wars