Posts

Showing posts with the label cocoapods

xcode how to develop with frameworks

Thanks for spending time reading my question. I've been working as an iOS developer for more than 2 years and today I still feel shame because I don't know how to deal with frameworks. I've build some projects using my own frameworks, but I've never understood exactly what's the best practice doing this. Lets see the following example: Project -> FrameworkA -> AFNetworking - Charts - FMDB - more So, I have a big FrameworkA with mostly all the app behavior and then a small project referencing this FrameworkA and customizing just icons, texts and images. I use to manage dependencies with CocoaPods and I would like to use it with FrameworkA. By this I could reference external libraries easily, but it seems it doesn't work for frameworks, only for projects. So, my questions is: how can I add AFNetworking, Charts, FMDB, etc to my FrameworkA and then reference the framework form my project? I appreciate if you can give me some idea using CocoaPods or any other d...