将应用上传到应用商店后出错 [英] Error after uploading app to the app store

查看:219
本文介绍了将应用上传到应用商店后出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了记录,我没有触摸下面列出的任何文件,我所做的只是编译,尝试通过上传将头发拔出,然后出现此错误消息:

无效的Swift支持-文件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不在预期的位置 /Payload/BeginerGuideDigFor.app/Frameworks.将文件移到 预期的位置,请使用当前的公开(GM)重建您的应用 版本的Xcode,然后重新提交.

这些问题一经纠正,您就可以重新交付 更正的二进制文件.

老实说,我什至不知道该在哪里生

所以回答一个问题,根据苹果告诉我要通过我的库的那一部分说,这是我在运行

这是我运行的结果,下面是结果

更新:

现在,我已经混淆了应用程序支持商店,他们无法弄清楚为什么我会收到此错误,他们一遍又一遍地问我相同的问题,什么版本的Xcode,什么版本的Mac OS.仍然没有解决方案.

解决方案

您提到令人毛骨悚然的上传体验.但是,除非涉及到构建系统/构建脚本,否则通常该过程只是产品">存档",然后从窗口">组织器"上载(或者在从那里导出的ipa上使用Application Loader).您是否正在做任何可能会损坏.ipa的操作?

您可以将其导出到App Store,将.ipa文件重命名为.zip并解压缩.在Payload目录中的应用程序上单击鼠标右键,选择Show Package Contents,然后在Frameworks目录中查找线索.所有这些文件都应该在那里.您是否有可以对Framework进行任何操作的Build Phase脚本?

更新:

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

您可能在某个框架之外的地方有一个普通的dylib, 仅在macOS上受支持.请查看故障排除 技术说明2435中的更多部分.如果有光阴的dylib 确实是问题的原因,请提交错误消息 消息清楚地解释了这一点.

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

For the record I have not touched any of the files listed below, all I did was compile, attempt to pull my hair out by uploading and then I got this error message:

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.

Honestly I wouldn't even know where to beign

So to answer one of the question, according to the part apple told me to go through my libraries are fine here is a pic of me running the code for that

here is what I ran and below that is the result

UPDATE:

SOOOOO at this point I have now confounded the app support store, they cannot figure out why I am getting this error, they have asked me the same questions over and over, what version of Xcode, what version of Mac OS... still no resolution.

解决方案

You mention a hair-pulling upload experience. But unless you have a build system/build scripts involved, normally the process is just Product>Archive and uploading from Window>Organizer (or using the Application Loader on an exported ipa from there). Are you doing anything different that may be corrupting the .ipa?

You might Export it for App Store, rename the .ipa file to .zip and unzip it. Right click on your app in the Payload directory, select Show Package Contents and look in your Frameworks directory for a clue. All of those files should be there. Do you have any Build Phase scripts that do anything with Frameworks?

UPDATE:

I just came across this Apple response to this type of issue in the Apple Developer Forums. That's a great resource for these types of things, by the way:

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.

Link: https://forums.developer.apple.com/message/218019#218019

这篇关于将应用上传到应用商店后出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