Reputation: 2329
I have created a custom universal framework by following this tutorial tutorial.
Here My question is how to import a static library .a files into framework.??
Thanks in advance.
Upvotes: 1
Views: 1025
Reputation: 2329
In my custom framework project setup I have added the static library which I have created to link binary with libraries and I have added the static library header files to Aggregate target copy files build phase. thats it builded like charm. and that framework is working fine.
Upvotes: 0
Reputation: 1847
Just drag and drop the .a file into your frameworks folder.
Or you can go to Build Phases -> Link Binary With Libraries -> Click on the '+' sign -> Add Other (bottom left) -> choose your .a and click Add
Make sure to include the header files of your static library in your new project as well.
Upvotes: 1