问题描述
这个错误非常奇怪。昨天一切都很好。我安装了Xcode 9测试版,然后我使用Xcode 8在iPhone 6p,iOS 9.3.2上运行我的应用程序(我昨天可以这样做,我可以仍然在模拟器上运行应用程序)然后我收到此错误。
This error is very weird.Everything is just fine yesterday.I install the Xcode 9 beta, and then I use Xcode 8 to run my app on iPhone 6p, iOS 9.3.2(I can do this yesterday, and I can still run the app on the simulator)then I get this error.
我用Google搜索错误,似乎没有人遇到此错误。
I Googled the error, it seems like no one runs into this error before.
这是错误日志:
ld:未找到框架IOSurface f或架构arm64 clang:错误:
链接器命令失败,退出代码为1(使用-v查看调用)
ld: framework not found IOSurface for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
推荐答案
右键单击新的 Xcode9-Beta .app并选择显示包内容
Right click on your new Xcode9-Beta.app and select Show Package Contents
然后导航至:
Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/
然后转到 Xcode8的包内容中的同一文件夹.app 并在那里粘贴所需的框架。
Then go to this same folder in the package contents of your Xcode8.app and paste the required framework(s) there.
这篇关于未找到框架架构arm64的IOSurface的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!