问题
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.
回答1:
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
After
回答2:
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.
回答3:
even if you never imported any frameworks, something might be produced automatically.
So please make sure your project has never any frameworks in it. If you are not sure, when you export your archive file to .ipa, Xcode will code sign your bundle.
In that list, if you see any framework besides your main app bundle, it occurs.
So let me know the status of your project in the aspect I mentioned above.
Thanks
回答4:
fix! i had the same problem and i fix it. you can export your app (no click on "upload to app store" but "export" in the archive menu) and then use "application loader" to send your app
来源:https://stackoverflow.com/questions/39715647/cant-upload-ipa-from-xcode-8-the-info-plist-indicates-a-ios-app-but-submitt