3
votes

I have .a files of all Architecture i.e. arm64, armv7,armv7s.

Now i want to build a Framework from all static library how to do that? now i have Universal .a file and headers how to convert into framework?

1

1 Answers

4
votes

A static framework on iOS is basically a folder structure.

You could use command line tools (basically a script) to "create" the folder structure suitable for a framework after xCode has finished compiling the Library.

You would need to add "Run Script Build Phase" and add all the necessary commands.

Have a look at this tutorial: https://www.raywenderlich.com/65964/create-a-framework-for-ios