0

I am not able to deploy Xamarin iOS app on Real Device. Here is my Visual Studio Details enter image description here

Getting the Following Log in Output window enter image description here

I have gone through every possible solution but no luck.

  1. Creating New Certificate and Provisioning profle
  2. Using Automatic Provisioning profile
  3. Clearing all Cache

Nothing seems working

Ben Butterworth
  • 22,056
  • 10
  • 114
  • 167
gourish mesta
  • 23
  • 1
  • 4
  • Open the project in Xcode and try from there will provide better error messages. You need the apple developer program membership ($99/year) – Ben Butterworth Sep 22 '21 at 06:03
  • @BenButterworth i am using Windows Platform to deploy and debug iOS as well as Android app. And i have a licensed Apple developer Program membership – gourish mesta Sep 22 '21 at 06:11
  • How did you add your physical device to the provisioning profile? This is done automatically by Xcode on macOS. I'm not sure if it's even possible to build on Window for *iOS physical devices*. It's likely that you'd need a mac, but if you're lucky and I'm confused, maybe you don't. I don't use Xamarin Forms though. Edit: You need a macOS device to build for Xamarin.iOS – Ben Butterworth Sep 22 '21 at 06:22
  • @BenButterworth Yes we can add physical Device to windows machine and deploy app ios app on it [link](https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/?pivots=windows) – gourish mesta Sep 22 '21 at 06:31
  • Did you read the part on that page which says you **need** a network-accessible Mac set up with Apple's build tools, or *step 2*, which says `Set up Mac (Install Xcode and Visual Studio for Mac)` – Ben Butterworth Sep 22 '21 at 13:07
  • @BenButterworth all this is taken care. i have deployed the Xamarin app previously on to real device, this is first time i am facing this issue. Xamarin.Messaging.IDB.Local.DeveloperDiskImageService Error: 0 : Failed to download the Developer Disk image for iOS 14.7 – gourish mesta Sep 23 '21 at 12:24
  • Try to update Xcode to version 12.5. – Wen xu Li Sep 24 '21 at 09:41

2 Answers2

0

To build for Xamarin.iOS, you need Xcode, and therefore you need macOS. From Xamarin.iOS Installation guide:

To build for Xamarin.iOS, the following are required:

  • the latest version of Visual Studio
  • the latest iOS SDK
  • the latest version of Xcode
  • the minimum version of macOS required by Xcode
Ben Butterworth
  • 22,056
  • 10
  • 114
  • 167
0
Wen xu Li
  • 1,698
  • 1
  • 4
  • 7
  • I used manual as well as Automatic provisioning but no luck Error log showing the following error Xamarin.Messaging.IDB.Local.DeveloperDiskImageService Error: 0 : Failed to download the Developer Disk image for iOS 14.7 – gourish mesta Sep 23 '21 at 12:25