Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't Upload .ipa from Xcode 8, "The info.plist indicates a iOS app, but submitting a pkg or mpkg."

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.

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

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

Edit: 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.

like image 746
Joel Klabo Avatar asked Sep 27 '16 03:09

Joel Klabo


People also ask

Can I upload IPA from Windows?

No. Unfortunately, you need a Mac machine to do this.


2 Answers

In Xcode 8.3, you should delete the Minimum system version (LSMinimumSystemVersion) entry from your info.plist. You do not need to rename it. If your app is that old, you may find other superfluous or conflicting keys as well. Another common one is the main nib file key, which conflicts with a main storyboard key.

like image 82
Peter DeWeese Avatar answered Oct 30 '22 11:10

Peter DeWeese


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.


Original Answer:

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

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

Before

Before

After

enter image description here

like image 30
Devin McKaskle Avatar answered Oct 30 '22 09:10

Devin McKaskle