无法从Xcode 8上传.ipa,"info.plist表示iOS应用,但提交了pkg或mpkg." [英] Can't Upload .ipa from Xcode 8, "The info.plist indicates a iOS app, but submitting a pkg or mpkg."

查看:59
本文介绍了无法从Xcode 8上传.ipa,"info.plist表示iOS应用,但提交了pkg或mpkg."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试提交我的应用.它以Swift 3编写,具有iOS 10部署目标.因此,我需要使用Xcode8.创建存档时,一切正常.我什至查看了.ipa文件,一切似乎都很好.

I am trying to submit my app. It is written in swift 3 and has an iOS 10 deployment target. So, I need to use Xcode 8. When I create an archive everything goes fine. I have even looked into the .ipa and everything seems fine.

但是,每次出现此错误时: info.plist表示一个iOS应用,但正在提交pkg或mpkg.

But, every time I get this error: The info.plist indicates a iOS app, but submitting a pkg or mpkg.

不知道发生了什么.我没有使用任何框架.没有cocoapods.非常简单的应用.

No idea what's going on. I'm not using any frameworks. No cocoapods. Very simple app.

尚无此信息.我已向Apple提出了支持请求,因此我们将查看是否提供任何新信息.我不是唯一遇到此错误的人.

Still no information on this. I have made a support request with Apple so we will see if that provides any new info. I can't be the only person experiencing this bug.

推荐答案

更新:请参见Peter的答案.据他介绍,LSMinimumSystemVersion键(最低系统版本")已过时,应删除.如果这对您有用,请改为回答他的答案,因为如果可行的话,那将是比这个更好的解决方案.

Update: See Peter's answer. According to him, the LSMinimumSystemVersion key ("Minimum system version") is obsolete and should be removed. If that works for you, upvote his answer instead as that would be a better solution than this if it works.

原始答案:

在更新非常旧的应用程序时遇到了此问题.我可以通过更改Info.plist来解决此问题.

I was encountering this issue when updating a very old app. I was able to fix it by changing my Info.plist.

我必须将LSMinimumSystemVersion键(最低系统版本")更改为MinimumOSVersion("MinimumOSVersion").

I had to change the LSMinimumSystemVersion key ("Minimum system version") to MinimumOSVersion ("MinimumOSVersion").

之前

之后

这篇关于无法从Xcode 8上传.ipa,"info.plist表示iOS应用,但提交了pkg或mpkg."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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