chips
February 28, 2009, 9:25pm
1
Hi there!
I’ve seen a few problems with the program status being exited with status 101, but none of this kind…
Does anyone know what means this status One?
I’ll keep looking though the net.
[Session started at 2009-02-28 18:17:21 -0300.]
Loading program into debugger…
GNU gdb 6.3.50-20050815 (Apple version gdb-963) (Tue Dec 9 06:23:51 UTC 2008)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type “show copying” to see the conditions.
There is absolutely no warranty for GDB. Type “show warranty” for details.
This GDB was configured as “–host=i386-apple-darwin --target=arm-apple-darwin”.tty /dev/ttys001
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-1081-26
Switching to remote protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
sharedlibrary apply-load-rules all
run
Running…
[Switching to thread 10755]
[Switching to thread 10755]
(gdb) continue
Unity runtime class registered 7592220
Unity runtime class registered 7637268
Unity runtime class registered 7735732
Unity runtime class registered 7750312
Unity runtime class registered 7766736
Unity runtime class registered 7768732
Unity runtime class registered 7774920
Unity runtime class registered 7824260
Unity runtime class registered 7824248
Unity runtime class registered 7824272
Unity runtime class registered 7824284
Unity runtime class registered 7880524
Unity runtime class registered 7824304
Unity runtime class registered 8501408
Unity runtime class registered 8568988
Unity runtime class registered 8698664
Unity runtime class registered 8726696
Unity runtime class registered 9101256
Unity runtime class registered 9244096
Unity runtime class registered 7914140
Unity runtime class registered 7921676
Unity runtime class registered 7868240
Unity runtime class registered 7907548
Unity runtime class registered 7935540
Unity runtime class registered 7993596
Unity runtime class registered 8025020
Unity runtime class registered 8238164
Unity runtime class registered 8362712
Unity runtime class registered 8521740
Unity runtime class registered 8993996
Unity runtime class registered 9063820
Unity runtime class registered 8832608
Unity runtime class registered 8838412
Unity runtime class registered 9231480
Unity runtime class registered 9392820
Unity runtime class registered 9401728
Unity runtime class registered 8024836
Unity runtime class registered 9211472
Unity runtime class registered 7884104
Unity runtime class registered 7997680
Unity runtime class registered 8027460
Unity runtime class registered 8027448
Unity runtime class registered 8052752
Unity runtime class registered 8229380
Unity runtime class registered 8229576
Unity runtime class registered 8229544
Unity runtime class registered 8027388
Unity runtime class registered 8366480
Unity runtime class registered 8400936
Unity runtime class registered 8408508
Unity runtime class registered 8497908
Unity runtime class registered 8536000
Unity runtime class registered 8951220
Unity runtime class registered 8957624
Unity runtime class registered 8981784
Unity runtime class registered 9014500
Unity runtime class registered 9015136
Unity runtime class registered 8384460
Unity runtime class registered 9019356
Unity runtime class registered 9004544
Unity runtime class registered 9154460
Unity runtime class registered 9213068
Unity runtime class registered 9228724
Unity runtime class registered 7822552
Unity runtime class registered 9255780
Unity runtime class registered 9275224
Unity runtime class registered 9276868
Unity runtime class registered 9292944
Unity runtime class registered 9292956
Unity runtime class registered 9311560
Unity runtime class registered 8013488
Unity runtime class registered 8527236
Unity runtime class registered 8791684
Unity runtime class registered 7872340
Unity runtime class registered 8012964
Unity runtime class registered 8865212
Unity runtime class registered 8866024
Unity runtime class registered 8013488
Unity runtime class registered 8527236
Unity runtime class registered 8773856
Unity runtime class registered 8779908
Unity runtime class registered 8791684
Unity runtime class registered 8185892
Unity runtime class registered 8187104
Unity runtime class registered 8210812
Unity runtime class registered 8217792
2009-02-28 18:17:48.430 iPinArt[1425:20b] → registered unity classes
2009-02-28 18:17:48.485 iPinArt[1425:20b] → registered mono modules
→ applicationDidFinishLaunching()
Failed to load AOT module ‘c072474f0cb1e4dcb8876ea0cf1aa647’ while running in aot-only mode because a dependency cannot be found or it is out of date.
Debugger stopped.
Program exited with status value:1.
Hello Chips,
Are you mixing C# and javascript code?
chips
March 1, 2009, 5:25pm
3
Yes. I am…
I found out that a javascript file that was called by a C# script was the one that was creating generating the error.
To be more specific, for others that may have the same problem, I was calling a javascript class inside a C# script and then sending the new js class though message to an other C# script.
Apparently, the message part it’s OK.
Thanks for the help mantasp!
Ps.: I’ve just “Translated” the javascript class to C# and everything worked fine!
Thanks Again!
Currently on Unity iPhone it is recommended to avoid calling javascript code from C# code. Calling C# code from javascript code is OK.
chips
March 1, 2009, 8:26pm
5
Thank you very much mantasp!
I’ll translate all of my javascripts to C# to avoid the possibility of having more problems!
I am currently getting the same ‘failed to load AOT module’ error, but I am using only javascript, no C# - any ideas?
-jdm
nawash
August 19, 2010, 6:19pm
7
removing Javascript calls from c# was also the solution for me.
Thank you guys
I got this problem and I was using purely C# (i.e. no JS) and so the above was not causing my issue and hence didn’t resolve it.
I also tried another solution I found which was to delete the app off the iPhone device and get XCode to re install it. No luck with that either.
I eventually fixed it by deleting the XCode project (entire folder) and getting Unity to rebuild it.
Who knows how the problem originated as I didn’t change anything in Unity or XCode and it was working and it just decided to stop working out of the blue.
I got same problem after I update Unity from 3.3.0 to 3.4.0. and I deleting the XCode project and getting Unity to rebuild it, It’s OK now.
anon_53583771:
I got this problem and I was using purely C# (i.e. no JS) and so the above was not causing my issue and hence didn’t resolve it.
I also tried another solution I found which was to delete the app off the iPhone device and get XCode to re install it. No luck with that either.
I eventually fixed it by deleting the XCode project (entire folder) and getting Unity to rebuild it.
Who knows how the problem originated as I didn’t change anything in Unity or XCode and it was working and it just decided to stop working out of the blue.