I'm having troubles build my Unity game in xcode. The game runes when I build for device but not when I build for simulator. I tried different simulators always the same, i get error
----------
> "Job.Worker 4(30): EXC_BAD_ACCESS> (code=2, address = 0x1741c1000)"
----------
Also in xcode logger it shows one problem about stopping the profiler. It says:
----------
> Stopping profiler. Profiler is not> able to flush data to a file or socker> and exceeded maximum allowed memory> for buttering. Please use> Profiler.maxUsedMemory API or> -profiler-maxusedmemory command line parameter to increase maximum allowed> memory usage. Using 134234112 bytes> while Profiler.maxUsedMemory is> 134217728 bytes. Starting managed> debugger on port 56000.
----------
What exactly is this error, how can I resolve it? I have tried restarting simulators, clearing data and nothing helps.
↧