In order to create an iOS Framework you need to click on File -> New -> Project (Shift + Cmd + N) -> Framework (under iOS tab, Framework & Library section). Framework under Framework & Library section.
How to start : Open Xcode tool, start by clicking on new project from top menu bar and then on File. Choose Cocoa Touch Framework Option from the dialog. Choose whatever name you want, here I am using AppColors as it contains all the necessary colors required for the branding of your app.
I have question about creating framework manually from static library (for example LibraryName
). I tested this solution:
LibraryName.framework
LibraryName.framework/Headers
and copied headers from source libraryLibraryName.a
to file LibraryName.framework/LibraryName
and it is working under Xcode. But I have question: is it good way to do it like this ?
--
Regards
Adam
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