Xcode errors after upgrading to Unity 5.0.1 p1

I am getting 20 xcode errors after upgrading to Unity 5.0.1 p1 and building iOS Target. I have no clue about these, there was no error before upgrading, after upgrade I am seeing the following errors in file ll2CPPMethodTable.cpp

/Classes/Native/Il2CppMethodTable.cpp:9:17: Conflicting types for ‘Dictionary_2__ctor_m20930_gshared’

/Classes/Native/Il2CppMethodTable.cpp:11:17: Conflicting types for ‘Dictionary_2_Add_m20976_gshared’

/Classes/Native/Il2CppMethodTable.cpp:13:17: Functions that differ only in their return type cannot be overloaded

Classes/Native/Il2CppMethodTable.cpp:15:17: Functions that differ only in their return type cannot be overloaded

I unchecked use Il2CPP pre compiled headers and its fine now

You mean in Unity you changed it from il2cpp? You cannot submit a new app to apple unless it’s 64 bit and thus requires il2cpp.

You can update existing 32 bit apps until June 1, but can’t submit new apps that don’t use il2cpp…

No No, I didnt il2cpp to mono. There is an option underneath it which says “use il2cpp pre compiled headers” it was checked before, I unchecked it. I am guessing in this patch they updated something and unity was still using some pre compiled items when it was checked. When I unchecked it, unity compiled it again and it worked.

2 Likes

Same problem, and unchecking the “Use IL2CPP precompiled headers” worked for me too.