iPhone & iPad builds output invalid .app file

I have XCode installed. I can create iTunes applications successfully with XCode and other 3rd party tools. However, with Corona it produces a file, but the icon indicates that its not valid and when I attempt to install it, it is unrecognized as an iOS application.

Below is a link to a zip file that contains the output of a simple hello world project I created. The project works in simulation mode. All my certificates are valid and work with XCode and other 3rd party tools.

http://www.flashextensions.com/clients/corona/HelloWorld.zip

Thanks,

Rob [import]uid: 11051 topic_id: 3484 reply_id: 303484[/import]

I believe I had a similar issue as you, where installing the .app to the device, the icon is just white, and launching it basically crashes immediately?

If so, my solution was to reinstall Xcode using the default directory. I had previously installed it to a custom directory, but Corona requires it to be in xcode’s default install directory.

[import]uid: 8541 topic_id: 3484 reply_id: 10468[/import]

I had just reinstalled a clean copy of Xcode prior to this issue to see if that would fix the problem. I have never installed Xcode to a custom directory. It produces a file, as you can see. I doubt Corona could even create a file if it couldn’t find Xcode. The icon that is shown on the desktop has a () “no sign” on the icon. That for me is a first tell that the file that is produced is invalid. If you right click on the app I have posted and either view show package contents or get info. Unfortunately I do not know what I should be evaluating to discover the problem.

Rob [import]uid: 11051 topic_id: 3484 reply_id: 10483[/import]

How are you trying to install the app?

All of my apps generated by Corona have the “no sign” icon and double-clicking on them won’t work (the “no” icon simply lets you know it’s not an OSX application), but I usually just drag them onto the Apps section of my iTunes and from there to my iPad or iPod (or go the XCode-Organizer route).

– Walt Sterdan [import]uid: 4329 topic_id: 3484 reply_id: 10643[/import]

I am using the iPhone Configuration Utility (Apple’s iOS dev tool), which will not allow me to install the application. However, per your suggestion, I tried just dragging into iTunes and that did work. Much appreciated. I would suggest to Ansca Mobile that they fix the output to fix the problems mentioned above, as they make the output files generated appear to be broken.

Thanks, wsterdan.

Rob [import]uid: 11051 topic_id: 3484 reply_id: 10644[/import]

Here is a further note on the issue…

I am building for the iPad. If build a Corona application for iPhone, it installs, no problems. When i build it for the iPad, says invalid certificate sometimes. I rebuilt the same app 2 more times and without changing anything, it finally installed.

I also just built a “Hello, world” app using Xcode, Titanium, and AirPlay for the iPad. No problems. With the Corona application, when i try to sync it fails about half the time.

Not too impressive. [import]uid: 11051 topic_id: 3484 reply_id: 10648[/import]