Can't Upload .ipa from Xcode 8, The info.plist indicates a iOS app, but submitting a pkg or mpkg.
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
Can't upload .ipa from Xcode 11 - The Info.plist indicates an iOS app, but submitting a pkg or mpkg
This issue commonly caused by LSMinimumSystemVersion. You should remove it from the Info.plist inside of your app. That value is for macOS only.
If that's not the case, then just create a new dummy Xcode project and compare its Info.plist to the one in your project. So, you can notice something unusual.
Xcode 8: app submission validation error with pkg or mpkg for an iOS app archive
So I found someone posted a similar question to mine with this same problem and it was answered there. I have up voted that answer as it works and am cross-linking it here for others Must use MinimumOSVersion in info.plist
Best action though is to delete this from the info.plist, this should not be added manually for an iOS app.
The Info.plist indicates a Mac app, but submitting an ipa when submitting with Application Loader
I was having the same issue... it seems to be a problem with Application Loader 3.6.
Download a previous version of Application Loader and it should work (tested with Application Loader 3.5 that is included with xCode 7.3.1).
Archive in xcode 6 is producing a pkg, not ipa
Add LSRequiresIPhoneOS
YES
to your Info.plist
The key can be found as Application requires iPhone environment
Uploading flutter app to AppStore gives App.framework does not support the minimum OS Version specified in the Info.plist
I am able to solve this by specifying minimumOsVersion in myApp.app/Frameworks/App.framework
's info.plist file (Please make sure that it is not the global info.plist file it is generated after creating the build)
Related Topics
How to Use The Delegates with Nskeyedunarchiver
Which Optimization Level Should I Choose for Release
Swift Display Image UIimageview
Ambiguous Reference to Member 'Buildblock()'
Struct Memberwise Initialization - Omitting Values for Properties That Have Defaults
Sbdata Is Wrong When Sbvalue Comes from a Swift Dictionary
Swift Making Copies of Passed Class Instances
How to Change The Data Type in Realm Database
Difference Between Userdefaults() and Userdefaults.Standard
How to Override Setter in Swift
Wait for Download Task to Finish in Nsurlsession
Naming Convention for Private Properties
Swift Combine How Set<Anycancellable> Works
Enum of String Type Vs Struct with Static Constant
Convert/Wrap Swift Struct as Nsvalue for Caanimation Purposes