Dig*_*dra 5 react-native ios11
我无法弄清楚在哪里甚至可以查找我看到的这个新问题。我正在运行react-native
版本0.44.1
,但我崩溃了。xcode 中的日志显示:
FATAL: Attempting to release access but the mutator does not have access.
在堆栈跟踪中,我看到它是UIApplicationMain
:
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
Run Code Online (Sandbox Code Playgroud)
在UIApplicationMain
跟踪:
0x113f2091d <+159>: movq 0x1099bf4(%rip), %rbx ; (void *)0x000000011042ad50: objc_release
Run Code Online (Sandbox Code Playgroud)
我应该尝试寻找什么来解决这个问题?
如果您使用 Realm,您可能会遇到以下问题:
https://github.com/realm/realm-js/issues/1095
不幸的是,最简单的修复似乎是禁用远程 JS 调试(我可以确认这对我有用)。
归档时间: |
|
查看次数: |
587 次 |
最近记录: |