Best practice for static library dependencies

后端 未结 3 705
借酒劲吻你
借酒劲吻你 2021-01-31 09:06

I\'m writing a static library that has dependencies on other libraries (in my case SBJSON and ASIHTTPRequest).

If I compile these external dependencies into my library

3条回答
  •  旧时难觅i
    2021-01-31 09:47

    Create a static framework for each library. Document the dependencies in header files.

    [Edit]: I now prefer using Cocoapods. See https://stackoverflow.com/a/10781087/9636

提交回复
热议问题