Carthage
If your not using Carthage, I would like to suggest that you take a few minutes to have a look. IMHO it’s the best dependency manager available in the iOS world. I use it in all of my projects.
Add this to your Cartfile:
github "drekka/alchemic" > 2.0
Then run either the bootstrap or update carthage commands to download Alchemic and it’s dependencies into the <project-dir>/Carthage/Checkouts/ directory and then build them as iOS frameworks into the <project-dir>/Carthage/Build/iOS/ directory.
Once built, You can add following frameworks into your project the same way you would add any other external framework.
Framework | Description |
---|---|
Alchemic.framework | This is the Objective-C core of Alchemic. It’s required for both Swift and Objective-C projects. |
AlchemicSwift.framework | ONLY required for Swift projects. It provides Swift wrappers for parts of Alchemic that are difficult to access otherwise. |
Storyteller.framework | Story Teller is a alternative logging framework I designed along side Alchemic. It’s main claim to find is that it enables more expressive logging rules than your traditional frameworks. |
PEGKit.framework | Used by StoryTeller to parse logging expressions. |
Note: You will need to ensure that all of these frameworks are added to your project and copied to the Frameworks directory in your app using the carthage copy-frameworks
command. Please see the carthage documentation on copying frameworks for details.