无法在Xcode中打开Flutter项目。

huangapple go评论136阅读模式
英文:

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".

huangapple
  • 本文由 发表于 2023年6月26日 00:19:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76551375.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定