React Native无法构建iOS项目.我们运行了"xcodebuild"命令,但它退出了,错误



当我尝试使用React本机运行ios运行任何项目时,会出现以下错误:

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

error无法生成iOS项目。我们跑了";xcodebuild";命令,但它退出并返回错误代码65

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

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

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

准备构建警告:旧版生成系统将在将来的版本中删除。您可以在文件>中配置所选的生成系统和此弃用消息;工作区设置。===构建带有配置调试的项目吊舱的目标glog===

检查相关性

Libtool/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.0export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer//usr/bin:/usr/bin:/bin:/Library/Apple/usr/bin:/Users/user/Library/Android/sdk/tools:/Users/user/Lebrary/Andriod/sdk/platform-tools;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool-static-arch_only x86_64-D-syslibroot/Applications/Xcode/app/Contents/Developer/Platforms/iPhoneSimulator.platform/Develer/SDKs/iPhoneSimulator 14.5.sdk-L/Users/Work/weber/mobile-app/proj-mobile/ios/build/Debug iPhoneSimulator/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/webr/mobile-app/proj-mobile/ios/build/Debug-Iphonesimurator/glog/libglog.a

===构建目标通过配置调试实现项目吊舱的双重转换===检查相关性

Libtool/Users/user/Work/weber/mobile-app/proj-mobile/ios/build/Debug iphonesimulator/DoubleConversion/libDoubleConversion.anormal x86_64cd/Users/user/Work/weber/mobile-app/proj-mobile/ios/Pods导出IPHONEOS_DEPLOYMENT_TARGET=10.0export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer//usr/bin:/usr/bin:/bin:/Library/Apple/usr/bin:/Users/user/Library/Android/sdk/tools:/Users/user/Lebrary/Andriod/sdk/platform-tools;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool-static-arch_only x86_64-D-syslibroot/Applications/Xcode/app/Contents/Developer/Platforms/iPhoneSimulator.platform/Develer/SDKs/iPhoneSimulator 14.5.sdk-L/Users/Work/weber/mobile-app/proj-mobile/ios/build/Debug iPhoneSimulator/DoubleConversion-文件列表/Users/user/Work/weber/mobile-app/proj-mobile/ios/build/Pods.build/Debug-iphonesimulator/DoubleConversion.build/Objects-normal/x86_64/DoubleConversion.LinkFileList-o/Users/user/Work/webr/mobile-app/proj-mobile/ios/build/Debug-Iphonesimurator/Double Conversion/libDoubleConversion.a

===通过配置调试为项目播客的本地react构建聚合目标提升===

检查相关性

===构建目标React核心可访问性资源的项目吊舱与配置调试===检查相关性

ProcessInfoPlistFile/user/user/Work/weber/mobile-app/proj-mobile/ios/build/Debug iphonesimulator/Rect Core/AccessibilityResources.bundle/Info.plist Target\Support\Files/Rect Core/ResourceBundle-AccessibilityResources-React Core-Info.plistcd/Users/user/Work/weber/mobile-app/proj-mobile/ios/Podsexport PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer//usr/bin:/usr/bin:/bin:/Library/Apple/usr/bin:/Users/user/Library/Android/sdk/tools:/Users/user/Lebrary/Andriod/sdk/platform-tools;内置infoPlistUtility/user/user/Work/weber/mobile-app/proj-mobile/ios/Pods/Target\Support\Wiles/React Core/ResourceBundle-AccessibilityResources-React-Core-Info.plist-expandbuildsettings-format binary-平台iphonesimulator-o/user/user/Wwork/weber/mobile-app/proj-mobile/ios/build/Debug iphonesimurator/Rect Core/AccessibilityResources。bundle/Info.plist

ProcessProductPackaging"用户/user/Work/weber/mobile-app/proj-mobile/ios/build/Pods.build/Debug-iphoneimulator/Rect-Core-AccessibilityResources.build/Accessibility Resources.bundle-Simulated.excentcd/Users/user/Work/weber/mobile-app/proj-mobile/ios/Podsexport PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer//usr/bin:/usr/bin:/bin:/Library/Apple/usr/bin:/Users/user/Library/Android/sdk/tools:/Users/user/Lebrary/Andriod/sdk/platform-tools;

我有不同的外观错误,也与这里给出的类似,每次都是由于"准备构建失败,遗留构建等"。

我只是简单地将构建系统从传统系统更改为新系统,所有项目都顺利运行。试试看,让我知道它是否也适用于你。

设置路径为:Xcode->文件->工作区设置->构建系统

最新更新