简体   繁体   中英

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

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

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/

Xamarin has just fixed this issue. If you use Mac then just update your VS for Mac. The fix for Windows VS will be in version 15.6.5 which is not available yet, but you can download and install necessary package for Xamarin right now. Just go to the link below: https://releases.xamarin.com/service-release-15-6-5/

UPD: The fix for Windows is now available. Just download VS 15.6.5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM