1、RCTRootView属于react-native依赖的类,解决方法:直接执行命令行sudo npm install ,然后Product->Clean,重新运行。
2、将SecRandomCopyBytes(kSecRandomDefault, keyBytes.length, keyBytes.mutableBytes);改为(void)SecRandomCopyBytes(kSecRandomDefault, sizeof(keyBytes.length), (uint8_t *)keyBytes.mutableBytes);