Hi,
I’ve been struggling with this issue for over a day and no matter what I do I cannot get Apple to accept my app via the Application Loader. I keep getting the dreaded iPhone5 compatibility message. I am using the ultimate config file, I have the Default-568h@2x.png in the same folder as the main.lua, I deleted the build files and the temporary cache files. I read the above link and tried to follow it to the letter. This is my entire config.lua based on this post: http://coronalabs.com/blog/2013/09/10/modernizing-the-config-lua/
--calculate the aspect ratio of the device local aspectRatio = display.pixelHeight / display.pixelWidth application = { content = { width = aspectRatio \> 1.5 and 320 or math.ceil( 480 / aspectRatio ), height = aspectRatio \< 1.5 and 480 or math.ceil( 320 \* aspectRatio ), scale = "letterBox", fps = 60, imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, }
Here is the error:
ERROR ITMS-9000: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image with the -568h size modifier immediately following the &lt;basename&gt; 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 'iOS Human Interface Guidelines' at 'https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple\_ref/doc/uid/TP40006556-CH14-SW5' and the 'iOS App Programming Guide' at 'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple\_ref/doc/uid/TP40007072-CH6-SW12'."
I’ve searched all over the forums and the Internet and nothing has helped. Please advise, I’m at my wit’s end!
Thank you!