ios点击下载更新就闪退。。



  • 2017-11-10 09:48:19.633 [fatal][tid:main] Exception '-[__NSFrozenDictionaryM length]: unrecognized selector sent to instance 0x604000626a20' was thrown while invoking alertWithArgs on target AlertManager with params (
    {
    buttons = (
    );
    title = {
    code = 260;
    column = 1570;
    domain = NSCocoaErrorDomain;
    framesToPop = 1;
    line = 41;
    nativeStackIOS = (
    "0 ReactNavigationDemo 0x000000010de8e5a0 RCTJSErrorFromCodeMessageAndNSError + 80",
    "1 ReactNavigationDemo 0x000000010de5964c __41-[RCTModuleMethod processMethodSignature]_block_invoke_2.198 + 111",
    "2 ReactNavigationDemo 0x000000010df01d9d __59-[RCTHotUpdate downloadPatchFromPackage:resolver:rejecter:]_block_invoke + 145",
    "3 ReactNavigationDemo 0x000000010def7e21 __73-[RCTHotUpdateManager copyFiles:fromDir:toDir:deletes:completionHandler:]_block_invoke + 1006",
    "4 libdispatch.dylib 0x00000001137ca3f7 _dispatch_call_block_and_release + 12",
    "5 libdispatch.dylib 0x00000001137cb43c _dispatch_client_callout + 8",
    "6 libdispatch.dylib 0x00000001137d395b _dispatch_queue_serial_drain + 1162",
    "7 libdispatch.dylib 0x00000001137d42df _dispatch_queue_invoke + 336",
    "8 libdispatch.dylib 0x00000001137d71f9 _dispatch_root_queue_drain + 772",
    "9 libdispatch.dylib 0x00000001137d6e97 _dispatch_worker_thread3 + 132",
    "10 libsystem_pthread.dylib 0x0000000113c8f5a2 _pthread_wqthread + 1299",
    "11 libsystem_pthread.dylib 0x0000000113c8f07d start_wqthread + 13"
    );
    sourceURL = "file:///Users/tianya/Library/Developer/CoreSimulator/Devices/BB3F8B9B-5DC6-4296-A0D3-CBD4EB78254A/data/Containers/Bundle/Application/F51A54C5-132D-4626-9280-22CE757DBB45/ReactNavigationDemo.app/main.jsbundle";
    userInfo = {
    NSFilePath = "/Users/tianya/Library/Developer/CoreSimulator/Devices/BB3F8B9B-5DC6-4296-A0D3-CBD4EB78254A/data/Containers/Bundle/Application/F51A54C5-132D-4626-9280-22CE757DBB45/ReactNavigationDemo.app/assets/resources/\U03a3\U2555\U2557\U0398\U00ed\U2561-2.png";
    NSUnderlyingError = {
    code = 2;
    domain = NSPOSIXErrorDomain;
    message = "underlying error";
    nativeStackIOS = (
    "0 ReactNavigationDemo 0x000000010de8e5a0 RCTJSErrorFromCodeMessageAndNSError + 80",
    "1 ReactNavigationDemo 0x000000010de8e78e RCTJSErrorFromCodeMessageAndNSError + 574",
    "2 ReactNavigationDemo 0x000000010de5964c __41-[RCTModuleMethod processMethodSignature]_block_invoke_2.198 + 111",
    "3 ReactNavigationDemo 0x000000010df01d9d __59-[RCTHotUpdate downloadPatchFromPackage:resolver:rejecter:]_block_invoke + 145",
    "4 ReactNavigationDemo 0x000000010def7e21 __73-[RCTHotUpdateManager copyFiles:fromDir:toDir:deletes:completionHandler:]_block_invoke + 1006",
    "5 libdispatch.dylib 0x00000001137ca3f7 _dispatch_call_block_and_release + 12",
    "6 libdispatch.dylib 0x00000001137cb43c _dispatch_client_callout + 8",
    "7 libdispatch.dylib 0x00000001137d395b _dispatch_queue_serial_drain + 1162",
    "8 libdispatch.dylib 0x00000001137d42df _dispatch_queue_invoke + 336",
    "9 libdispatch.dylib 0x00000001137d71f9 _dispatch_root_queue_drain + 772",
    "10 libdispatch.dylib 0x00000001137d6e97 _dispatch_worker_thread3 + 132",
    "11 libsystem_pthread.dylib 0x0000000113c8f5a2 _pthread_wqthread + 1299",
    "12 libsystem_pthread.dylib 0x0000000113c8f07d start_wqthread + 13"
    );
    userInfo = {
    };
    };
    };
    };
    type = default;
    },
    25
    )


  • administrators

    iOS模拟器不能测试热更新


登录后回复