[英]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.