简体   繁体   中英

how to make static library link against frameworks needed automatically in xcode

I have a static library base on MapKit.framework CoreLocation.framework etc.

I want to distribute the static library to other developers, to make it easy, I hope to find a method to eliminate the process of linking against frameworks in developers project.

I know there are some people achieve this.

If you can read chinese, you can refer to

http://dev.umeng.com/releasenote/releasenote_ana_ios.html

简化SDK集成,一句代码集成友盟SDK([MobClick startWithAppkey:]),不再需要手动link framework

There is no way to do this as of Xcode 4.5.2. A static library cannot specify its dynamic library dependencies. Only a dynamic library can do that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM