[XCode] Unity:unknown type name __declspec



Problem

iOS 9.3 + XCode 7.3
Unity < 5.3 unknown type name __declspec

NORETURN static void il2cpp_codegen_raise_exception (Il2CppCodeGenException *ex)
{
	il2cpp::vm::Exception::Raise ((Il2CppException*)ex);
#if __has_builtin(__builtin_unreachable)
	__builtin_unreachable();
#endif
}
Solution

1. Download Unity > 5.3
2. Remove the keyword "NORETURN" in the beginning of function.




歡迎您留言與分享!(Welcome for comments or sharing!)

Related Post:

Tagged on: ,