ios - 将应用上传到应用商店后出错

标签 ios swift app-store

郑重声明,我没有触及下面列出的任何文件,我所做的只是编译,试图通过上传来拉扯我的头发,然后我收到了这个错误消息:

Invalid Swift Support - The files libswiftDarwin.dylib, libswiftMetal.dylib, libswiftCoreAudio.dylib, libswiftQuartzCore.dylib, libswiftos.dylib, libswiftObjectiveC.dylib, libswiftDispatch.dylib, libswiftCoreGraphics.dylib, libswiftCoreData.dylib, libswiftCoreFoundation.dylib, libswiftUIKit.dylib, libswiftCoreMedia.dylib, libswiftCore.dylib, libswiftFoundation.dylib, libswiftXCTest.dylib, libswiftCoreImage.dylib aren’t at the expected location /Payload/BeginerGuideDigFor.app/Frameworks. Move the file to the expected location, rebuild your app using the current public (GM) version of Xcode, and resubmit it.

Once these issues have been corrected, you can then redeliver the corrected binary.

老实说,我什至不知道去哪里

因此,为了回答其中一个问题,根据 apple 告诉我检查我的库的部分,这很好,这是我运行代码的照片 enter image description here

这是我运行的,下面是结果 enter image description here

更新:

SOOOOO 在这一点上我现在混淆了应用程序支持商店,他们无法弄清楚为什么我会收到这个错误,他们一遍又一遍地问我同样的问题,什么版本的 Xcode,什么版本的 Mac OS.. . 仍然没有解决。

最佳答案

您提到了令人毛骨悚然的上传体验。但是除非您涉及构建系统/构建脚本,否则通常该过程只是产品>存档并从窗口>管理器上传(或在从那里导出的 ipa 上使用应用程序加载器)。您是否正在做任何可能破坏 .ipa 的不同事情?

您可以将其导出到 App Store,将 .ipa 文件重命名为 .zip 并解压缩。在 Payload 目录中右键单击您的应用程序,选择显示包内容,然后在您的 Frameworks 目录中查找线索。所有这些文件都应该在那里。您有任何构建阶段脚本可以对框架执行任何操作吗?

更新:

我刚刚在 Apple 开发者论坛上看到了 Apple 对此类问题的回应。顺便说一句,对于这些类型的事情,这是一个很好的资源:

It's likely you have a plain dylib outside of a framework somewhere, which is only supported on macOS. Please review the Troubleshooting section of Tech Note 2435 for more context. If having a bare dylib is indeed the cause of the problem, please file a bug for an error message that clearly explains this.

链接:https://forums.developer.apple.com/message/218019#218019

关于ios - 将应用上传到应用商店后出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46366144/

相关文章:

iphone - UILabel和Appstore规则中的表情符号用法

ios - OpenGL 实时记录不工作。

ios - 从左到右更改导航标题位置

swift - 快速搜索带有圆角半径的栏

ios - Xcode 7.0.1 (7A1001) 调试器 "Unable to read data"

ios - iPhone 应用程序提交 - 拒绝二进制文件并上传新的二进制文件

android - 适用于 Android 和 iOS 的通用 App Store 均可私下访问

iphone - 图像的圆角

objective-c - 使用 NSURLConnection 串行发出异步请求

ios - UIImagePickerController swift 的问题