TestFlight 构建时出现错误:您的应用程序引用的一个或多个动态库不存在于 dylib 搜索路径中

发布于 2025-01-12 21:19:10 字数 1709 浏览 1 评论 0原文

我最近一直在尝试克服在将构建上传到 TestFlight 时收到的电子邮件中提到的问题:

ITMS-90562: Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path.

我通过 Cocoapods 添加了 Google Admob(这是我在 Cocoapods 中唯一的库),并且我通过 SPM 添加了其他几个库:

在此处输入图像描述

在此处输入图像描述

我还尝试验证为其生成的 IPA收到可怕的电子邮件Xcode 说它是有效的 IPA。

我还尝试查看 https://medium.com/360learning-engineering/resolving-itms-90562-invalid-bundle-email-from-the-app-store-d4a1030418e5 以及我使用 @rpath 如下,但我这里遇到的问题是,由于我使用 Cocoapods 和 SPM,所以没有框架文件夹:

@rpath/FBLPromises.framework/FBLPromises (compatibility version 1.0.0, current version 1.0.0)
@rpath/GoogleUtilities.framework/GoogleUtilities (compatibility version 1.0.0, current version 1.0.0)
@rpath/nanopb.framework/nanopb (compatibility version 1.0.0, current version 1.0.0)
@rpath/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 5.6.0, weak)

这是文件夹的内容:

在此处输入图像描述

我还尝试将这些带有 @rpath 的库添加到 Link binary with templates但我仍然收到电子邮件。

我现在完全陷入困境,因为我不知道我还能在这里做什么,也不知道如何解决这个问题,所以非常感谢任何帮助!

提前致谢!

I've been recently trying to overcome the problem mentioned in the email I receive when I upload a build to TestFlight:

ITMS-90562: Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path.

I have added Google Admob via Cocoapods (it's the only library I have in Cocoapods) and I have several other libraries added via SPM:

enter image description here

enter image description here

I have also tried to validate the IPA generated for which I receive the dreadful email and Xcode says that it's a valid IPA.

I have also tried looking at https://medium.com/360learning-engineering/resolving-itms-90562-invalid-bundle-email-from-the-app-store-d4a1030418e5 and the frameworks that I get with the @rpath are the following, but the problem I have here is that since I'm using Cocoapods and SPM, there's no Frameworks folder:

@rpath/FBLPromises.framework/FBLPromises (compatibility version 1.0.0, current version 1.0.0)
@rpath/GoogleUtilities.framework/GoogleUtilities (compatibility version 1.0.0, current version 1.0.0)
@rpath/nanopb.framework/nanopb (compatibility version 1.0.0, current version 1.0.0)
@rpath/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 5.6.0, weak)

This is the content of the folder:

enter image description here

I have also tried to add those libraries with the @rpath to the Link binary with libraries but I'm still getting the email.

I'm at this point completely stuck since I don't know what else I can do here, nor how to fix this, so any help is very much appreciated!

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

森罗 2025-01-19 21:19:10

这里的解决方案是禁用位码

The solution here is to disable bitcode

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