Unity3d version: 5.3.0f4
Xcode version: 7.3.1
-xcode7.3.1 has supported the developer certificate-free debugging, this version no longer need to spend 99 knife purchase personal developer certificate, only need personal appstoreid can be debugged;
-After the version Unity3d project was compiled into the Xcode executable, 2 errors were reported during the import of iOS, as described below:
1. "Unknown type name __declspec"
Workaround: Locate the Il2cpp-config.h file in Xcode and find it on line 181 (up and down)
#define Noreturn __declspec (noreturn)
Change into
#define Noreturn __attribute__ ((noreturn))
2, after the above modifications continue to compile will meet the second error:
"_ksecreturndata", referenced from: (Omitted below) ... "
Workaround: Add the library file Security.framework
After solving these 2 problems, you can normally import the project into the iOS system.
Summary of various pits in iOS system after unity is compiled into Xcode under Mac