Just a day ago, Flutter, a new hybrid (mobile apps) development framework released by Google Inc.
就在一天前,Flutter,谷歌公司发布的新混合(移动应用程序)开发框架。
I installed Flutter SDK, following steps, provided from this link: Install on macOS - iOS setup.
我安装了Flutter SDK,按照以下步骤提供:在macOS上安装 - iOS设置。
But unable create a new sample project in Xcode. I can't find proper way to start a new project using Xcode.
但无法在Xcode中创建新的示例项目。我找不到使用Xcode开始新项目的正确方法。
Here are steps to start a new sample project but not for Xcode: Get Started: Test Drive
以下是启动新示例项目但不适用于Xcode的步骤:入门:试用版
How to create a new Flutter project in Xcode?
如何在Xcode中创建一个新的Flutter项目?
I'm using Xcode 9.3 - beta 3
我正在使用Xcode 9.3 - beta 3
2 个解决方案
#1
5
There's no need to use XCode
没有必要使用XCode
You can just do a flutter create myProjectName
in the terminal
你可以在终端中做一个颤动创建myProjectName
#2
2
Yet, there is no way to create a project using Xcode Editor.
但是,没有办法使用Xcode Editor创建项目。
As of now, you must have to create a project using 'Terminal' app.
截至目前,您必须使用“终端”应用程序创建项目。
Here I created a sample test_project
using following terminal command
在这里,我使用以下terminal命令创建了一个示例test_project
flutter create test_project
And here is my Xcode Project ready with workspace.
这是我的Xcode项目准备工作区。
#1
5
There's no need to use XCode
没有必要使用XCode
You can just do a flutter create myProjectName
in the terminal
你可以在终端中做一个颤动创建myProjectName
#2
2
Yet, there is no way to create a project using Xcode Editor.
但是,没有办法使用Xcode Editor创建项目。
As of now, you must have to create a project using 'Terminal' app.
截至目前,您必须使用“终端”应用程序创建项目。
Here I created a sample test_project
using following terminal command
在这里,我使用以下terminal命令创建了一个示例test_project
flutter create test_project
And here is my Xcode Project ready with workspace.
这是我的Xcode项目准备工作区。