Skip to main content
Participating Frequently
September 28, 2012
Answered

Build for iPhone5 and AppStore

  • September 28, 2012
  • 4 replies
  • 37862 views

Trying today deploy build into AppStore.

Package using AIR 3.5 (with AIR 3.4 and IOS 6 SDK have problem too)

Add launch screen for iPhone 5 and other devices.

From iTunesConnect got error:

Invalid Launch Image - You app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.

Compared with the valid build and found differences in Info.plist:

DTPlatformVersion: 5.1(in my) and 6.0(in valid)

DTSDKName: iphoneos5.1(in my) iphoneos6.0(in valid)

I think this is Bug in AIR packager.

How I can change this values?

P.S. Trying unzip ipa, change plist, resign app, zip and deploy - got error "Invalid entitlements". But I can't find Entitlements.plist in my package. Maybe someone know how I can export it from app?

This topic has been closed for replies.
Correct answer vabhatia

Yes my Mac is running OS X Mountain Lion, and yes the "

export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"fixed the problem for codesigning.

Followed all the steps, everything worked fine, tested on devices they ran perfectly, but when I tried to upload it with Application Loader,  errors occured :

1. Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate.

2. Unable to extract entitlements from application: /var/folders/dd/btl6d1m91cs4hspjg6jlcj2h0000gn/T/myappname.ipa/Payload/myappname.app/myappname

Have you try to upload your app to Apple using Application Loader and worked?


Please find attached the adt.jar that fixes the upload issue. Try uploading your app using this adt.jar and let us know the results.     

4 replies

Participating Frequently
July 9, 2013

I got the error Non-PIE Binary but my app was approved anyway.

https://itunes.apple.com/us/app/the-light-benders/id667239652?ls=1&mt=8

Inspiring
October 7, 2012

I had your same problem. I successfully uploaded my app to the AppStore on Sep 22, it got approved on Oct 2. I included the Default-568h@2x.png file so my app takes up the entire screen for iPhone5. I published using Air 3.2 through Flash Pro cs6. After my app got approved i updated my Xcode on my Mac just because. Yesterday I tried to update my app with some minor fixes. Nothing changed during my process but my apps binary got rejected just minutes after upload for the same reason "Invalid Launch Image". I'm pretty sure it had to do with me updating Xcode because it was the only thing different. I never use Xcode, infact I do all my work on a PC and use the Mac to upload. That being said I know Application Loader (the tool to upload your app) relies on your version of Xcode installed. Like Colin pointed out, AIr and the new iOS sdk aren't playing nice with each other. I downloaded Air 3.5 and the adt.jar from here and compiled through the commandline and the good news is the app update passed through and is now in the "Waiting for review" queu.

Participant
September 28, 2012

We have the same problem.

Even after adding the -platformsdk params to ADT, pointing to the iPhoneOS6 folder, it still doesnt work.

Please help, we can't submit a critical update for our apps

Colin Holgate
Inspiring
September 28, 2012

I'm seeing reports of the same issue with non-Flash tools. I think there is some combination that we're all missing, that has nothing to do with what tool was used to make the app.

iBr3nt
Inspiring
September 28, 2012

I've found that submitting apps on Friday is the worst time for Apple's

servers. For the past 4 weeks I've tried submitting new apps on Friday,

and either the iTunes connect website is too slow, or strange errors are

reported when uploading through Application Loader. I'd try again

tomorrow, or any other day besides Friday.

iBrent

Participating Frequently
September 28, 2012

I confirm the issue - just received the same maessage from iTunes Store. Packeged with AIR 3.5.

Colin Holgate
Inspiring
September 28, 2012

Did you receive the message from the Application Loader, or when it went into review after 8 days of waiting? Does your Mac have Xcode 4.5 installed?

Participating Frequently
September 28, 2012

No, this message comes in about 5-10 minutes after the application is uploaded.

And no, Xcode 4.5 was not installed. I will try to update it now and will report if it helps.