当前位置: 首页 > 知识库问答 >
问题:

React Native无法生成iOS项目。我们运行了“xcodebuild”命令,但它退出了,错误代码为65。问题在于所有的项目

洪博涛
2023-03-14

尝试使用React native run ios运行任何项目时,我遇到以下错误:

我已经尝试了所有的解决方案,还有更多,但都不起作用。

错误:无法生成iOS项目。我们运行了“xcodebuild”命令,但它退出了,错误代码为65

错误:无法生成iOS项目。我们运行了“xcodebuild”命令,但它退出了,错误代码为65。要进一步调试构建日志,请考虑使用Xcode构建应用程序。应用程序,通过打开proj。xcworkspace。有关详细信息,请使用--verbose标志运行CLI。

命令行调用: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild-工作空间proj.xcworkspace-配置调试-方案proj-目标id=13B67855-76F9-4755-A1A5-7B5AEBC6D1C5

命令行中的用户默认值:IDEPackageSupportUseBuiltinSCM=YES

准备生成警告:旧版生成系统将在未来版本中删除。您可以在文件中配置所选的生成系统和此弃用消息

检查依赖项

Libtools /Users/user/Work/weber/mobile-app/proj-mobile/ios/build/Debug-iphonesimulator/glog/libglog.a正常x86_64cd /Users/user/Work/weber/mobile-app/proj-mobile/ios/Pods导出IPHONEOS_DEPLOYMENT_TARGET=10.0导出PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/User/user/Library/Android/sdk/tools:/用户/用户/库/Android/sdk/平台-工具" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool-静态-arch_onlyx86_64-D-syslbroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk-L/用户/用户/工作/韦伯/移动应用程序/proj-mobile/ios/构建/调试-iphone模拟器/glog-filelist /Users/user/Work/weber/mobile-app/proj-mobile/ios/build/Pods.build/Debug-iphonesimulator/glog.build/Objects-normal/x86_64/glog.LinkFileList-o /Users/user/Work/weber/mobile-app/proj-mobile/ios/build/Debug-iphonesimulator/glog/libglog.a

===构建目标双倍转换带有配置调试的项目Pods===检查依赖项

Libtool/Users/user/Work/weber/mobile app/proj mobile/ios/build/Debug iphonesimulator/DoubleConversion/libDoubleConversion。普通的x86_64 cd/Users/user/Work/weber/mobile app/proj mobile/ios/Pods导出IPHONEOS_部署_TARGET=10.0导出路径=“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Developer/usr/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/user/Library/Android/sdk/tools:/Users/user/Library/Android/sdk/platform tools”/Applications/Xcode。app/Contents/Developer/toolschains/xcodefault。xctoolchain/usr/bin/libtool-static-arch_only x86_64-D-syslibroot/Applications/Xcode。app/Contents/Developer/Platforms/iPhoneSimulator。平台/开发者/SDK/iPhone模拟器14。5.sdk-L/Users/user/Work/weber/mobile app/proj mobile/ios/build/Debug iphonesimulator/DoubleConversion-filelist/Users/user/Work/weber/mobile app/proj mobile/ios/build/Pods。构建/调试iPhone模拟器/双重转换。build/Objects normal/x86_64/DoubleConversion。LinkFileList-o/Users/user/Work/weber/mobile app/proj mobile/ios/build/Debug iphonesimulator/DoubleConversion/libDoubleConversion。A.

===使用配置调试构建项目Pods的聚合目标提升-反应-原生===

检查依赖项

==使用配置调试构建目标React核心可访问性项目POD资源===检查依赖项

ProcessInfoPlistFile/Users/user/Work/weber/mobile app/proj mobile/ios/build/Debug iPhone Simulator/React Core/AccessibilityResources。捆绑/信息。plist Target\Support\Files/React Core/ResourceBundle AccessibilityResources React Core Info。plist cd/Users/user/Work/weber/mobile app/proj mobile/ios/Pods export PATH=“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/usr/bin:/usr/bin:/usr/sbin:/Library/Apple/usr/bin:/Users/user/Library/Android/sdk/tools:/Users/user/Library/Android/sdk/platform tools”内置infoPlistUtility/Users/user/Work/weber/mobile app/proj mobile/ios/Pods/Target\Support\Files/React Core/ResourceBundle可访问性资源React Core信息。plist-expandbuildsettings-format binary-platform iphonesimulator-o/Users/user/Work/weber/mobile app/proj mobile/ios/build/Debug iphonesimulator/React Core/accessibility资源。捆绑/信息。普利斯特

ProcessProductPackaging”“/Users/user/Work/weber/mobile app/proj mobile/ios/build/Pods。构建/调试iPhone模拟器/React核心访问资源。构建/访问资源。模拟束。xcent cd/Users/user/Work/weber/mobile app/proj mobile/ios/Pods export PATH=“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Xcode.app/Contents/Developer/bin:/usr/bin:/usr/sbin:/Library/Apple/usr/bin:/user/Library/Android/sdk/tools:/Users/user/Library/Android/sdk/platform tools”

共有1个答案

国俊艾
2023-03-14

我有不同的外观错误,也和你在这里给出的类似,每次都是因为“准备构建失败、遗留构建等”。

我只是将构建系统从遗留系统更改为新系统,所有项目都运行顺利。尝试一下,让我知道它是否也适用于您。

设置路径为:Xcode-

 类似资料: