Copy link to clipboard
Copied
Hi!
I have problem with publishing air (SDK 3.8) iOs Flash CS6 application for iPhone 5.
I have created app with classic texts, png images with actual size (is PPI required to be 72, or can it be anything), add png -icons and launch picture named "Default-568h@2x.png". Tests with Flash goes right and navigation seems to be working. Flash publish ipa but application only gives white screen and crashs.
What can be wrong?
Copy link to clipboard
Copied
Hi,
Could you please share the crash log and a sample appliation if possible. This will help us to debug the problem. Also, please share the ios version of your device.
Regards,
Nimit
Copy link to clipboard
Copied
Hi!
Crash log looks like this:
2.2
We found that your app exhibited one or more bugs, when reviewed on iPad running iOS 6.1.3, on both Wi-Fi and cellular networks, which is not in compliance with the App Store Review Guidelines.
App only displays a blank white screen after launch
Please see the attached screenshot/s for more information.
That mentioned iPad is Apples test device.
I'm wonderin, can problem be resolution of images? Must launch picture and apps pictures be ppi72 ?
Or.. is solution at rendering? Should rendering mode be CPU?
Copy link to clipboard
Copied
we have the same problem and same feedback from apple. and our app is rejected .
on ipad ios 6.1.4 our app is not working.
we publish only for iphone but still on ipads our app is not working ipad ios 6.1.4. and there is a guidline on apple 2.10 iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
i think there is problem with adobe air 3.8 beta. adobe help us.
Copy link to clipboard
Copied
Any ideas? I'm totally stuck with this problem.
Copy link to clipboard
Copied
Likely you're hitting some API on iOS that is causing your app to crash on frame 1.
For example, trying to access shared directories that work on Android/Windows, would throw an error when ran on iOS.
First step is to hook up the debugger, launch the app, and you'll get a stack trace.
Copy link to clipboard
Copied
Hi!
I'm still wonderin. App is realy simple "from frame to frame". It doesn't require any access. You were right that it runs perfect with Android, but not with iOS.
I have also edited AS3 settings: text layouts default linkage is changed from RSL to "Merged into code".
Frame 1 code is like this:
stop();
bt1.addEventListener(MouseEvent.CLICK, buttonClick10);
function buttonClick10(event:MouseEvent):void{
gotoAndStop(2);
}
bt2.addEventListener(MouseEvent.CLICK, buttonClick11);
function buttonClick11(event:MouseEvent):void{
gotoAndStop(3);
}
bt3.addEventListener(MouseEvent.CLICK, buttonClick12);
function buttonClick12(event:MouseEvent):void{
gotoAndStop(4);
}
bt4.addEventListener(MouseEvent.CLICK, buttonClick13);
function buttonClick13(event:MouseEvent):void{
gotoAndStop(5);
}
//scroll texts
var where:Number = 250;
var stageHeight:Number = 900;
function dragOn(e:MouseEvent):void{
var howLong:Number = e.currentTarget.height;
//Rectangle(x,y,width, height);
var longRec:Rectangle = new Rectangle(65, stageHeight-howLong, 0, howLong-stageHeight+where);
e.currentTarget.startDrag(false, longRec);
}
function dragOff(e:MouseEvent):void{
e.currentTarget.stopDrag();
}
Copy link to clipboard
Copied
Can you not get a debug session going? There's no point in guessing, your #1 priority should be to get the debugger connecting to the device, that should reveal all
Copy link to clipboard
Copied
Also, remember that any static classes/members you've included in your app will initialize on frame 1 as well.
Copy link to clipboard
Copied
For some reason I can't run/ (or use/read) debugger. With device doesn't work (of course), but with simulators debugger site doesn't give any report to output box.
I have tried export movie with "Permit debugger" from publish settings and then launch debugger (as3) and after that tried launch swf-movie. Simulator start working, app works fine. There is list "scene/symbol" "layer" and "frame", and there is several lines, but I simply can't read what those means?
Copy link to clipboard
Copied
Something what I should test?
Those things are made f.ex.:
- rendered with cpu
- text is classic
- try to use debugger.. and it totally was only trying.
Copy link to clipboard
Copied
after 1 months of research and a phone call with Melody on App Review Team at Apple, we change publish settings to cpu rendering. and that's all
and our app is ready for sale on itunes.