0 Favourites

PhoneGap iOS Publishing, what am I doing wrong?

  • Hello all,

    This is the first time I have tried to export and publish a project outside of Wii U. I set everything up on Apple's developer portal, downloaded all my signing keys and got everything working in Phonegap. When I go to upload my project to iTunes Connect via the Application Loader tool, I get several error messages regarding the icons and a 64-bit warning. Any ideas on how I edit these? I can't seem to open the file in XCode to edit them. Also, how do I change the launch screen from the Phonegap default?

    Sorry for all the questions, like I said, this is the first time I am exporting a project to something other than Wii U.

    Thanks in advance for your help.

    -Mike

    P.S. Here are the error messages I get in the Application Loader Tool:

    [attachment=0:3pw037j8][/attachment:3pw037j8]

  • you need to setup phongap properly and download all the require file , there you will find icon and launcher folder and can change the image.

  • Actually I found the solution. The XML that C2 spits out is missing most of the required icon tags that the App Loader looks for and will continue to give you an error unless you include those files and the tags that link to them.

    Just an FYI, Ashley might want to update it if he can so the end user doesn't have to do so much code editing.

    -Mike

  • Ashley I think that phonegap Build site was updated, now the build log throws me some errors and the app cant even install on the devices.

  • Nutzaboutpoker can you please post all the required things you added to your config.xml, it would be helpful for the rest of us and probably good for Ashley as well, when trying to modify the generated config.xml.

    @Ashley, I've attached a screen dump of the errors I get when trying to publishing through Application Loader.

  • pew* It took me the better part of this day and close to 40 tries using Application Loader before I finally got my app submitted, so to anyone not wanting to spend their day googling and trial and erroring here you go.

    Create a lot of icons and splash screens in different sizes and add them to your construct 2 project under "Files". See my config.xml below to find out exactly with dimensions are required.

    [attachment=0:1z0mef6q][/attachment:1z0mef6q]

    Modify your config.xml (in the directory where your exported game is) to match these values for icons and splashes:

    <?xml version="1.0" encoding="UTF-8"?>
    <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="se.onemuppet.draw" version="1.0.0">
    
      <name>myDraw</name>
      <description>Drawing</description>
      <author href="http://onemuppet.se/" email="borgenvik.david@gmail.com">David Borgenvik</author>
    
      <preference name="permissions" value="none"/>
      <preference name="android-targetSdkVersion" value="21" />
    
      <feature name="http://api.phonegap.com/1.0/network"/>
    
      <preference name="orientation" value="landscape" />
      <preference name="fullscreen" value="true" />
      <gap:config-file platform="ios" parent="UIStatusBarHidden">
        <true/>
      </gap:config-file>
      <gap:config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance">
        <false/>
      </gap:config-file>
    
      <preference name="deployment-target" value="8.0" />
      <preference name="android-minSdkVersion" value="14" />
      <preference name="target-device" value="universal" />
    
      <!-- iPhone / iPod Touch  -->
      <icon src="icon-57.png" gap:platform="ios" width="57" height="57" />
      <icon src="icon-60.png" gap:platform="ios" width="60" height="60" />
      <icon src="icon-120.png" gap:platform="ios" width="120" height="120" />
      <icon src="icon-114.png" gap:platform="ios" width="114" height="114" />
    
      <!-- iPad -->
      <icon src="icon-72.png" gap:platform="ios" width="72" height="72" />
      <icon src="icon-144.png" gap:platform="ios" width="144" height="144" />
      <icon src="icon-76.png" gap:platform="ios" width="76" height="76" />
      <icon src="icon-152.png" gap:platform="ios" width="152" height="152" />
    
      <!-- Settings Icon -->
      <icon src="icon-29.png" gap:platform="ios" width="29" height="29" />
      <icon src="icon-58.png" gap:platform="ios" width="58" height="58" />
      <icon src="icon-50.png" gap:platform="ios" width="50" height="50" />
      <icon src="icon-100.png" gap:platform="ios" width="100" height="100" />
    
      <!-- Spotlight Icon -->
      <icon src="icon-40.png" gap:platform="ios" width="40" height="40" />
      <icon src="icon-80.png" gap:platform="ios" width="80" height="80" />
      
      <!-- Optional splash screen image, e.g.: -->
      <gap:splash src="splash480.png" gap:platform="ios" width="480" height="320" />
      <gap:splash src="splash320x480.png" gap:platform="ios" width="320" height="480" />
      
      <gap:splash src="splash960.png" gap:platform="ios" width="960" height="640" />
      <gap:splash src="splash640x960.png" gap:platform="ios" width="640" height="960" />
      
      <gap:splash src="splash_iphone5.png" gap:platform="ios" width="1136" height="640" />
      <gap:splash src="splash640x1136.png" gap:platform="ios" width="640" height="1136" />
      
      <gap:splash src="splash.png" gap:platform="ios" width="1024" height="768" />
      <gap:splash src="splash768x1024.png" gap:platform="ios" width="768" height="1024" />
      
      <gap:splash src="splash568.png" gap:platform="ios" width="568" height="320" />
      <gap:splash src="splash320.png" gap:platform="ios" width="320" height="568" />
      
      <gap:splash src="splash1334.png" gap:platform="ios" width="1334" height="750" />
      <gap:splash src="splash750x1334.png" gap:platform="ios" width="750" height="1334" />
      
      <gap:splash src="splash2208.png" gap:platform="ios" width="2208" height="1242" />
      <gap:splash src="splash1242x2208.png" gap:platform="ios" width="1242" height="2208" />
      
      <gap:splash src="splash2048x1536.png" gap:platform="ios" width="2048" height="1536" />
      <gap:splash src="splash1536x2048.png" gap:platform="ios" width="1536" height="2048" />
    
    </widget>[/code:1z0mef6q]
  • OneMuppet Really useful info, thank you.

  • OneMuppet I also had the same issue... Some icon specific sizes (actually ones for iPhone/iPod, and iPad) that were missing. Thanks a lot for the solution!

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • This guide contains everything you need to know to distribute an app through the App Store, Apple TV App Store, or Mac App Store.

    Get step-by-step guidance for enrolling in the Apple Developer Program and building, testing, and submitting your app.

    Configure services that are available only to apps submitted to the store.

    Test your app on multiple devices and system versions, or offer testers a preview of your next release.

    Upload metadata about your app so the store can present it to customers.

    Verify that you’ve prepared your app correctly, upload the build and submit it to the store.

    Learn how to release and maintain your app after submission.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
145 19,373
guero's avatar
guero
Unread hot topic
80 10,065
jonathanbencomo's avatar
jonathanbencomo
Unread hot topic
99 10,158
karshinkoff's avatar
karshinkoff