How to get rid of "Unknown type name '__declspec'" error in Xcode
<p>I tried to build and run my first project for Google Cardboard in Xcode.</p>

<p>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.)</p>

<p>I then encountered the error <code>Unknown type name '__declspec'</code> and have no idea how to fix it.</p>

<p>This issue is also found <a href="https://www.reddit.com/r/GoogleCardboard/comments/43c921/making_a_google_cardboard_game_for_ios_what_is/?" rel="noreferrer">here</a> but there are no answers to it. A <a href="https://www.google.com/search?client=safari&amp;rls=en&amp;q=unknown%20type%20name%20__declspec&amp;ie=UTF-8&amp;oe=UTF-8#q=unknown%20type%20name%20__declspec%20cardboard" rel="noreferrer">Google search</a> yielded about 50 results, so it seems relatively uncommon.</p>

<p>What would be my best course of action?</p>