TestFlight 构建时出现错误:您的应用程序引用的一个或多个动态库不存在于 dylib 搜索路径中
我最近一直在尝试克服在将构建上传到 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:
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:
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里的解决方案是禁用位码
The solution here is to disable bitcode