11

I have question about creating framework manually from static library (for example LibraryName). I tested this solution:

  • created folder LibraryName.framework
  • created subfolder LibraryName.framework/Headers and copied headers from source library
  • renamed LibraryName.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

Regexident
  • 29,441
  • 10
  • 93
  • 100
Adam Popławski
  • 345
  • 1
  • 3
  • 13

1 Answers1

3

Yes, this is fine. You can even link the static library against its dependencies and create a dynamic library. Both solutions will work.