Installing application onto iPhone for testing

3 replies [Last post]
ToaTerra
User offline. Last seen 9 weeks 5 days ago. Offline
Joined: 23 Jan 2010

I'm trying to test the Corona build and test process by downloading the "Fishes" sample application to an iPhone. I have not been able to get it to work. I have followed the flow in the DeviceBuildGuide.pdf to no avail. Information:

- I'm using Corona Beta 5
- Target iPhone is OS 3.0
- Have the Developer Certificate installed into KeyChain Access
- Have the Distribution Certificate installed into KeyChain Acess.
- I put the provisioning profiles in the /user/scott/library... directory
- I use the "Open to build..." in Corona and select iPhone and the Fishes directory.
- Inside the build menu, version=1.0, DeviceCompatibility=iPhone, OS Compatibility = iPhone OS 3.0, Code Signing Identify is AdHoc Distribution, Save to folder=/User/Scott/Desktop
- Corona asks for "com.anscamobile.ratatouille" in my keychain - access is granted.
- codesign asks to sign with certificate in keychain - access is granted
- application appears on Desktop.
- Copy application to iTunes. Sync with iPhone. Icon appears. Select icon, blank screen, then the menu comes back.
- Check of the provisioning profile in the iPhone Configuration Utility shows the AdHoc provisioning profile.
- Inside the iPhone Configuration Utility I load the console and get the following error:

Sat Jan 1 22:12:57 unknown kernel[0] : launchd[167] Builtin profile: container (seatbelt)
Sat Jan 1 22:12:57 unknown kernel[0] : launchd[167] Container: /private/var/mobile/Applications/9B476C7F-C562-4246-B310-1ACF652893B8 (seatbelt)
Sat Jan 1 22:12:57 unknown UIKitApplication:Fishies[0xce1d][167] : Could not verify application
Sat Jan 1 22:12:57 unknown com.apple.launchd[1] : (UIKitApplication:Fishies[0xce1d]) Exited with exit code: 1
Sat Jan 1 22:12:57 unknown SpringBoard[23] : Application 'Fishies' exited abnormally with exit status 1

Any help would be appreciated.

Replies

ToaTerra
User offline. Last seen 9 weeks 5 days ago. Offline
Joined: 23 Jan 2010

I got it working.

Eric
User offline. Last seen 1 year 9 weeks ago. Offline
Joined: 23 Jun 2009

Great! What was the problem?

ToaTerra
User offline. Last seen 9 weeks 5 days ago. Offline
Joined: 23 Jan 2010

It turned out to be two problems.

1. The iPhone date was earlier than the provisioning profile start date.

2. Corona, somehow, seemed to cache the provisioning profile. Even though I kept recreating the provisioning profiles on the Apple developer portal, trying different combinations, copying and pasting them to the local drive, Corona never seemed to pick up the new provisioning profiles. Once I power-down the Mac and re-opened Corona, then it picked up the new provisioning profiles and everything was fine.

Enjoy.

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.