如何发布使用外部第3方库的iPhone应用程序?

发布于 2024-10-06 15:37:27 字数 226 浏览 0 评论 0原文

我们在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

裂开嘴轻声笑有多痛 2024-10-13 15:37:27

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

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.

禾厶谷欠 2024-10-13 15:37:27

检查 .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...)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文