adhoc app installation failed in iPhone , why?

后端 未结 5 2164
时光取名叫无心
时光取名叫无心 2021-02-05 11:45

I am developing an iPhone application .

As the application is location aware I am testing it on a different (where I am not present).

For that I am sending my fr

相关标签:
5条回答
  • 2021-02-05 11:59

    For error message "Could not install application on device: Error: A signed resource has been added, modified or deleted."

    this could be one probable solution

    0 讨论(0)
  • 2021-02-05 12:07

    Blimey. It's mid-2014 and XCode 5 is still as infuriating as ever.

    What's frustrating is that, even once you've jumped through Apple's new https hoops to create your Ad-Hoc installer, your device might download the installation package, start installing it, silently fail (due to an incorrect/invalid Provision Profile) but then attempt to start downloading & installing again !!

    It's only once you go into XCode \ Organiser, and select your device, that you can actually look at the logs and find out that a fatal error occured, have some idea of the cause, and start Googling for a solution. Why the device attempts to retry is beyond me.

    And showing that vague "[Your application] could not be installed at this time" error is just misleading. Often, this gives the impression that, ahh, perhaps later, it'll work. Go and have a coffee, and have again after lunch. Errr, no.

    Anyway, rambling aside (before I vote myself down), just to say that I had this issue, and the cause what that I was attempting to create an Ad-Hoc (in-house) version of our iPad app, but I had the Production (App Store) version of the Provisioning Profile selected.

    I rebuilt the app using the correct "In-house distribution" Provisioning Profile, deployed everything to our intranet, made sure that the .plist file was on a https server (not a http server, otherwise the install would fail with another vague/irrelevant error message), and then it finally worked.

    Oh, and I found the tips on this StackOverflow page to be a lifesaver.

    Mike

    (Off for a lie down. And a beer.)

    0 讨论(0)
  • 2021-02-05 12:11

    Looks as though your provisioning profile is duff in some way. Here's now I normally work around the problem:

    1. Delete your whole build folder. Clean All should do this for you but does seem to leave bits behind from time to time
    2. Check the device ID in the Developer Center. Edit it if you need to.
    3. Download the profile again.
    4. Install the profile again.
    5. Quit Xcode and reload.
    6. Make sure you've set Xcode to use the new, ad hoc profile rather than your developer profile, for the Code Signing Identity of the configuration you will be using for the archive.
    7. Build
    8. Take a copy of the executable straight away

    It would be neat if there was some way of finding which step went wrong, but until that happens it's usually best just to start from scratch unless you have very patient (or local) testers.

    0 讨论(0)
  • 2021-02-05 12:14

    It appears that the device on which your friend is trying to install your app is not able to validate the application's signature. Basically this means that the provisioning profile you sent to your friend does not match the actual signature (if any) applied when compiling for ad hoc distribution. Try checking the following:

    1. verify that you added a correct Entitlements.plist file to your application.
    2. verify that you added the Entitlements.plist file to your Ad Hoc settings for building the app.
    3. verify that the certificate you are using to sign the application (in your Ad Hoc settings) actually is valid for ad hoc distribution.
    4. verify that you actually built the application using a base sdk related to the device, not the simulator and the Ad Hoc distribution settings.
    5. verify that the provisioning profile you sent is meant for ad hoc distribution and that it includes correctly the device of your friend.
    0 讨论(0)
  • 2021-02-05 12:23

    Make sure there are no traces of SVN left behind in the .app package, had the same issue, after removing the hidden SVN directories, everything installed fine hope this helps..

    0 讨论(0)
提交回复
热议问题