简体   繁体   English

Vapor Xcode项目结构关闭

[英]Vapor Xcode project structure off

I'm making my way through the vapor tutorial videos on Ray Wenderlich's site . 我通过我的方式教程视频 Wenderlich的 网站

In the Xcode project in the videos, it shows a nice clean folder structure, like how the folder structure is defined in the vapor docs . 在视频中的Xcode项目中,它显示了一个漂亮的干净文件夹结构,就像在文档中定义文件夹结构一样。
在此输入图像描述

When I follow the same steps to create a new vapor project and use xcode as the docs and videos show, vapor new my-project -> cd my-project -> vapor xcode . 当我按照相同的步骤创建一个新的蒸汽项目并使用xcode作为文档和视频显示时, vapor new my-project - > cd my-project - > vapor xcode The folder structure I see is not the same. 我看到的文件夹结构不一样。
在此输入图像描述

The folder structure I see (above) I can use just fine. 我看到的文件夹结构(上图)我可以使用得很好。 However, when I open the Sources folder(group) I see all the vapor dependencies listed instead of just the App folder. 但是,当我打开Sources文件夹(组)时,我看到列出了所有的Steam依赖项,而不仅仅是App文件夹。
在此输入图像描述 ... and on until finally the last folder listed is the App folder. ...直到最后列出的最后一个文件夹是App文件夹。

Running this command curl -sL check.vapor.sh | bash 运行此命令curl -sL check.vapor.sh | bash curl -sL check.vapor.sh | bash I can see that my vapor installation was successful. curl -sL check.vapor.sh | bash我可以看到我的蒸汽安装成功了。 I'm using Vapor Toolbox v1.0.3 and Xcode Version 8.1 (8B62) 我正在使用Vapor Toolbox v1.0.3Xcode Version 8.1 (8B62)

Does anyone know how to use vapor xcode and have it generate an Xcode project where the vapor dependencies don't show up in the Sources folder? 有谁知道如何使用 vapor xcode 并让它生成一个Xcode项目,其中蒸汽依赖性不会出现在 Sources 文件夹中?

据报道这是一个错误,请参阅https://github.com/apple/swift-package-manager/pull/777

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM