我是IOS开发的新手,尤其是Xcode,我无法找到解决我的问题的方法,所以我希望这里的人能够帮助我。
到目前为止,我设法在 android 和 ios 中构建了我的 react native 应用程序,但现在已经有几天我无法再构建 ios 应用程序了,因为它使用了“新构建系统”。
我知道我必须使用旧的,我以前做过,而且效果很好。但是现在尽管选择了“使用旧版构建系统”选项,但当我运行“react-native run-ios”时它仍然使用新的,这会导致几个错误并导致构建失败。 这是我选择 Legacy Build System 选项的地方
info Launching iPhone 11 (iOS 13.3)
info Building (using "xcodebuild -workspace App.xcworkspace -configuration Debug -scheme App -destination id=AA1BDEDE-F4B6-46B5-95EF-E0428BCE27B8 -derivedDataPath build/App")
....................................................................
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening Drinky.xcworkspace. Run CLI with --verbose flag for more details.
User defaults from command line:
IDEDerivedDataPathOverride = /Users/user/App/ios/build/App
note: Using new build system
note: Planning build
note: Constructing build description
Build system information