Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't deploy Xamarin.iOS app to device using XCode 9.3

After upgrading to XCode 9.3 (9E145), I can no longer use Xamarin and deploy to any of my iOS devices.

I run Visual Studio 2017 on a PC and use a Mac as build agent. Until the upgrade everything worked just fine, but now I cannot deploy any apps anymore.

I get an error complaining about a missing framework 'DADocSetAccess':

Launch failed. The app 'iOSTest1' could not be launched on 'My iPhone'. Error: error HE0003: Could not load the framework 'DADocSetAccess' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DADocSetAccess.framework/DADocSetAccess): not found.. Please check the logs for more details. The app has been terminated.

I can confirm that the missing framework is not present on my Mac.

I have also tried to use Visual Studio on my Mac, but that fails with the same error. However, I created a testapp in XCode and it worked just fine - so I suspect the error is related to Xamarin/XCode somehow.

I have spent many hours trying to reinstalling XCode twice, but the problem is still there. It is also no longer possible to run on a simulator using VS2017, which also worked just fine before the XCode 9.3 update.

I cannot understand what these frameworks are used for, as it works just fine to deploy and run apps from XCode.

Is anyone else also having this problem?

Any help is appreciated. Thanks

like image 721
Thomas Avatar asked Mar 30 '18 22:03

Thomas


2 Answers

The stable channel now supports Xcode 9.3 (I was on the beta channel)

Switch to the stable channel or download the latest updates and it should work now.

These are the versions that have the update:

  • Visual Studio for Mac 7.4.2.12
  • Visual Studio Tools for Xamarin 4.9.0.753
  • Xamarin.iOS 11.9.1.24
  • Xamarin Remoted iOS Simulator 1.2.4.12

More Info here

like image 99
Iain Smith Avatar answered Nov 06 '22 08:11

Iain Smith


For now, you can download xcode 9.2 before xamarin can handle xcode 9.3. Can download 9.2 at https://developer.apple.com/download/more/

like image 31
Mohd Helmi Mohamed Shariff Avatar answered Nov 06 '22 08:11

Mohd Helmi Mohamed Shariff