错误本机链接错误:未找到架构 arm64 的 IOSurface 框架 [英] Error Native linking error: framework not found IOSurface for architecture arm64
问题描述
我在尝试为我的 Xamarin.IOS 项目构建时遇到以下错误.
I am getting the following errors when trying to do a build for my Xamarin.IOS project.
本机链接错误:找不到架构 arm64 的 IOSurface 框架.
本机链接失败.请查看构建日志.
我正在尝试使用 UGROKIT xamarin sdk,但没有成功.它在我的 Android 项目上运行良好.
I am trying to use the UGROKIT xamarin sdk with no luck. It works fine on my Android project.
我在 windows 上使用 VS2015,mac 上的 xcode 版本是 8.2.1.
I am using VS2015 on windows and the xcode version on the mac is 8.2.1.
我试过做一个本地参考,但似乎也不起作用.
I have tried doing a native Reference but that don't seem to work either.
不知道我还能做什么.有什么想法吗?
Not sure what else I can do. Any ideas?
推荐答案
本机链接错误:找不到架构 arm64 的 IOSurface 框架.xcode 版本是 8.2.1.我的 iPad 还是 9.3.5,模拟器是 10.2.
Native linking error: framework not found IOSurface for architecture arm64. xcode version is 8.2.1. my iPad is still 9.3.5 and the simulators are 10.2.
IOSurface
曾经是一个私有框架,因此不允许在提交给 App Store 的应用中使用.
IOSurface
used to be a private framework and thus not allowed to be used in apps submitted to the App Store.
在 iOS 11 中 IOSurface.framework
发生了变化,现在它是一个公共框架,你必须使用 Xcode9(+) 和目标 iOS11(+).
In iOS 11 IOSurface.framework
was changed and it now a public framework, you would have to use Xcode9(+) and target iOS11(+).
re:https://developer.apple.com/documentation/iosurface>
iOS 11
The following new frameworks were added in iOS 11:
ARKit.framework (Augmented Reality)
CoreML.framework (Machine Learning)
CoreNFC.framework (Near Field Communication)
DeviceCheck.framework
FileProvider.framework
FileProviderUI.framework
IdentityLookup.framework
IOSurface.framework
PDFKit.framework (new in iOS, exists in macOS)
Vision.framework
这篇关于错误本机链接错误:未找到架构 arm64 的 IOSurface 框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!