iOS SDK 11 error when using PhoneGap Build - ios

When submitting an app to the app store I get the following error from Apple:
The app previews and screenshots for the iPhone 5.8-Inch display won’t appear on the App Store because your binary wasn’t built with the iOS 11 SDK.
It's a normal app compiled with PhoneGap Build. Anyone know why this is happening? Is it because PhoneGap Build does not use iOS 11?

PhoneGap Build does support iOS 11 (I just had an app approved a week ago). I'm not sure exactly what would cause this, but here's a few things to check that I recently updated to:
Use the latest version of PG Build, which will support iOS 11 (my best guess for the cause of your issue):
< preference name="phonegap-version" value="cli-7.0.1" />
If that doesn't fix it, switch over to the CLI project structure format.

Related

All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, but our iOS SDK is already of version 15.2

I have found similar questions in this and this articles, but neither can solve my problem.
The message given by Apple Store Connect was also "ITMS-90725: SDK Version Issue - This app was built with the iOS 14.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, included in Xcode 13 or later."
However, I have checked that I am using xcode 13.2.1 which works with iOS 15.2 SDK, running on macOS Big Sur 11.6.4 (well.... a 2015 iMac, kind of old though). I believe it is capable of building a project with iOS 15.2 SDK, but I just can't find where I shall tune (if necessary) to avoid it keeping using iOS 14.4 SDK to build my project. Could you please help me solve the issue? Thank you very much!!
The figures below show the environment I mentioned above:
Looks like you have multiple Xcodes installed, please make sure you have selected the correct version for your Command Line Tools
I found that it was an embarrassing reason which caused the problem I raised above. I think I am responsible for showing what was going on to all who have read this post, and especially to those who had paused to think about this issue.
In short, Xcode 13.2.1 does build the app using iOS 15.2 SDK.
I was able to successfully archive, verify in Xcode, and uploaded the binary to app store connect. However, I was not familiar with the app store connect and did not aware that there was another binary built with iOS 14.4 SDK which was left by my predecessor.
Though I tried several times rebuild and re-upload, I kept falsely submitting the old binary to Apple's reviewer.
That's it, and no bug or secret about Xcode using older version of iOS SDK to build apps, it is just not true. Xcode does build using its latest SDK. Again my apologies to those who also worried about this issue.

Make .ipa for iPhone, not iPad using PhoneGap Build

I'm trying to submit an iPhone-only app to the store. I'm building using PhoneGap Build.
I found this SO question (from 2013): Phonegap targeting only iPhone (not iPad)? saying to use <preference name="target-device" value="handset" /> but it's not working. The .ipa file continues to declare support for iPad
It appears to be a known issue: https://github.com/phonegap/build/issues/504
I'm wondering if anyone else has had to deal with this recently? And if there are any workarounds. Any tricks?
I've started the submission process anyway, but have had the app rejected a couple of times so far for iPad related style/sizing issues. I'm going to try and pick through the issues as a back up plan, but I don't need to support iPad so I'd like to just submit a iPhone only version
Note: I can't build without PhoneGap build at the moment. I need to upgrade my Mac OS to get the newer xcode to compile using Cordova on my machine. I'm in Vietnam right now, with terrible internet, and can't do it at the moment.
Fixed in GitHub issue 504 https://github.com/phonegap/build/issues/504
I've tested this and it's good.

HTML5 iPad app not working on iPad1

