我在 Mac 上安装了 Xcode 12,尝试构建在 android 上完美运行的 React Native 应用程序,并获得'atomic_notify_one<unsigned long>' is unavailable. 这是我从错误中获得的最多信息。
我无法使用 Xcode 12.5 构建使用 Xcode 11 正确构建的 React Native 项目。
我不能再使用 Xcode 11,因为只有更新的 Xcode 版本才带有必要的 API 来发布/上传到 TestFlight 和应用商店。
现在我收到三个构建错误:
Cannot initialize a parameter of type 'NSArray<id<RCTBridgeModule>> *' with an rvalue of type 'NSArray<Class> *'
Cannot initialize a parameter of type 'NSArray<id<RCTBridgeModule>> *' with an rvalue of type 'NSArray<Class> *'
Cannot initialize a parameter of type 'NSArray<id<RCTBridgeModule>> *' with an rvalue of type 'NSArray<Class> *'
Run Code Online (Sandbox Code Playgroud)
我还注意到部署目标从 10 和 9 自动升级:
- IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.1;
Run Code Online (Sandbox Code Playgroud)
添加了一些与 Clang …