swift-unity icon indicating copy to clipboard operation
swift-unity copied to clipboard

No member named 'Contexts' in namespace 'il2cpp::icalls::mscorlib::System::Runtime::Remoting'

Open vanessaaleung opened this issue 6 years ago • 2 comments

I got a lot of error like this No member named 'Contexts' in namespace 'il2cpp::icalls::mscorlib::System::Runtime::Remoting'

I've tried #119 #31 , still not working. I'm pretty sure I included all required header/library search paths.

Unity runtime version :2018.3.8f1

please help, I stuck in embedding Unity in iOS project for so long

vanessaaleung avatar May 01 '19 11:05 vanessaaleung

check your Other C Flags, something like these, you can check from your exported iOS project:

$(inherited) -DINIT_SCRIPTING_BACKEND=1 -fno-strict-overflow -DNET_4_0 -DRUNTIME_IL2CPP=1 -DIL2CPP_MONO_DEBUGGER=1

carlgik4 avatar May 13 '19 01:05 carlgik4

check your Other C Flags, something like these, you can check from your exported iOS project:

$(inherited) -DINIT_SCRIPTING_BACKEND=1 -fno-strict-overflow -DNET_4_0 -DRUNTIME_IL2CPP=1 -DIL2CPP_MONO_DEBUGGER=1

thanks~

iHTCboy avatar Aug 12 '22 02:08 iHTCboy