Discussion Forums  >  Uncategorized

Replies: 1    Views: 384

tonycelestino
Aspiring developer
Profile
Posts: 213
Reg: Jun 24, 2011
Maceio
4,080
08/13/11 07:18 AM (14 years ago)

Error when debugging and running app - int retVal @ main.m

Hi there, I'm having some issues when debugging a BT app in the simulator and on device: At the simulator de app opens and runs normally but when I quit the aplication and try to run it again I get an error on Xcode. At the device the same error shows up, but before the splash screen shows up. Heres the line that's highlighted by Xcode at the main.m file: int retVal= UIApplicationMain(argc,argv,@UIApplication,@lopana_appDelegate); I've tried downloading the source code again but I still get the same error. Any suggestions?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/14/11 12:50 AM (14 years ago)
Are you sure you're quitting it properly? In the simulator, when the app is running, and you 'quit' you are telling Xcode to 'pause' - have a look at the bottom of the screen when you do this, I'll bet you can tap the 'play' button again. This is normal behavior in the sim. The reason you see the error message in Xcode is that you are issuing a STOP command to the simulator. See this: http://stackoverflow.com/questions/5606158/ios-simulator-sigkill
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.