Xcode won't recognize my new provisioning profile

前端 未结 9 2067
情歌与酒
情歌与酒 2020-12-15 05:15

My app\'s development provisioning profile expired a couple of weeks ago, so I went to the provisioning portal to get a fresh new one. After obtaining it, I visited the Xcod

相关标签:
9条回答
  • 2020-12-15 05:50

    In my case, with XCode 5, when my developer certificate expired, I ran into this issue. I manually downloaded the new certificate and new provisioning profile. I added the certificate to the keychain and the provisioning profile to the devices in organizer.

    However, XCode kept complaining that I cannot sign the app. I figured that in XCode 5 preferences, it still displayed the old provisioning profile and it didn't refresh to the the new one despite numerous reloads that I did there.

    Eventually, I used iPhone Configuration Utility to delete the old provisioning profile and add the newly downloaded provisioning profile. After code signing worked as expected.

    0 讨论(0)
  • 2020-12-15 05:54

    I thought that double clicking on the downloaded provisioning profile would place it into xCode Organizer Archive, but that just wouldn't work for me. The following steps finally worked for me.

    1. Open xCode
    2. Go to Product -> Destination -> iOS Device
    3. Go to Product -> Archive
    0 讨论(0)
  • 2020-12-15 05:57

    Here's how I did it in Xcode 4:

    1. Select Don't Code Sign from Project > Build Settings > Code Signing
    2. Clean the build
    3. Build it again - should show an error like "this stuff needs signing"
    4. Choose the new profile from the Code Signing
    5. Rebuild
    0 讨论(0)
提交回复
热议问题