[PhoneGap Build] iPhone 5 Support; armv6 update

  • 1
  • Announcement
  • Updated 8 years ago
Hi guys,

We've belatedly added support for iPhone 5 apps to PhoneGap Build apps. Now any apps you build targeting PhoneGap 2.0.0 or above will run in full height on iPhone 5's. You can add custom full-height splash screens to your config.xml as follows:


<gap:splash src="res/screen/ios/screen-iphone-5-portrait-2x.png" gap:platform="ios" width="640" height="1136" />


We have, in this process, upgraded our build servers from Xcode 4.3 to Xcode 4.5 (to support the latest devices). Xcode 4.5 does not support armv6 architectures - this includes the iPhone 3G and the 1st and 2nd generation iPod Touches. We're working on backporting a fix to support these devices - however, we felt it was more important to get iPhone 5 support out as soon as possible.

We will be working over the next week to restore armv6 support for older releases of PhoneGap - builds using PhoneGap 2.0 or above will only support armv7.

Cheers,
Andrew
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes

Posted 8 years ago

  • 1
Photo of Ruth

Ruth

  • 28 Posts
  • 0 Reply Likes
Tried again today with the new key signing process....same errors. Please help!
Photo of answeb

answeb

  • 18 Posts
  • 0 Reply Likes
same here... I'm stuck with this app, i cannot finish my project and the client cannot have his app on the market, please help !
ps : is there another way to get rid of this armv6 requirement ?
Photo of RupA

RupA

  • 25 Posts
  • 0 Reply Likes
So can anyone say where we are. Andrew?

I am suffering the same problem today. I got the message about armv6 being missing when using the application loader to upload my ipa file to iTunes Connect. I did my build using the PhoneGap web interface. I also got the same messages as Ruth about icon.png dimensions being (0,0) for iphone and ipad. This is not true as my icon is 72x72.

However, there has been a slight change in error messages when I have used Phonegap 2.2.0. Now I no longer get the message about mssing armv6. However I do still get the messages about the icon.png being (0,0) despite this definitely not being the case.

My app only uses basic html and javascript. Presumably, all people using the Phone Gap web interface for compiling an app to submit to Apple app store must not be succeeding, right? Surely it is everyone suffering this, not just the 10 people posting on this thread?

Anybody know of a way out of the problem?
Photo of Marco del Gatto

Marco del Gatto

  • 2 Posts
  • 0 Reply Likes
Sure there's one solution: building with XCode.....

We eventually left off the web build service because there's no workaround: it's broken.

I'm wondering if you at Phonegap have realized that your service is no longer working, and that's really a pity because it was a very good one.

Marco.
Photo of RupA

RupA

  • 25 Posts
  • 0 Reply Likes
.. well it's my first time using the Phone Build web interface service and I thought it was a really good idea. The web interface service is certainly one that I would pay for as well, I don't know how others feel on that. But have we got a definitive word on whether it is broken?
Photo of answeb

answeb

  • 18 Posts
  • 0 Reply Likes
Same here, sure we are ready to pay for it, as long as it works ... If this interface lets us skip the "Get a Mac" step, why not !
Photo of RupA

RupA

  • 25 Posts
  • 0 Reply Likes
My update as follows. Ruth - have u tried updating the applications loader? I googled and this is recommended. I have Snow Leopard and updated the Applications Loader to 2.5.1 (235).

With PhoneGap Build 2.2.0 I no longer get the error about armv6. My app is 166510 and is html/javascript. And with the Applications Loader now updated to 2.5.1, I get the following new error. If my icon is 72px x 72px, I get the error

"iPhone/iPod Touch: the icon dimensions (72 x 72) don't meet the size requirements. The icon file must be 57 x 57 pixels in .png format"

if i go change the icon to be 57px x 57px and rebuild with PhoneGap build, predictably I get the error.....

"iPad: icon.png: the icon dimensions (57 x 57) don't meet the size requirements. The icon file must be 72 x 72 pixels in .png format"

Surely a bug, anybody got any ideas?
Photo of Ruth

Ruth

  • 28 Posts
  • 0 Reply Likes
SO EXCITED! I was able to upload my app to the app store. Thanks, RupA, for the suggestion to upgrade Application Loader. I downloaded version 2.5.1 this morning and even the icon messages went away.
Photo of answeb

answeb

  • 18 Posts
  • 0 Reply Likes
Sorry, I'm on snow leopard, and it seems that it can run on 10.7 only. Is there another (recent) version for the application loader on 10.6 ?

thanks
Photo of RupA

RupA

  • 25 Posts
  • 0 Reply Likes
