I have an existing project. I just like to ask if it is possible to convert it to a framework? I have tried searching but I cannot find any tutorial on how to do it.
Solution for iOS7 or previous
If you want to create a framework in iOS7 you can follow this link. It explain how to create a framework starting from a static library.
http://www.raywenderlich.com/65964/create-a-framework-for-ios
Solution for iOS8
With iOS8 is possible to create framework natively. You can find a good video in the WWDC14 website called Building Modern Frameworks (you'll find both videos and pdf).
Cocoapods
From your question is not clear what you need to do with the framework. If you need to share a lib you can give a look to the cocoapods project. You can use it for both public libraries or privates. I'm using it at work for both the scenarios
For iOS I would suggest CocoaPods unless you don't want to distribute the code.
Even in that case you could use CocoaPods. Especially to avoid embedding other third-party libraries or frameworks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With