iPhone 5 Optimization Requirement

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jorgecaballero
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 32
Joined: Mon Nov 26, 2012 6:07 pm

iPhone 5 Optimization Requirement

Post by jorgecaballero » Fri Oct 25, 2013 12:39 am

My APP is not published in Apstore, my stack size is 640x960 also to be compatible with the iphone 4.

I use MAC and xcode 5 --- Livecode 6.1.2

What I have to do,,, this is the error that sent me:

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 <basename> 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

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

Re: iPhone 5 Optimization Requirement

Post by DRJ-UK » Fri Oct 25, 2013 10:34 am

The Apple review guidelines make it very clear about what is required for iPhone Apps. The challenge is creating all the required elements in LC to cater for this.

We have just had our latest version of an iPhone App approved and this caters for the iPhone 3GS, iPhone 4 and iPhone 5 and is compatible with iOS 5, iOS 6 and iOS 7. The App also runs in the iPhone emulator mode on the iPad. There are different ways to achieve this but we used multiple stacks using a script in openStack of the main stack to point to the correct substack:
  • • One substack for the iPhone 3GS (320x460)
  • • Two substacks for iPhone 4 (640x920 and 640x960)
  • • Two substacks for iPhone 5 (640x1096 and 640x1136)
Two substacks for iPhone 4 and iPhone 5 were needed as the App needed to be compatible with iOS 6 and iOS 7. This is because Apple made changes to the way the status bar is displayed between iOS 6 and iOS 7. We also included all the required splash screen sizes and icons for iPhone, Hi-Res iPhone and iOS 7 Hi-Res iPhone using on the iOS pane of the Applications Settings in LC. The App was built using LC 6.1.2 and Xcode 5 on Mac OSX.

The resolution independence feature in the forthcoming LC 6.5 will be a tremendous help for developers in catering for all the different screen sizes and retina/non-retina displays on iOS and also Android.

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.

Post Reply