0

am trying to add an iOS certificate in Visual Studio 2019 but am getting this error Error image

What might be the issue? NB: I don't have a MacBook, I only have an Apple developer account and iPhone

  • 1
    You need either a mac or mac on vm. – Shaw Aug 02 '21 at 10:24
  • Does this answer your question? [Xamarin Visual Studio IOS Development Without a Mac?](https://stackoverflow.com/questions/25508487/xamarin-visual-studio-ios-development-without-a-mac) – Ivan Ičin Aug 02 '21 at 10:51

1 Answers1

0

You need a mac to make a releasable build (for testflight or app store submission). See Xamarin Hot Restart - Limitations. This includes doing any "signing".

You should be able to develop and debug on your iPhone - but you can't make it available to anyone else, without a Mac. If you haven't yet succeeded in running it on your attached iPhone, check whether you followed all the Hot Restart instructions. Or for another discussion of steps, try these non-official instructions.

ToolmakerSteve
  • 18,547
  • 14
  • 94
  • 196
  • [Hot Restart](https://learn.microsoft.com/en-us/xamarin/xamarin-forms/deploy-test/hot-restart) enables we to test without mac , but in this way it has lots of limitation . Mac is required for fully developing iOS , @cedric shimuli you need a mac first and then develop xamairn.iOS. – ColeX Jul 30 '21 at 07:57
  • Meaning even for Hot Restart I need a mac? – cedric shimuli Aug 02 '21 at 08:41
  • @cedricshimuli - I've updated my answer, with a more accurate explanation of what you can and can't do. And links to two places with steps to follow, if you haven't yet succeeded in running Hot Restart at all on your iPhone. – ToolmakerSteve Aug 02 '21 at 10:17
  • @cedric shimuli Hot Restart does not need mac, but it has lots of limitation , it is not recommended. For signing in Xamarin.iOS , you have to get a mac first. – ColeX Aug 04 '21 at 01:30