简体   繁体   中英

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

在此输入图像描述

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

在此输入图像描述

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

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

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.

确定发现了问题。我正在使用一个没有实现ARC的外部库,因此必须标记。除2之外的所有文件都不会被标记为-fno-objc-arc因此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM