简体   繁体   English

ProcessException:进程异常退出:命令行调用:/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list

[英]ProcessException: Process exited abnormally: Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list

There was an error when I try to build my flutter project for iOS.当我尝试为 iOS 构建我的颤振项目时出现错误。 I had errors about the cocopoad, I deleted Podfile, podfile.lock, Pod and .workspace project.我有关于 cocopoad 的错误,我删除了 Podfile、podfile.lock、Pod 和 .workspace 项目。 Then I run flutter run It created Podfile and I run pod install--allow-root after all I tried restarting IDE and run application on the simulator It run.然后我运行flutter run It created Podfile 并运行pod install--allow-root毕竟我尝试重新启动 IDE 并在它运行的模拟器上运行应用程序。 But when I run application on VSCode using flutter run it shows this error:但是当我使用flutter run在 VSCode 上运行应用程序时,它会显示此错误:


ProcessException: Process exited abnormally: Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list ProcessException:进程异常退出:命令行调用:/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list

User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES命令行中的用户默认值:IDEPackageSupportUseBuiltinSCM = YES

xcodebuild: error: Unable to read project 'Runner.xcodeproj'. xcodebuild:错误:无法读取项目“Runner.xcodeproj”。 Reason: Project /Users/Zer01onE/Desktop/flutter/deliveryapp/ios/Runner.xcodeproj cannot be opened because it is missing its project.pbxproj file.原因:项目 /Users/Zer01onE/Desktop/flutter/deliveryapp/ios/Runner.xcodeproj 无法打开,因为它缺少其 project.pbxproj 文件。 Command: xcrun xcodebuild -list命令:xcrun xcodebuild -list


Could you help me please.请问你能帮帮我吗。

In the project directory, right-click on project.pbxproj->Git->Rollback.在工程目录下,右键project.pbxproj->Git->Rollback。 This solved my problem.这解决了我的问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 命令/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool失败,退出代码为255 - Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255 Xcode 6.0.1命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1 - Xcode 6.0.1 Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 Xcode 7失败,命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1 - Xcode 7 fails with Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 XCode - 命令 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc 失败,退出代码 1 - XCode - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 错误:命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1 - Error: Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang失败,退出代码为1 - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 生成失败并显示错误命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc - Build failed with error Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc 错误 - 命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1 - Error — Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 命令 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 失败,退出代码为 1 - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool失败,退出代码为255 - /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM