英文:
Unable to open flutter project in Xcode
问题
在终端使用命令'flutter create myapp'创建了一个Flutter项目后,尝试在Xcode中打开该项目时出现错误消息。然而,我可以在VS Code和Android Visual Studio中打开同一个项目。
<img src="https://i.stack.imgur.com/bX026.png" height="300">
有人能帮助我理解错误的原因以及如何解决吗?
我尝试使用"打开现有项目"选项在Xcode中打开。
英文:
After I created a flutter project in terminal using the command 'flutter create myapp' and try to open that project in Xcode, getting error message. However I am able to open the same project in VS code and Android Visual Studio.
<img src="https://i.stack.imgur.com/bX026.png" height="300">
Could someone help me to understand the reason of the error and how to sort it out?
I tried opening in Xcode using open existing project option
答案1
得分: 0
只有在Flutter项目内的iOS项目可以使用Xcode打开。在VSCode中,右键点击iOS目录,然后点击“在Xcode中打开”。
英文:
Only the iOS project within the flutter project can be opened with Xcode. Inside VSCode, right click on the iOS directory, and click "Open in Xcode".
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论