Lithu T.V
Lithu T.V

Reputation: 20021

Exception on app startup in device,works fine in simulator

The application works fine on the simulator but breaks in start up in device as in the figure

enter image description here

I tried some of the solution in SO but It doesnt work out.What may be the reason ?How can i find it? How to resolve it

For clarity

enter image description here

Tried : Changing the view controller the viewcontroller. view did load and all functions are working fine after that when the view tries to appear on the screen the crash appears

UPDATE : Now getting the error logged as

*** -[Not A Type retain]: message sent to deallocated instance 0x208c9610

Upvotes: 0

Views: 115

Answers (3)

Lithu T.V
Lithu T.V

Reputation: 20021

OK found out the problem.I am using an external library which does not implement ARC so it has to be flagged.all files except 2 are not flagged as -fno-objc-arc and hence the issue.

Upvotes: 0

IronManGill
IronManGill

Reputation: 7226

This is a Breakpoint error ..... It normally occurs when you add a breakpoint to an app running in the device. If you add the breakpoints before the app has been built and run it again.... The crash will not occur.

Even I couldn't figure out why this crash should occur in the first place but it does.

Upvotes: 1

Midhun MP
Midhun MP

Reputation: 107131

I had the same issue before. This is not a crash. Please remove all your break points and run it again.

Upvotes: 1

Related Questions