Schlodi
Schlodi

Reputation: 149

App crashes when closed

When I close my app (double tap home button and touch the X) on my iPhone, it crashes and I get this error:

objc[9337]: class `ADManager' not linked into application
objc[9337]: class `ADSessionManager' not linked into application
objc[9337]: class `ADSession' not linked into application
(lldb) 

-Deployment target: iOS 5.1
-Iphone iOS 5.1.1
-Testing with Xcode on iPhone

How can I fix it?

Upvotes: 2

Views: 620

Answers (2)

Zhang
Zhang

Reputation: 11607

Um, it's not a good idea to be running the app connected to Xcode debugger and then terminate it in the middle of the process. It can very easily lead to the bootstrap error.

The debugger is constantly monitoring your app when you run it in iTunes, terminating it would obviously cause a crash =/

You can see a spinning icon in the "debug" tab in Xcode 4 (the tab with the icon that looks like a speech button and some lines in it in your project navigator) when you're in the middle of debugging.

Not sure what you're trying to achieve by terminating your app, a registered background process such as location service?

Upvotes: 1

preeti
preeti

Reputation: 82

This is the default behavior of all iOS apps in iOS4 and later.

Upvotes: 2

Related Questions