-1

i have problem when install the second ios certificate on visual studio

i will to explain what i did step by step .

1 - i have created certificate and provisioning profile from apple developer account by second account , and downlode it on my mac

2 - install the certificate on keychain

3 - create new project on xcode and install the provisioning profile

4 - in xcode it's all work fine , i can build the app and archive it

5 - when i try login the apple id on visual studio by this way ( Visual Studio > Preferences > Apple Developer Account ), a problem appears below

image to explain the problem

for more information , * the first certificate it work fine on visual studio. * i entered the bundle identifire name correctly

Is there another way to define the ios certificate on visual studio

1 Answers1

0

If you are developer account is the free account, then teams won't appear in VisualStudio but you can see in Xcode.

Follow the below step to test the application in the device.

Open Xcode with demo project.

Set the targeted bundle id in plist.

Select the respected team and choose automatic provisioning profile. So it will generate all the required certificates and profiles and will saves on the Mac.

Run the app in device from Xcode.

Go to VisualStudio, use the same Bundle ID which we used in Xcode to run the app. Hit run on a device and see the result it will work.

Ashwini Salunkhe
  • 224
  • 2
  • 12
  • thank you for answer me , but still not work on visual studio. my certificate is enterprise not a free , Do you have another solution? – Yanal Abo Hadhod May 18 '20 at 19:51
  • go through this link may it helps you: [https://learn.microsoft.com/en-us/xamarin/cross-platform/macios/apple-account-management?tabs=macos] and this is related question link please check [https://stackoverflow.com/questions/58928366/failed-to-synchronize-com-teams-with-apple-developer-portal-no-such-host-is] – Ashwini Salunkhe May 19 '20 at 04:30
  • 1
    Thank you, the problem was in an update the visual studio :) – Yanal Abo Hadhod May 19 '20 at 12:43
  • Updated visual studio resolves your problem. Great !! – Ashwini Salunkhe May 19 '20 at 12:46