简体   繁体   中英

iOS Static library - is it possible to include AdSupport.framework in my library?

I'm using objective-c, xcode7.

I've created a static library that uses ASIdentifierManager, included in "AdSupport.framework".

Now when someone wants to use my *.a file, they have to include "AdSupport.framework" in their project as well.

Is it possible to include "AdSupport.framework" in my compiled *.a library so that others will not have to?

No, this is a system library. Include the requirement that they link to it in your integration instructions. If you're supporting a dependency manager like CocoaPods you can define this requirement in the PodSpec so that it is taken care of for them.

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