Could not find any available provisioning profiles for iOS

后端 未结 11 1437
青春惊慌失措
青春惊慌失措 2021-01-03 17:29

We are developing a iOS shopping cart application in c# and visual studio 2017 for xamarin. I have an iPad Air iOS 10.3, when I try to publish to real device, I am getting t

11条回答
  •  青春惊慌失措
    2021-01-03 18:13

    I have tried all the above-mentioned approaches but didn't work. I was using Manual provisioning.

    To identify why it's not showing in VS, I have:

    1. Opened the Xamarin.ios project in Xcode.
    2. Under Settings > Manual provisioning profile,> Selected the appropriate certificate (Note: It should be installed before it appears in the list).
    3. It showed me an error, which said "Selected provisioning doesn't match with the distribution certificate in the keychain"
    4. When I logged into developer.apple.com - I have found a new distribution certificate.
    5. I had to regenerate the provisioning profile with the new distribution certificate (selected) and installed it.
    6. After installing the error went away.
    7. Also, In the Visual Studio's drop-down list the provisioning profile started to appear.

    I agree with Meekohi & Vincent Dondain who have recommended choosing Automatic Provisioning, as it's a better option if one is not facing any issues with certifications or profiles as it takes care of everything. However, using the latest Visual Studio for Mac is preferable.

提交回复
热议问题