Forum Mobile Error building to iOS

Anything specifically relating to droid or iOS development with Unity can go here.

Error building to iOS

Postby yuponic » August 2nd, 2015, 4:54 pm

Hi,

Hadn't built my game on device for a couple of weeks and now I'm getting this error in XCode:

#ifndef _MSC_VER
#else
#endif

// PlayerIOClient.PlayerIO/ClientImpl/LogoutChannel
#include "PlayerIOUnity3DClient_PlayerIOClient_PlayerIO_ClientImpl_Log.h"
// O PlayerIOClient.PlayerIO/ClientImpl/LogoutChannel::Call<System.Object,System.Object,System.Object>(System.Int32,A)
struct LogoutChannel_t2966;
struct Object_t;
// Declaration O PlayerIOClient.PlayerIO/ClientImpl/LogoutChannel::Call<System.Object,System.Object,System.Object>(System.Int32,A)
// O PlayerIOClient.PlayerIO/ClientImpl/LogoutChannel::Call<System.Object,System.Object,System.Object>(System.Int32,A)
extern "C" Object_t * LogoutChannel_Call_TisObject_t_TisObject_t_TisObject_t_m60205_gshared (LogoutChannel_t2966 * __this, int32_t ___methodId, Object_t * ___args, const MethodInfo* method);
#define LogoutChannel_Call_TisObject_t_TisObject_t_TisObject_t_m60205(__this, ___methodId, ___args, method) (( Object_t * (*) (LogoutChannel_t2966 *, int32_t, Object_t *, const MethodInfo*))LogoutChannel_Call_TisObject_t_TisObject_t_TisObject_t_m60205_gshared)(__this, ___methodId, ___args, method)
// O PlayerIOClient.PlayerIO/ClientImpl/LogoutChannel::Call<System.Object,System.Object,System.Object>(System.Int32,A)
extern "C" Object_t * LogoutChannel_Call_TisObject_t_TisObject_t_TisObject_t_m60205_gshared (LogoutChannel_t2966 * __this, int32_t ___methodId, Object_t * ___args, const MethodInfo* method)
{
{
PlayerIOError_t1374 * L_0 = (PlayerIOError_t1374 *)(__this->___ConstantError_1);
if (!L_0)
{
goto IL_0021;
}
}
{
PlayerIOError_t1374 * L_1 = (PlayerIOError_t1374 *)(__this->___ConstantError_1);
Object_t * L_2 = ((Object_t *)Castclass(((Object_t *)IsInst(L_1, IL2CPP_RGCTX_DATA(method->rgctx_data, 0))), IL2CPP_RGCTX_DATA(method->rgctx_data, 0)));
il2cpp_codegen_raise_exception(((Object_t *)L_2));
}

IL_0021:
{
identifier115_t2456 * L_3 = (identifier115_t2456 *)(__this->___inner_2);
int32_t L_4 = ___methodId;
Object_t * L_5 = ___args;
NullCheck((identifier115_t2456 *)L_3);
Object_t * L_6 = (Object_t *)GenericVirtFuncInvoker2< Object_t *, int32_t, Object_t * >::Invoke(IL2CPP_RGCTX_METHOD_INFO(method->rgctx_data, 1), (identifier115_t2456 *)L_3, (int32_t)L_4, (Object_t *)L_5);
return L_6;
}
}

It's crashing at the line:

il2cpp_codegen_raise_exception(((Object_t *)L_2));

with "/Unity/Builds/Project/Classes/Native/GenericMethods1.cpp:1451:3: No matching function for call to 'il2cpp_codegen_raise_exception'

I have the latest SDK and running Unity 4.6.7. I've also made the MessageUI.framework required but it didn't fix it.

Please help!
yuponic
 
Posts: 10
Joined: November 27th, 2014, 2:57 pm

Re: Error building to iOS

Postby tripknotix » September 27th, 2015, 9:58 am

I have similar issues with IL2CPP for Android building, viewtopic.php?f=42&t=36064
tripknotix
Paid Member
 
Posts: 28
Joined: March 12th, 2010, 11:00 am


Return to Mobile