iOS build, app cannot be executed

Hello sorry for possibly being naive, but I don’t understand how to finalize iOS build for my application. I did build for simulator (also for device) through the SDK and got an .app icon on my desktop. When I try to launch it through double click, a system popup tells me that it “can’t be executed on this type of mac” (the original message is in Italian, I don’t know how it exactly sounds in english). The app icon itself is masked by a “forbidden” sign (see attachment).

After reading Corona requirements, looks like I’m up to date enough to run the process. Here are my versions:

  • Corona SDK 2014.2393

  • XCode 5.1.1

  • OS X 8.5.0

What am I missing? Thanks for helping!

Pietro

Corona SDK does not produce OS X apps.  It only produces iOS apps.  You can either use Xcode’s Organizer to copy the file to your iPhone or iPad for device testing (assuming you built it with a Developer or AdHoc provisioning profile.  If you built with a distribution profile for the store, then you have to use Application Loader to deliver it to iTunes Connect (of course you have to set everything else up to prepare for the upload).

In short, Corona SDK does not produce an app that you can run on your Mac.

Rob

Dear Rob thanks for your prompt answer. Of course I was not aiming at running the app inside OS X. But I cannot phantom how to run it in the device. I have used a dev provisioning profile with app ID and device ID paired. When I open X Code Organizer I see my device but I can’t load the app in it. Same with iTunes. I keep dragging the “forbidden” icon everywhere but nothing happens.

Same with building for the Simulator. How do I launch it?

I reckon this has little to do with Corona (which I find delightful), it’s my problem with Apple rituals. Any help would be deeply appreciated. Thanks!

pb

I think I solved the problem with device. I had not inserted my DEV account in OS X. XCode asked me for a dev account/team (or whatever) when I clicked “Use for development” in the Organizer device tab. Now it installs properly on device.

Corona SDK does not produce OS X apps.  It only produces iOS apps.  You can either use Xcode’s Organizer to copy the file to your iPhone or iPad for device testing (assuming you built it with a Developer or AdHoc provisioning profile.  If you built with a distribution profile for the store, then you have to use Application Loader to deliver it to iTunes Connect (of course you have to set everything else up to prepare for the upload).

In short, Corona SDK does not produce an app that you can run on your Mac.

Rob

Dear Rob thanks for your prompt answer. Of course I was not aiming at running the app inside OS X. But I cannot phantom how to run it in the device. I have used a dev provisioning profile with app ID and device ID paired. When I open X Code Organizer I see my device but I can’t load the app in it. Same with iTunes. I keep dragging the “forbidden” icon everywhere but nothing happens.

Same with building for the Simulator. How do I launch it?

I reckon this has little to do with Corona (which I find delightful), it’s my problem with Apple rituals. Any help would be deeply appreciated. Thanks!

pb

I think I solved the problem with device. I had not inserted my DEV account in OS X. XCode asked me for a dev account/team (or whatever) when I clicked “Use for development” in the Organizer device tab. Now it installs properly on device.