Ruth - Very pleased for you!! :) Do let us know if Apple accepts the app. Just before you pour yourself a well deserved xmas glass of mulled wine, I don't suppose you could do me a small favour..... I am still getting the error on icons, don't spose u cud share with me your config.xml, please do remove any info u don't want anybody to see.

answeb - if u have snow leopard then u can get application downloader 2.5.1. Make sure your Snow Leopard is upgraded to 10.6.8 and then install the application downloader. I have Snow Leopard 10.6.8 and I was able to install Application Loader 2.5.1 just fine.
Photo of answeb

answeb

  • 18 Posts
  • 0 Reply Likes
YES ! I managed to find an "older" version by testing various versions of the download link : https://itunesconnect.apple.com/applo...

This one runs on 10.6, and it is UPLOADING ! I hope everything will go well. big kudos to Rupa for suggesting that ! I never imagined such obvious message (missing armv6 support) would mean to update the loader...

I'll keep you informed
Photo of answeb

answeb

  • 18 Posts
  • 0 Reply Likes
It has been submitted !
Photo of RupA

RupA

  • 25 Posts
  • 0 Reply Likes
I'm still having problems with icon messages :( if you used a config.xml do you mind posting it here (with any info you want deleted out). Want to see if I am missing something. Thanks. Pleased for you!!!
Photo of RupA

RupA

  • 25 Posts
  • 0 Reply Likes
Got mine working now and uploaded to App Store. This was by doing my own config.xml. I copy and paste this below and give a link for. So anybody experiencing the same problems as I had on this thread, here is the two point plan to resolve them that worked for me (incidentally I do not yet know if Apple is going to accept my app yet, it is in the review stage.)

The 2 point plan.....

1) Upgrade your Application Loader (if using application uploader) to version 2.5.1.

2) Do not use the web interface to fill in your settings at Phone Gap Build (i.e. icon, app title, package, version, configuration). Instead make your own config.xml (which gets uploaded with your source to PhoneGap Build). Details on how you do this are given in the Docs section of the PhoneGap Build website ( title of doc is using config.xml).

Anyway, you can download my config.xml here. You will need to change the starred out info.

http://www.elearning-mobile.co.uk/pho...

And here is the actual contents of that xml file copied and pasted here

******

****************

********

<!-- Icons -->

<!-- Splash Screens -->
Photo of RupA

RupA

  • 25 Posts
  • 0 Reply Likes
That copy and paste above ^^^ of the config.xml clearly didn't work, so you will need to use my link, which is here. That config.zip is my config.xml zipped.

http://www.elearning-mobile.co.uk/pho...

Anyway, hope this helps someone who got stuck like me.
Photo of Ruth

Ruth

  • 28 Posts
  • 0 Reply Likes
Unfortunately we won't know for several weeks if the app is accepted. My most recent experience with iOS apps has been that it takes 2 weeks for review and now that itunes connect is shut down for a week from 12/21 to 12/28, I am sure this will add another week.

But I will post here either way. It is great to have such diligent people supporting each other.
Photo of RupA

RupA

  • 25 Posts
  • 0 Reply Likes
Yes, I agree with Ruth. I think we should all - myself, answeb and Ruth post back here as to whether our ios apps have been accepted or not. By doing so, we can easily work out whether any rejection is down to PhoneGap Build or whether it is our actual programming.
Photo of answeb

answeb

  • 18 Posts
  • 0 Reply Likes
yes no problem, i'll post back the apple answer to my submission... fingers are crossed !
Photo of answeb

answeb

  • 18 Posts
  • 0 Reply Likes
My app has been accepted, it is now live ! Thank you all for your help.

Also thank you all phonegap developpers !

https://itunes.apple.com/us/app/abeil...
Photo of Daniel Cook

Daniel Cook

  • 3 Posts
  • 0 Reply Likes
Upgrading application loader worked for me too! Compiling with PhoneGap Build with PhoneGap version 2.2.0 (latest at time of writing). You do need to create config.xml yourself and specify the various icon sizes (google "PhoneGap config.xml" for the relevant docs).

Using Mac OS X Lion 10.7 (which I am doing via a VM Ware virtual machine cos I don't have a mac), you need to use Xcode Version 4.1 and then go to Apple Logo > Software Updates to download the latest version of Application Loader (currently 2.8 at time of writing)
Photo of Ruth

Ruth

  • 28 Posts
  • 0 Reply Likes
My app was just approved! Yes!!! Thank you everyone for your diligence in figuring this out. I was pretty frustrated for awhile.
Photo of RupA

RupA

  • 25 Posts
  • 0 Reply Likes
Mine has been accepted too. This has been eclipsed though by my latest problem. PhoneGap Build only accepts zip files that are 9.5mb or less. That's way too small for tablet development.