在iOS上运行时出现问题 [英] Problems running on iOS
问题描述
我在3台不同的计算机上尝试过,但仍然存在相同的问题,这使我无法在Mac上运行该项目.当我使用Windows并连接到Mac以运行时,它在所有3台计算机上都显示相同的错误.
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.
显示的错误消息:
无法解析参考:/Library/Frameworks/Xamarim.iOS.framework/Versions/Current/lilb/mono/Xamarin.iOS/Facades/System.Memory.dll
Can not resolve reference: /Library/Frameworks/Xamarim.iOS.framework/Versions/Current/lilb/mono/Xamarin.iOS/Facades/System.Memory.dll
推荐答案
快速修复步骤
-
在PC上的VS:
VS on PC:
- 在iOS项目中打开引用列表"
- 找到Xamarin.iOS并检查属性中的路径
- 打开包含文件夹,打开 Fades 文件夹,复制 System.Memory.dll
- 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
Mac:
- 打开Finder并 Go>转到文件夹...> 键入 Library
-
查找:
- open Finder and Go > Go to folder... > type Library
find:
Library/Frameworks/Xamarim.iOS.framework/Versions/Current/lilb/mono/Xamarin.iOS/Facades/
Library/Frameworks/Xamarim.iOS.framework/Versions/Current/lilb/mono/Xamarin.iOS/Facades/
粘贴 System.Memory.dll
..重建,您一切顺利
.. rebuild and you are good to go
这篇关于在iOS上运行时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!