- Home /
Unknown type name error in Xcode when running Unity Cardboard-Enabled game
I tried to build and run my first project for Google Cardboard in Xcode.
I first encountered something that basically said my signature was incorrect and asked me to sign in so that the computer could fix it (which it seemed to). (I include this info in case it is related to the error in some way.)
I then encountered the error Unknown type name '__declspec' and have no idea how to fix it.
This issue is also found here but there are no answers to it. A Google search yielded about 50 results, so it seems relatively uncommon.
Also, it seems as though this code may have had problems before and is an issue with Unity, not Xcode, which is why I am posting here.
What would be my best course of action?
Answer by Jadiker · Apr 06, 2016 at 05:29 AM
Here's a post on StackOverflow that gives some solutions: http://stackoverflow.com/questions/35192700/how-to-get-rid-of-unknown-type-name-declspec-error-in-xcode/36431552#36431552
Your answer
Follow this Question
Related Questions
Android - Error building Player: CommandInvokationFailure: Failed to re-package resources 0 Answers
How to integrate AdMob with iOS? 1 Answer
Xcode linker error lists methods that should exist 0 Answers
linker command failed with exit code 1 (use -v to see invocation) unity 5.5 to xcode 8 0 Answers
IOS Build settings IL2CPP disabled, Xcode error "Undefined symbol: _UnityPluginUnload" 1 Answer