Vapor: Can't Run Hello Vapor Project on Xcode

Created on 27 May 2017  路  4Comments  路  Source: vapor/vapor

Here are the steps I took.
Type "vapor new Hello" and then "y" in terminal.
In Xcode, when I clicked run, it builds but doesn't run. Debug console is empty.
When I executed "vapor build" and "vapor run" in the terminal, it runs though.
I have Xcode 8.3.2, Swift 3.1, Vapor Toolbox 2.0.3, Vapor Framework 2.0.0.
Thanks!

Most helpful comment

@tanner0101 @jsl303 Brings up a good point. We may want to add this to the documentation for beginners.

All 4 comments

@jsl303 Can you confirm that you selected "Run" see the attached image for an example.

screen shot 2017-05-26 at 11 59 32 pm

Thanks!!! That was what was missing! I don't remember ever checking run
from the Scheme for my IOS/OSX projects. Maybe it's checked by default
for those.
Would you be able to add the instruction to Xcode part of the
documentation for beginners?
Thanks again!

@tanner0101 @jsl303 Brings up a good point. We may want to add this to the documentation for beginners.

@Aaron-A great suggestion, submitted a PR to documentation 馃憤

Was this page helpful?
0 / 5 - 0 ratings