Xeaza
Xeaza

Reputation: 1480

Vapor Xcode project structure off

I'm making my way through the vapor tutorial videos on Ray Wenderlich's site.

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.
enter image description here

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. The folder structure I see is not the same.
enter image description here

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.
enter image description here ... and on until finally the last folder listed is the App folder.

Running this command curl -sL check.vapor.sh | bash I can see that my vapor installation was successful. I'm using Vapor Toolbox v1.0.3 and Xcode 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?

Upvotes: 6

Views: 593

Answers (1)

user81434
user81434

Reputation:

This was reported as a bug, see https://github.com/apple/swift-package-manager/pull/777.

Upvotes: 1

Related Questions