- Home /
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). 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.
Below are screenshots of my player settings:
I am only allowed to make two attachments, so the rest of the player settings are at
I have the same problem. Have you found a solution ?
Regards, L
I have the exact same issue, Unity 2017.1.0f3 with xCode 9. Works fine if i build/run to my ipad but if I try to run to simulator it errors out regardless of which device I try to simulate.
I did solve it by making a $$anonymous$$or code change. I went to rebuild my project in simulator mode to double check this, but surprisingly, it just worked without any changes. I have recently upgraded to 2017.2, and that seems to have resolved the problem?
If that doesn't solve the problem for you... What I had done previously was slightly alter the syntax. I don't recall specifically what I changed, but it may have been as simple as removing the semi colon after "$$anonymous$$TLPixelFormat".