Help with installation errors with an ad hoc build via TestFlight, MacInCloud

I created an ad hoc build from my GameSalad project, and released it via TestFlight while logged into MacInCloud. When I try to install it on my iPhone, I'm getting errors in my iPhone log as well as an error popup on my iPhone saying that my app couldn't be installed -- try again later.

I did the following:
- In the Apple developer portal: Created an app ID (using the same name as my app, and naming my bundle com..; registered my iPhone
- On MacInCloud (I don't have my own Mac): Generated a CSR file with the same email address, name as in the Apple developer portal.
- In Apple developer portal: Created an ad hoc distribution certificate (and installed the intermediate signing certificate on MacInCloud), and created a distribution provisional profile
- On MacInCloud: Installed the certificate and profile
- In GameSalad: Created a universal build, and signed it with the distribution provisional profile on MacInCloud
- Create a Payload directory, downloaded my GameSalad build, saved it to the Payload directory, zipped the Payload file and changed the extension to .ipa
- Ensured my iPhone was registered in TestFlightApp
- Uploaded the Payload.ipa file to TestFlightApp
- Installed the build on my phone via TestFlightApp.com, and got an error

A few of the errors in my device log include (parts in <<>> omitted):
- lsd[224] : _LICreateIconDataForAppContainerWithIconsDictionary ERROR: unable to create bundle for "<<bundle>>" from URL: <<filepath>>
- SpringBoard[34] : Killing <<bundle>> for app installation
- : 0x397000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for <<path to Payload file>>/<<myapp>>.app/<<app name>>: 0xe8008017
- : 0x397000 do_preflight_verification: Could not verify executable at <<path to Payload file>>/<<myapp>>.app
- : 0x397000 install_application: Could not preflight application install
- : 0x1bc5000 MobileInstallationInstallForLaunchServices: failed with -1
- : ERROR: MobileInstallationInstallForLaunchServices returned nil
-: LaunchServices: installation failed for app <<bundle>>
- : LaunchServices: installPhaseFinishedForProgress: <<bundle>>.Installing - called, removing progress from cache
- : 0x397000 handle_install_for_ls: API failed

Any help would be greatly, greatly appreciated. It would be a shame to not be able to release my app after working so hard on it. I'm also in touch with TestFlightApp, but wanted to ping the GameSalad community as well.

Thank you in advance.

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    You need to use a development profile not a distribution profile.
  • micpricemicprice Member, PRO Posts: 4
    Thanks FryingBaconStudios. I installed a development certificate on MacInCloud, confirmed that the certificate was installed in Keychain, installed my development provisioning profile from Apple, and picked the development provisioning profile to sign my GameSalad universal build. After uploading to TestFlight, I got a warning that I need to have the developer feature enabled on my iPhone.

    I'm not clear on if I have this enabled or not (from what I understand, it involves rebuilding the phone and enabling the beta ios?). But after I attempted to install my app on my iPhone, I unfortunately got the same error message -- that the application couldn't be installed at this time.

    I tried to install other App Store apps just to make sure that I could install apps. I have more than 1-2 GB free, and my app file size is 45-50 MB.

    I'd definitely appreciate any more insights into what could be happening. This is my first time doing this, and my gut tells me it's something simple that I'm missing.

    Thanks again in advance.
  • micpricemicprice Member, PRO Posts: 4
    Just wanted to leave a follow-up. I got it to install :)) I switched back to using an ad hoc distribution provisional profile. In TestFlight, I erased my old app, and uploaded this new build. I updated and notified myself as a tester, and downloaded the app onto my phone. Just before downloading the app, I restarted my iPhone. I'm not clear on what exactly fixed it -- perhaps restarting my iPhone? -- but I got it to install.
  • micpricemicprice Member, PRO Posts: 4
    Just wanted to add an update. I think the real issue was that I was signing my GameSalad app on a Mac, uploading the zipped app to Dropbox, downloading it on my PC, then creating the Payload.ipa file on my PC (e.g., I created a Payload folder, unzipped the app file into the Payload folder, zipped up the Payload, renamed to .ipa, and uploaded to TestFlightApp to test).

    There's likely a difference in compression algorithms between a PC and Mac -- no surprise.

    When I signed, created the .ipa, and uploaded to TestFlight all on a Mac, the install worked. I think as long as the .ipa is created on a Mac and the app isn't zipped up and unzipped on a PC, the install will work.
Sign In or Register to comment.