I am not getting this crash on which line while run app in device. Its just displaying "[Not A Type retain]: message sent to deallocated instance 0x201ca7a0" in log. But the same build working fine in simulator.I have enabled zombies also. Please help ...
Asked
Active
Viewed 796 times
1
-
1Show the code where the crash happens. – Jasarien Jul 05 '13 at 08:29
-
Check the link : http://stackoverflow.com/questions/10081418/xcode-exc-bad-access-not-a-type-retain – Exploring Jul 05 '13 at 08:34
-
Please provide some more details about the crash that taking place on your app. – Suryakant Sharma Jul 05 '13 at 08:39
-
I am not getting where its crashes in code. please tell me how to know that crash in code. – user2546879 Jul 05 '13 at 09:29
-
thanks erik, but i am not able to get where it is crashing in code. please let me know any techniques to identify crashes in code. I have enabled zombies. My code is working in simulator not in device. – user2546879 Jul 05 '13 at 10:00
-
Put an exception breakpoint and check. – Exploring Jul 05 '13 at 10:33
-
i had put. but it is showing stack trace. I am not getting any thing from stack trace. – user2546879 Jul 05 '13 at 10:49
-
Can you post the stack trace also? – Exploring Jul 05 '13 at 11:20
1 Answers
0
You can disable ARC
on your fileClass.m
here my post how to:
With ARC
all obj is always RETAINED, so you can remove a part of code retain
, and on the IBoutlet
use like this: @property (nonatomic, strong) IBOutlet
Hope this help you

Community
- 1
- 1

BlackSheep
- 1,087
- 12
- 29