Problem with Unity3.4.2 and Xcode 4.2

Unity3.4.2 xCode4.2 SDK ( IOS5)

hi, i got a problem running ios app from xcode. after i run the app, and is being installed on the iphone device, Default screen appears after the app quick exit. i dont know what causing this. i’ve tried running a different app from unity and this problem still happens. please help.,The only thing i can catch from the console is this:

Please help me! thanks!

Hmm… it shows no signs of crash. Have you tried rebooting device?

My device is iphone4.Do you mean restart the IPhone?

I had to restart Xcode, recompile, the problem is still.

This problem has troubled me for several days, please help me, thank you:)

Yes, try rebooting the phone. Hold home + sleep buttons for 10 seconds.

I just restart the iphone, run the APP compiled last night.Default screen appears after app quick exit.

CydiaSubstrate.framework… interesting frameworks in that list.

I do not know how to do. This problem has troubled me for several days.

Try following steps:

  1. remove the app from device
  2. remove Xcode project
  3. re-export xcode project in Unity
  4. clean project in Xcode (Product->Clean)
  5. run Xcode project on device (don’t forget to select Unity-iPhone target in drop-down menu, “Unity-iPhone-simulator” WON’T work!)

All of these steps I have tried, but the problem still exists. After default screen appears, app quick exit.

Do you see anything in Xcode debugger console AFTER this line:

applicationDidFinishLaunching()
?

I keep trying,and now new information appears on the console,Default screen appears after the app stuck:

GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Fri Sep 16 06:56:50 UTC 2011)
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/ttys000
target remote-mobile /tmp/.XcodeGDBRemote-5434-55
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 11779 thread 0x2e03]
[Switching to process 11779 thread 0x2e03]
sharedlibrary apply-load-rules all
warning: Unable to read symbols for /Library/MobileSubstrate/MobileSubstrate.dylib (file not found).
warning: No copy of MobileSubstrate.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Library/Frameworks/CydiaSubstrate.framework/Libraries/SubstrateLoader.dylib (file not found).
warning: No copy of SubstrateLoader.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Library/MobileSubstrate/DynamicLibraries/SogouInputIPhone4.dylib (file not found).
warning: No copy of SogouInputIPhone4.dylib found locally, reading from memory on remote device. This may slow down the debug session.
warning: Unable to read symbols for /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate (file not found).
warning: No copy of CydiaSubstrate.framework/CydiaSubstrate found locally, reading from memory on remote device. This may slow down the debug session.
2011-11-17 22:05:18.503 AirRace[1505:607] → registered mono modules 0xdde078
Couldn’t register com.Songxinyu.AirRace with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.(gdb)

Just then restart the iphone, rebuild the project, re-compile the iphone, the information now appears on the console and the same as before, in Xcode debugger console AFTER this line:

applicationDidFinishLaunching()

is nothing

help me…

Does it run on the phone while not connected to your mac?

app still does not run when iphone not connected to mac.

I am having the exact same problem it’s a pain. Please someone if you have any idea. Maybe i do something wrong when choosing a settings i dunno maybe since Xcode 4.2 you need to put in specific settings like the sdk or something like that.

I think your provisioning profile might have expired and sometimes Xcode does not report it properly.
Some useful information might be obtained by following steps:

  1. manually (without use of Xcode) launch application on device.
  2. then open Xcode, go to Window->Organizer .
  3. find your device in Organizers left panel and click on “Console” under it.
  4. copy last messages and post them here.

Nov 18 11:34:57 unknown multiplayertester[3670] : → registered mono modules 0xcbafb8
Nov 18 11:34:58 unknown kernel[0] : launchd[3670] Builtin profile: container (sandbox)
Nov 18 11:34:58 unknown kernel[0] : launchd[3670] Container: /private/var/mobile/Applications/D691EFA3-1EC8-4F8A-A4FB-90329945C4B4 [69] (sandbox)
Nov 18 11:34:58 unknown UIKitApplication:com.XXXXXXXXX.multiplayertester[0x1d92][3670] : → applicationDidFinishLaunching()
Nov 18 11:34:58 unknown com.apple.launchd[1] : (UIKitApplication:com.XXXXXXX.multiplayertester[0x1d92]) Exited with code: 1
Nov 18 11:34:58 unknown SpringBoard[15] : Application ‘realtest’ exited abnormally with exit status 1

Do you see this app crash report under “Device Logs” ?

nop