yurykorzun / unity-react-native-demo

Demo of a React Native integration into a Unity project
GNU General Public License v3.0
4 stars 1 forks source link

Can't run with Xcode #1

Open binoalien opened 5 years ago

binoalien commented 5 years ago

Hello, i follow your readme

Navigate to folder ReactNative Run yarn install Open XCode project iosUnity and run on a device (i think you mean folder iosUnity Project Unity-iPhone)

After that I press the play button in Xcode for a real Device. I get follow error: main.jsbundle does not exist

Now I create main.jsbundle with react-native bundle --entry-file='index.js' --bundle-output='./iosUnity/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'

I press the play button again and i get a missing libiPhone-lib.a.

At iosUnity/Libraries/ libil2cpp.a and libiPhone-lib.a are alias where to point nowhere So I copied these 2 files from the Unity IOS Build

And now I press the play button again and i get 7 errors Undefined symbol: il2cpp::utils::Debugger::RegisterMetadata(Il2CppDebuggerMetadataRegistration const) Undefined symbol: _unity_sequence_point_active_exit Undefined symbol: _g_unity_pause_point_active Undefined symbol: _unity_sequence_point_active_entry Undefined symbol: il2cpp::utils::Debugger::OnBreakPointHit(Il2CppSequencePoint) Undefined symbol: _s_ExecutionContexts Undefined symbol: il2cpp::utils::Debugger::CheckPausePoint()

I hope you can help me

ZEROwolfHwang commented 5 years ago

same problem !