3
votes

I am very new to xamarin(visual studio) mobile platform and going good with android . but when am building iOS app ,its throwing 2 errors

  1. Could not find a usable Xcode app bundle in
  2. The Apple iOS SDK is not installed.

I have already installed xamarin studio (COMMUNITY) on my MAC and all its component and already connected to Xamarin MAC agent.

I haven't installed XCODE on MAC , is it necessary ??

Please assist me how can I solve this build error

2
Yes. You need to install Xcode on your Mac build host. On the Mac, open the App Store, search "Xcode", install Xcode.dylansturg
Dylan s, These errors are because of Xcode not installed on MAC??slash shogdhe
Definitely you need Xcode. The agent syncs bits between PC and Mac to make sure your app can be compiled properly. It has been clearly documented by Xamarin, developer.xamarin.com/guides/ios/getting_started/installation/…Lex Li

2 Answers

4
votes

To make things a little bit more clear in order to prevent confusion. You can have the following setups:

  1. MacOS, with Xamarin Studio .
  2. A Windows computer, with Visual Studio connected to a Mac over the network with the Xamarin Mac Agent .

Both setups will need Xcode installed on the Mac, which is needed because some of the internal tools that are installed with Xcode are used (like signing the IPA with a certificate and the Apple iOS SDK itself).

Choosing one of the setups is a matter of preference. A lot of people like Visual Studio because they're used to it and it has nice Azure integration and works for Android/UWP and iOS. Others like Xamarin Studio (Android and iOS only) because of simplicity.

I hope this makes sense, good luck!

2
votes

You do require XCode for iOS development. It is required for debugging and also for emulation of the iOS apps onto a iOS Simulator.

Even development on a MAC will require that it is installed with XCode.

Click Here to see a guide to connecting to a MAC. More on that, that guide does say that your connected MAC must have XCode installed.

Click here for a link to XCode.