如何发布使用外部第3方库的iPhone应用程序?
我们在 iPhone 应用程序中使用第 3 方库,当我们为发布和构建它时,我们会使用第三方库。设备,我们能够在预期的文件夹 (Release-iphoneos) 中找到该应用程序,但我们也在同一文件夹中找到该库。
上传应用程序时,我们是否需要对外部库做任何额外的事情,或者它默认包含在iPhone应用程序中?
我们确实将其包含在目标中 ->应用->将二进制与库链接起来,但我们不确定这是否足够。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一般测试是,如果您已链接该库并将其包含在您的项目中,并且您的应用程序以任何模式(调试或分发)在设备上运行,那么发布版本的一切都会很好。
The general test is, if you've linked the library and included it in your project, and your app runs on a Device in any mode (Debug or Distribution), then all will be well for the release build.
检查 .app 本身!它只是一个您可以打开的 .zip 文件。将文件结尾更改为 .zip 并解压。您可以查看该库是否包含在内。
[编辑:] 抱歉,我混合了 .ipa (这是临时分发和应用商店上传的组合格式)和 .app
但你仍然可以检查一下。使用构建、存档和导出进行临时分发。 (保存到文件)这将为您提供一个 .ipa - 如果该库未包含在 .app 本身中,它应该位于 .ipa 中(但我怀疑......)
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...)