indirect_symbol_bindings[i] = cur->rebindings[j].replacement;

Xcode升级 11.1 RN 项目 运行到 iPhone X是max 上 奔溃:

image.png

修改这段代码

//if (i < ( sizeof(indirect_symbol_bindings) / sizeof(indirect_symbol_bindings[0]))) {
               //if (cur != NULL) {
                  // indirect_symbol_bindings[i] = cur->rebindings[j].replacement;
      //}
//}
if(i < (sizeof(indirect_symbol_bindings) /sizeof(indirect_symbol_bindings[0]))) {

                indirect_symbol_bindings[i] = cur->rebindings[j].replacement;

}

你可能感兴趣的:(indirect_symbol_bindings[i] = cur->rebindings[j].replacement;)