简体   繁体   中英

How to release an iPhone app that uses an external 3rd party library?

We're using a 3rd party library in our iPhone app and when we build it for Release & Device, we're able to find the application in the expected folder (Release-iphoneos), but we also find the library in that same folder.

When uploading the application, do we have to do anything extra with the external library, or is it by default included in the iPhone application?

We do have it included in the Targets -> Application -> Link Binary With Libraries, but we're not sure if that's enough.

一般的测试是,如果您已经链接了库并将其包含在您的项目中,并且您的应用程序以任何模式(调试或分发)在设备上运行,那么一切都将适用于发布版本。

Check the .app itself! It's just a .zip file that you can open. Change the file ending to .zip and unpack it. You can see if the library is included or not.

[edit:] sorry, i mixed .ipa (which is a combined format for ad-hoc distribution and app-store upload) and the .app
But you can still check that. Use build and archive and export for ad-hoc distribution. (save to file) that will give you an .ipa - if the library is not included in the .app itself, it should be in the .ipa (but I doubt 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