Ad Hoc Deployment Steps? (where is the doco?)

@Ansca - Some questions of clarification here at bottom of my post if you could clarify.

Background:

* Have had quite a time trying to get working a version 2 corona based release to work to my existing app built with a wildcard based App ID - https://developer.coronalabs.com/forum/2012/08/12/bundle-identifier-issue-trying-upload-some-questions-clarification-re-buildsettings

* Now this is solved I needed to do one successful AdHoc deployment test to my device to feel comfortable to allow it to be released - alas I have also had problems - have done some digging and what I have found is…

FINDINGS SO FAR:

Approach 1

  • Build in corona using an AdHoc Device Provisioning Profile
  • Load this into XCode Organizer
  • Deploy to my device using XCode Organizer (where it replaced my Xcode developed V1)
    ==> Errors occurred when trying to launch the app here - getting launchd Error posix_spawn Permission denied

Approach 2

Q2 - Why is it that the small amount of packaging to a *.ipa is what is required to make the ad hoc deployment testing work?

Q3 - Is there a simpler way to do it that I’ve missed?

[import]uid: 140210 topic_id: 29900 reply_id: 329900[/import]

These links should help:

http://developer.coronalabs.com/content/building-devices-iphoneipad
http://developer.coronalabs.com/forum/2012/01/10/ios-walkthrough-testing-device-0

[import]uid: 110228 topic_id: 29900 reply_id: 119977[/import]

oh oh - I can’t believe it - was just about to publish & when I did a last AdHoc deployment test to my device (using above-mentioned documented approach that had been working) I am now getting:

“a signed resource has been added modified or deleted”

I’m getting this when I add the IPA app package in XCode Organizer to applications on the device. Normally this was working fine.

How can I fix?
* I’ve tried recreating my application adhoc provisioning profile and redownloading this but this does not help
[import]uid: 140210 topic_id: 29900 reply_id: 120164[/import]

PS. Downloaded the latest daily build too however this didn’t help. I wonder which “signed resource” they referring to? [import]uid: 140210 topic_id: 29900 reply_id: 120167[/import]

Update: So now I can:

(A) Upload (but not release yet) my production app to the app store (goes to ready for review)

But before releasing I need to be assured that my existing V1 (Xcode based) based app can be updated to my V2 (corona based) ok - hence my desire to have a successful adhoc deployment. So therefore re AdHoc testing:

(B) If I delete the current V1 app I can do a successful V2 ad hoc deployment (I actually now drag the app across onto the Xcode Organizer window area)

but what the issue I have is

© Can NOT successfully deploy V2 on top of V1. It deploys it but when I click on the icon to load the application on the device (e.g. iPhone) it crashes. Error log details:

com.apple.launchd[1] <error>: (UIKitApplication:my.domain.myapp[0xf9aa]) posix_spawn("/var/mobile/Applications/C0EA1E4E-553E-AAAA-A650-BBBBBBBBBB/my.domain.myapp", ...): Permission denied<br>

Any ideas?

[import]uid: 140210 topic_id: 29900 reply_id: 120170[/import]

have raised Case 16688 to cover this (can’t think of anything else I can really do) [import]uid: 140210 topic_id: 29900 reply_id: 120173[/import]

Update - I have discovered that this error was caused by using the *.app file to deploy to my device as opposed to an *.IPA (packaged *.app file). So the *.app file deployed fine when I did not have my previous V1 app on my device which was confusing.
[import]uid: 140210 topic_id: 29900 reply_id: 120218[/import]

These links should help:

http://developer.coronalabs.com/content/building-devices-iphoneipad
http://developer.coronalabs.com/forum/2012/01/10/ios-walkthrough-testing-device-0

[import]uid: 110228 topic_id: 29900 reply_id: 119977[/import]

oh oh - I can’t believe it - was just about to publish & when I did a last AdHoc deployment test to my device (using above-mentioned documented approach that had been working) I am now getting:

“a signed resource has been added modified or deleted”

I’m getting this when I add the IPA app package in XCode Organizer to applications on the device. Normally this was working fine.

How can I fix?
* I’ve tried recreating my application adhoc provisioning profile and redownloading this but this does not help
[import]uid: 140210 topic_id: 29900 reply_id: 120164[/import]

PS. Downloaded the latest daily build too however this didn’t help. I wonder which “signed resource” they referring to? [import]uid: 140210 topic_id: 29900 reply_id: 120167[/import]

Update: So now I can:

(A) Upload (but not release yet) my production app to the app store (goes to ready for review)

But before releasing I need to be assured that my existing V1 (Xcode based) based app can be updated to my V2 (corona based) ok - hence my desire to have a successful adhoc deployment. So therefore re AdHoc testing:

(B) If I delete the current V1 app I can do a successful V2 ad hoc deployment (I actually now drag the app across onto the Xcode Organizer window area)

but what the issue I have is

© Can NOT successfully deploy V2 on top of V1. It deploys it but when I click on the icon to load the application on the device (e.g. iPhone) it crashes. Error log details:

com.apple.launchd[1] <error>: (UIKitApplication:my.domain.myapp[0xf9aa]) posix_spawn("/var/mobile/Applications/C0EA1E4E-553E-AAAA-A650-BBBBBBBBBB/my.domain.myapp", ...): Permission denied<br>

Any ideas?

[import]uid: 140210 topic_id: 29900 reply_id: 120170[/import]

have raised Case 16688 to cover this (can’t think of anything else I can really do) [import]uid: 140210 topic_id: 29900 reply_id: 120173[/import]

Update - I have discovered that this error was caused by using the *.app file to deploy to my device as opposed to an *.IPA (packaged *.app file). So the *.app file deployed fine when I did not have my previous V1 app on my device which was confusing.
[import]uid: 140210 topic_id: 29900 reply_id: 120218[/import]