gpt4 book ai didi

Objective-c错误 "-[CFString retain]: message sent to deallocated instance 0x4593540"

转载 作者:行者123 更新时间:2023-12-04 03:16:18 25 4
gpt4 key购买 nike

我正在使用phonegap,目前我有一个带有php 和javascript/html 的Web 应用程序在iframe 内运行。它工作了一段时间,但现在当我加载页面时它崩溃并出现此错误

-[CFString retain]: message sent to deallocated instance 0x4593540

有什么想法吗?谢谢

最佳答案

您遇到保留计数问题。来自另一个 Stack Overflow 答案:

First, go back and reread the memory management rules just to make sure you are not missing anything obvious

Next, turn on NSZombieEnabled (in your executable settings, Arguments panel, add an environment variable NSZombieEnabled set to YES).

Double releasing when it shouldn't be happening

这是一个有用的 post about NSZombieEnabled

关于Objective-c错误 "-[CFString retain]: message sent to deallocated instance 0x4593540",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2588594/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com