Amaro Manungu
Amaro Manungu

Reputation: 61

Problems running on iOS

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

Upvotes: 2

Views: 372

Answers (2)

Maciej Soliński
Maciej Soliński

Reputation: 31

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

Upvotes: 3

DavidShepard
DavidShepard

Reputation: 296

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.

Upvotes: 0

Related Questions