iOS App being rejected straight after upload - Invalid Image

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Tester2
Posts: 102
Joined: Wed May 18, 2011 7:02 pm

iOS App being rejected straight after upload - Invalid Image

Post by Tester2 » Tue Sep 03, 2013 6:20 pm

I recently submitted an updated version of one of my apps to the App Store.

I was returned an email that included the following error:

"Invalid Image - For iOS applications, icons included in the binary submission must be in the PNG format.

If your application supports the iPhone device family, you must include square icons of the following dimensions: 57x57 pixels and 120x120 pixels.
If your application supports the iPad device family, you must include square icons of the following dimensions: 72x72 pixels, 76x76 pixels and 152x152 pixels
For Mac OS X applications, icons included in the binary submission must be in the ICNS format and must include a square 512x512@2x image."

After rummaging around online, I've found people reporting similar issues and saying that it is due to the new iOS 7 release. Apple is asking developers for larger size even though they don't apply yet.

However, I tried swapping out my LiveCode app icons (in Standalone Settings) with the larger sizes, but received the same result (Binary rejected and error email from Apple).

Help? Is anyone else having the same issue? :?

DRJ-UK
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 73
Joined: Tue Aug 23, 2011 2:50 pm
Contact:

Re: iOS App being rejected straight after upload - Invalid I

Post by DRJ-UK » Wed Sep 04, 2013 12:07 pm

Hi

Apple may have "jumped the gun" with their email. We submitted an App update for iPad on 1 Sept and did not receive the email you refer to.

LC is not yet iOS 7 ready as far as I know. However, as LC generates the icons at build time from those you identify within the iOS settings pane, a possible workaround is to use the copy file pane in LC for the relevant image files. As you will have already identified the 72x72 icon then there are just two extra files needed for iPad. For example, ensure you have created Icon-76.png and Icon-152.png and include these in the copy files pane of LC.

It is important to do this because the App bundle is code signed when built by LC and you cannot include these files afterwards!

Hope this is helpful but other colleagues may have a better suggestion.

Dave
LiveCode: Versions 8.0, 8.1
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory

Creating Apps for educational professionals, effective teaching and learning.

DRJ-UK
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 73
Joined: Tue Aug 23, 2011 2:50 pm
Contact:

Re: iOS App being rejected straight after upload - Invalid I

Post by DRJ-UK » Wed Sep 04, 2013 6:48 pm

Hi

Looking into this issue further, in addition to the icon files there is also a need to include the names of these icon files in the info.plist contained in the App bundle.

Unfortunately I cannot see a way of doing this because LC creates the info.plist file and others at build time. This is also code signed too so you cannot alter post-build. It would seem that my workaround would not do anything more than include the icon images in the bundle. Without editing the plist we are stuck until LC is updated to enable the correct icon sizes when iOS 7 is launched.

There is plenty of background information, albeit draft, in the iOS 7 resources sections (including references to icon sizes, launch images etc) but you have to be signed up as a developer to read these and prepare for the iOS7 launch.

Hope this is helpful.

Dave
LiveCode: Versions 8.0, 8.1
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory

Creating Apps for educational professionals, effective teaching and learning.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: iOS App being rejected straight after upload - Invalid I

Post by jacque » Thu Sep 05, 2013 5:34 pm

I use AppResigner http://www.gorbster.net/blog/archives/273

You can edit the bundle and resign it afterward using this utility.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply