PhoneGap iOS Publishing, what am I doing wrong?

Ideas and discussion about publishing and distributing your games

Post » Fri Nov 07, 2014 12:48 pm

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:

Screen Shot 2014-11-06 at 10.26.10 PM.png
You do not have the required permissions to view the files attached to this post.
Image
MIKE ASCHENBRENNER | RCMADIAX
Twitter/Instagram/Vine: @RCMADIAX
B
35
S
7
G
4
Posts: 186
Reputation: 4,574

Post » Sun Nov 09, 2014 4:48 am

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.
B
18
S
5
G
1
Posts: 41
Reputation: 1,966

Post » Mon Nov 17, 2014 3:02 pm

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
Image
MIKE ASCHENBRENNER | RCMADIAX
Twitter/Instagram/Vine: @RCMADIAX
B
35
S
7
G
4
Posts: 186
Reputation: 4,574

Post » Thu Nov 27, 2014 12:24 pm

@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.
B
5
Posts: 11
Reputation: 356

Post » Sun Dec 21, 2014 4:24 pm

@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.
You do not have the required permissions to view the files attached to this post.
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Sun Dec 21, 2014 8:54 pm

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.
iosPhoneGap-splashAndIcons.PNG


Modify your config.xml (in the directory where your exported game is) to match these values for icons and splashes:
Code: Select all
<?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="[email protected]">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>
You do not have the required permissions to view the files attached to this post.
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Mon Dec 22, 2014 9:54 am

@OneMuppet Really useful info, thank you.
B
24
S
7
G
1
Posts: 186
Reputation: 2,716

Post » Fri Dec 02, 2016 2:52 pm

@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!
Image
Version 1.1.0 - Available for: Web - iOS - Android
B
16
S
3
Posts: 46
Reputation: 1,038

Post » Fri Dec 09, 2016 2:53 pm

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.
B
2
Posts: 5
Reputation: 160


Return to Distribution and Publishing

Who is online

Users browsing this forum: No registered users and 1 guest