I recently developed a phonegap HTML5 app and it is working fine on my iPad 2's and android devices. When I install the app onto my iPad 1's the app installs, the icon disappears, then after rebooting the icon is back and looks as if it is installed.
I can launch the app, and the splash screen is displayed, then the app just closes.
Here are my deployment settings - I'm quite new to this, so if there are any relevant settings you need to know about, let me know and I'll update my post.
Phonegap version: 3.6.0-0.21.19
iPad 1 running iOS 5.1.1
I create project and build via phonegap commandline, but package with xcode then use diawi to distribute to my iPads.
Cordova, which Phonegap is based on dropped iOS 5 support with version 3.5.0
You can read the blog post here: http://cordova.apache.org/announcements/2014/05/23/cordova-350.html
So it's likely that the code is reaching some iOS 6 commands and then crashing. I'm afraid, you'll either have to revert to an older version of Phonegap or buy a newer test device.
I would not recommend rolling back to an older version of Phonegap because, from February, Apple will require all apps submitted to include 64-bit support (See here: https://developer.apple.com/news/?id=10202014a), I believe this something that Cordova 3.5.0 introduced.
As for the disappearing/reappearing of the App icon. I used to see that if the bundle identifier given in the .plist file associated with the download was different to the one in the actual app info.plist. I've not used diawi though, so I can't help you beyond that I'm afraid.

Error delivering iOS App update. "This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK."

I reticently delivered an app to the iOS App store on 1/24/2014. It's an iO7/iPhone only app and everything was delivered correctly. As of yesterday my app was approved and it is currently visible in the App Store.
I put together a small update and am currently working on getting it delivered using Application Loader.
However, now when I upload my production IPA it gets rejected due to what seems like a sdk error.
Messages:
Apple's web service operation was not successful
Unable to authenticate the package: 806906410.itmsp
ERROR ITMS-9000: "This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
I'm struggling to figure out what has changed since I am building with the same SDK as I did last weekend.
From the February 1st you can use only XCode 5.X and iOS7 SDK to create apps for the AppStore. Double check that you compiled your app with the correct XCode/SDK.
Information about this: https://developer.apple.com/news/?id=12172013a
I was hoping your suggestion works but I got the error despite using Air 4.0 SDK. I didn't get this error when I uploaded it to the App Store a few days ago (I was already using Air 4.0 then). Does it really mean that Apple has limited development to using Xcode?
EDIT:
Updating to Air 4.0 SDK does work! But make sure what you have is Air 4.0 SDK for Flex Developers
For Flex users with the same error message: you have to download the AIR 4.0 SDK beta from Adobe Lab:
http://labs.adobe.com/downloads/air.html
(for me, it was SDK for Flex, Mac)
Then extract it (sudo tar jxvf air4-0_sdk_sa_mac.tbz2) and overlay it with the Flex SDK as explain in:
http://www.247sw.ca/installing-flash-builder-4-7-and-air-3-5-for-windows-and-mac
Publishing to the AppStore is OK after that.
I was facing the same issue, i updated the Air 4.0 SDK, and it works fine! Make sure to update Air 4.0 SDK for Flex Developers. Please set xmlns="http://ns.adobe.com/air/application/14.0" inside --app.xml configuration file.
You can download the latest sdk from http://labs.adobe.com/downloads/air.html.
I ran into the same issue, however in my case, the reason was because I had the latest Xcode beta for iOS 8 on my computer. Event I built from Xcode 5.1.1 GUI, the beta compiler was picked. Had to move beta to trash first to make a build for the store.

Configuring an iOS 7 application that is compatible with iOS 6

I have an iOS 6 application that I had created, but not published, at the time when iOS 7 came out and so I went ahead and updated it to work with iOS 7. And now that I've published the appstore has the following text in the compatibility section for the application:
Requires iOS 6.1 or later. Compatible with iPhone, iPad, and iPad touch.
Now my problem is that when trying to install it from the store, onto a device running iOS 6.1, I get prompted to get iOS 7 if I want to continue. Downloading and installing onto a device running iOS 7 works.
Running on a simulator with iOS 6.1 works perfectly as well.
Has Apple started forcing a os upgrade or have I missed some configuration in Xcode?
Here is what I have (and believe is relevant) in Xcode:
Valid architectures: arm64 armv7 armv7s
Base SDK: Lates iOS(iOS 7.0) // I get no other choice
iOS Deployment Target iOS 6.1
All help would be appreciated in finding out what is going on here.
UPDATE 1 (25. October):
I've sent a message through the iTunesConnect portal and gotten a response. I've been asked to point all users having this problem to contact customer support, or contact developer technical support through the appdev portal on Apple's webpage. I've done the latter, and will update when I get a response.
Are you linking to a library that is only compiled to iOS 7 that may be the issue ? Although Xcode usually gives you errors for things like that.

Resources