Phone Gap – appstore refuses my deployment

| | August 6, 2015

I am new to ios developments, and got stuck when trying to deploy to app store. I just get the same message each time.

What I have made is a very simple javascript applications that is build with phonegap. Phonegap compiles it and I have tried to setup the config.xml file, with the following splash screens.

<gap:splash src="splash/ios/Default.png" width="320" height="480" />
<gap:splash src="splash/ios/Default_at_2x.png" width="640" height="960" />
<gap:splash src="splash/ios/Default_iphone5.png" width="640" height="1136" />
<gap:splash src="splash/ios/Default-Landscape.png" width="1024" height="768" />
<gap:splash src="splash/ios/Default-Portrait.png" width="768" height="1024" />
<gap:splash src="splash/ios/Default-Landscape_at_2x.png" width="2048" height="1496" />
<gap:splash src="splash/ios/Default-Portrait_at_2x.png" width="1536" height="2008" />

And iconsetup like this

<icon src="res/icon/ios/icon-57.png"            gap:platform="ios"        width="57" height="57" />
<icon src="res/icon/ios/icon-72.png"            gap:platform="ios"        width="72" height="72" />
<icon src="res/icon/ios/icon-57-2x.png"         gap:platform="ios"        width="114" height="114" />
<icon src="res/icon/ios/icon-72-2x.png"         gap:platform="ios"        width="144" height="144" />

The reponse I get from AppStore is as following:

Dear developer,

We have discovered one or more issues with your recent delivery for “AutoAkademiet”. To process your delivery, the following issues must be corrected:

iPhone 5 Optimization Requirement – Your binary is not optimized for iPhone 5. New iPhone apps and app updates submitted targeting iOS 6 and above must support the 4-inch display on iPhone 5 and must include a launch image with the -568h size modifier immediately following the portion of the launch image’s filename. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the iOS Human Interface Guidelines and iOS App Programming Guide.

Once these issues have been corrected, go to the Version Details page and click “Ready to Upload Binary.” Continue through the submission process until the app status is “Waiting for Upload.” You can then deliver the corrected binary.


The App Store team

Anyone knows what I have done wrong here? And how may I fix this minor issue with phonegap?

2 Responses to “Phone Gap – appstore refuses my deployment”

  1. I had a similar problem.

    It was just an oversight of adding the actual file (…/Default_iphone5.png) to the
    git repository which PhoneGap Build pulls from.

    Double-check that the file Default_iphone5.png is actually
    there (in github), including the parent directories splash and ios,
    double-check the file size, and that it’s a png.

    Also, add gap:platform="ios" to your XML element. For example:

    <gap:splash src="splash/ios/Default_iphone5.png" gap:platform="ios" width="640" height="1136" />
  2. The message is quite explicit.

    Rename your splash/ios/Default_iphone5.png image to splash/ios/Default-568h@2x.png

Leave a Reply