Clicky

Dear Expert:

I'm developing an iphone application which worked perfectly until 2 days ago on my iPhone device, executed by pressing play at xcode. The same application, without any changes, is now failing executing it on my iphone device, but it's working perfectly on the xcode iphone simulator.

I have tryied to make the certificates again on the provisioning portal, but the same occurs.

The point where application stops is on second line of main:
   
int retVal = UIApplicationMain(argc, argv, nil, nil)

And the error shown is:
   
 Thread 1: Program received signal: "SIGABRT"                             
1: 

Select allOpen in new window



I can also see an error message on the "All Output" area (on the bottom of Xcode Window) which says:
   Couldn't register com.goldspotmedia.glut 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.


I tried to remove preious application on my iphone and cleaning the build before running again and the same happens.

Can you help me ?

asked 12/03/2011 04:57

gplana's gravatar image

gplana ♦♦


5 Answers:
I hope it will be enough to delete this app from your phone and install again:
1. Disconnect your phone from the computer.
2. Uninstall this application from the phone.
3. Connect the phone to the computer and launch Xcode.
4. Clean and build the project.
5. Run the application on the iPhone.

link

answered

pgnatyuk's gravatar image

pgnatyuk

Sorry I have done all these steps, but the same happens.
link

answered 2011-12-06 at 09:32:45

gplana's gravatar image

gplana

When you debug your app in Xcode, you may check the console window - the bottom part of the Xcode window, you'll see there a bit more detailed explanation why your app crashes.
There are too many reasons for such crash - for example, the debug version will "crash" in this way, if you call an unknown method of an object, if you try call method from a nil-variable, try to release an object that's already been released, etc.
Add NSLog to you app and check the console window. Add breakpoints and see what's going on.
You can try to use "Analyze" in Xcode and fix whatever will be possible to fix in your app. Use Instruments and so on.
Good luck.
link

answered 2011-12-06 at 09:59:30

pgnatyuk's gravatar image

pgnatyuk

Sorry, I finnally solved this by just shuting down my iphone and starting up it again. However, your idea for debugging will help me in next steps to solve performance issues, so I will rewarding points to you.

Thank you.
link

answered 2011-12-06 at 23:32:56

gplana's gravatar image

gplana

I solved by my own, but the ideas exposed are good and will help me to solve other things. Thank you.

link

answered 2011-12-07 at 14:32:22

gplana's gravatar image

gplana

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×21
×42
×9

Asked: 12/03/2011 04:57

Seen: 375 times

Last updated: 12/11/2011 05:20