我的应用程序在ipad上崩溃了,因为发布对象

时间:2023-01-22 15:15:41

I have developed application for ipad, already developed for iphone and works great but when moving to ipad I merged the pages together so the page has more than one table and too many objects when open the main page it works sometimes but when I go to another page and try to go back to the main page the app crashes and gives this

我已经为ipad开发的应用程序,为iphone开发和工作很好但我什么时候搬到ipad的页面合并在一起所以页面有多个表和太多的对象,当打开主页有时是可行的,但是当我去另一个页面,回到主页面应用程序崩溃,给这个

libobjc.A.dylib`objc_autorelease:
0x3b61d660:  cbz    r0, 0x3b61d67a            ; objc_autorelease + 26
0x3b61d662:  ldr    r1, [r0]
0x3b61d664:  movs   r2, #2
0x3b61d666:  ldr    r1, [r1, #16]
0x3b61d668:  bfi    r1, r2, #0, #2
0x3b61d66c:  ldrb   r1, [r1]
0x3b61d66e:  tst.w  r1, #2
0x3b61d672:  bne    0x3b61d67e                ; objc_autorelease + 30
0x3b61d674:  movs   r1, #0
0x3b61d676:  b.w    0x3b61e230                ; -[NSObject autorelease]
0x3b61d67a:  movs   r0, #0
0x3b61d67c:  bx     lr
0x3b61d67e:  movw   r1, #5170
0x3b61d682:  movt   r1, #503
0x3b61d686:  add    r1, pc
0x3b61d688:  ldr    r1, [r1]
0x3b61d68a:  b.w    0x3b60d5c0                ; objc_msgSend
0x3b61d68e:  nop    

I have read many articles some of them said that it releasing objects already released and some of them is not helping at all telling that I should look for allocating but I don't know how to use it, tried but nothing works.

我读过很多文章,有些说它释放已经释放的对象,有些根本没用,告诉我应该寻找分配,但我不知道如何使用它,尝试过,但什么都不管用。

So please any one can help me with this issue?

所以请大家帮我解决这个问题?

1 个解决方案

#1


1  

Overreleased objects are called zombies. If you look around on the net, you can find some help on how to use the profiler (Apple Instruments) to track them down.

被过度释放的对象被称为僵尸。如果你在网上四处看看,你可以找到一些帮助,如何使用剖析器(苹果仪器)追踪他们。

Here are a couple of Apple links about zombie hunting.

以下是一些关于僵尸狩猎的苹果链接。

#1


1  

Overreleased objects are called zombies. If you look around on the net, you can find some help on how to use the profiler (Apple Instruments) to track them down.

被过度释放的对象被称为僵尸。如果你在网上四处看看,你可以找到一些帮助,如何使用剖析器(苹果仪器)追踪他们。

Here are a couple of Apple links about zombie hunting.

以下是一些关于僵尸狩猎的苹果链接。