Problems running on iOS

2019-07-21 09:07发布

I've tried on 3 different computers but it still has the same problem that prevents me from running the project on the Mac. When I use Windows and connect to my Mac to run, it shows the same error on all 3 computers.

The error message displayed:

Can not resolve reference: /Library/Frameworks/Xamarim.iOS.framework/Versions/Current/lilb/mono/Xamarin.iOS/Facades/System.Memory.dll

2条回答
淡お忘
2楼-- · 2019-07-21 09:26

From what I understand, this is usually do to a pending update for Xcode.

Make sure Xcode is installed and updated. Once it is updated, launch Xcode to ensure that all updates are finished(I don't know why, but a lot of times you have to run Xcode for the update to finalize.)

Then clean and rebuild your project. That should fix the issue.

查看更多
对你真心纯属浪费
3楼-- · 2019-07-21 09:27

Quick fix steps

  1. VS on PC:

    • in iOS poject open References list
    • find Xamarin.iOS and check the path in properties
    • open containing folder, open Facades folder, copy System.Memory.dll
  2. Mac:

    • open Finder and Go > Go to folder... > type Library
    • find:

      Library/Frameworks/Xamarim.iOS.framework/Versions/Current/lilb/mono/Xamarin.iOS/Facades/

    • paste System.Memory.dll

.. rebuild and you are good to go

查看更多
登录 后发表回答