Provisioning, Certificates, and failure to install my development app.

Discussion in 'iOS Programming' started by SqueegyX, Jul 12, 2008.

  1. macrumors regular

    Joined:
    Mar 24, 2008
    #1
    I think I got all my certificates and provisioning setup right, but I still cant install any apps to my iphone.

    According to: http://developer.apple.com/iphone/manage/devices/howto.action

    All I have to do is set the item under "Code Signing" in XCode's Project info to "iPhone Developer: My Name", but my provisioning profile doesn't show up in the drop down below if I do that. If I leave it at the default of "iPhone Developer" then I can select my provisioning profile form the drop down.

    However, either easy I still can't install my app, and I get an error:

    "Your mobile device has encountered an unexpected error (0xE8000001) during the install phase: Verifying application"

    I've read this is a code signing issue, and I have rebooted my iPhone a couple of times. Any ideas?
     
  2. macrumors newbie

    Joined:
    Jul 12, 2008
    #2
    I had the same problem at first. Solved it by going to the Target for your application in Xcode. Goto Info -> Properties -> Fill in the Identifier field with com.yourcompany such that is matches what you setup on the developer website.
     
  3. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #3
    Did you setup your Keychain? I think it requires 2 or 3 certificates.
     
  4. thread starter macrumors regular

    Joined:
    Mar 24, 2008
    #4
    Hmm, well according to the iphone dev program website "You are not required to enter your App ID into your Xcode project. Xcode will incorporate the App ID automatically."

    I tried what you said, and I still cant select my profile after I type in my name as the tutorials instruct. I've double checked all the spellings.

    I am using a wildcard app ID though, could that be the problem? It looks like this on the website

    Code:
    (RANDOMCHARACTERS).com.mydomain.* 
    
    So I set the app ID in xcode to:

    Code:
    (RANDOMCHARACTERS).com.mydomain.${PRODUCT_NAME:identifier}
    Is that right?

    EDIT: Yes I have both certificates in my keychain. The personal one, and the WWDR certificate. I put them in the "login" keychain, because that was default and apple tell me to put them somewhere different.
     
  5. macrumors member

    Joined:
    Mar 25, 2002
  6. thread starter macrumors regular

    Joined:
    Mar 24, 2008
    #6
    Thanks.

    That seemed to do it for me. The only thing I did different was put my .mobileprovision file in ~/Library/MobileDevices/Provisioning Profiles/ and drag it into XCode from there. No idea why that's necesary, but its working now. Thank you.
     

Share This Page