Xcode 8 provisioning profile won't download

后端 未结 14 1841
执笔经年
执笔经年 2021-01-30 08:21

I recently updated to Xcode 8 and as I click on \"download\" option next to provisioning profile in Xcode/Preferences/Accounts/View Details menu it changes to gray and does not

14条回答
  •  时光说笑
    2021-01-30 08:27

    In my case (Xamarin.iOS btw) I've manually deleted all provisioning profiles located in HOME/Library/MobileDevice/Provisioning Profiles but I needed to do something else to be able to deploy the app to a device:

    The problem was that I had implemented the brand new iOS 10 Push Notifications Framework, which requires the addition of the following property to the Entitlements.plist:

    aps-environment
    development
    

    And I was trying to deploy a development version using the value production instead of development. Changing that value did the trick.

提交回复
热议问题