简体   繁体   English

在Xcode 9模拟器中运行Unity iOS项目时出现Typedef重新定义错误

[英]Typedef redefinition error when running Unity iOS project in Xcode 9 simulator

I was able to run my Unity 2017.1.0b10 iOS project successfully on my iPhone 6S+ (Using Xcode 9). 我能够在iPhone 6S +上成功运行Unity 2017.1.0b10 iOS项目(使用Xcode 9)。 I changed the Target SDK to Simulator SDK to try it out on other device simulators then I got the following errors in the UnityMetalSupport.h file. 我将Target SDK更改为Simulator SDK以在其他设备模拟器上进行尝试,然后在UnityMetalSupport.h文件中收到以下错误。

在此处输入图片说明

Below are screenshots of my player settings: 以下是我的播放器设置的屏幕截图:

在此处输入图片说明

在此处输入图片说明

不知道问题的原因,但评论此行对我有用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM