Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vapor Xcode project structure off

Tags:

xcode

swift

vapor

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?

like image 759
Xeaza Avatar asked Nov 09 '22 06:11

Xeaza


1 Answers

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

like image 174
Mark Smith Avatar answered Dec 17 '22 04:12

Mark Smith