Help: iOS build won't load onto test device

Hello all,
I am in desperate need of help, and I’ve been searching the web for answers but can’t find any.
The issue: When building for iOS, the app fails to install properly.

What DOES work:
-Runs in corona simulator fine
-Build is successful
-Build runs in Xcode simulator fine

What DOESN’T work:
copying/installing the app to a test device fails partially. It gets as far as displaying the App Icon on the device, and I can tap it to open (it does nothing and crashes). The corona console throws me this error when copying to device: “Installing ‘Strategy.app’ on [Device Name] …
ERROR: timed out copying to device: [Device Name] ([Device ID]). Try reconnecting it.”

When attempting to install the app from Xcode, it simply tells me it was unable to install. I can’t find any error codes or details. I followed all of the steps here regarding provisioning profiles, certificates, etc. Any ideas on where I can start to figure out what is going wrong??

I suspect that it is a provisioning issue. This has happened to me before. Try installing it with xCode while the console is open. Then comb through the logs (usually I search for the name of the app). You will find the error there.

I have a similar problem and did what you have said here.

The strange thing is I was testing the game on device two days ago and without doing any changes on my settings, other than coding the game code I now can not install the build to my testdevice. (iOS)
I have the same configuration and an active provisioning profile and the device on developer mode. Nothing has changed here, but the installation of the game is stopping with an error 75% into the install on the device (I can follow the install process, seeing the install circle).

The error I get is this (in parts!):

...
<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } -->

UserInfo={NSUnderlyingError=0x6000038a0810 {Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.mnGUGN/extracted/NAMEOFAPP.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)" UserInfo={FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=78, LibMISErrorNumber=-402620395, NSLocalizedDescription=Failed to verify code signature of /var/installd/Library/Caches/
...

Any help welcome because I can not test this right now!

FIXED! See next post!

1 Like

UPDATE:

I have found my issue. I had activated a line using GAME CENTER… and Game Center was NOT added to the profile yet. This stopped the game fully installing on the test device… even when running in the simulator (XCode).

1 Like