# Chapter 11 - Need to Set Working Directory?

**URL:** <https://forums.kodeco.com/t/chapter-11-need-to-set-working-directory/103060>\
**Category:** Server Side Swift with Kitura\
**Created:** [March 27, 2020, 5:57pm UTC](https://forums.kodeco.com/t/chapter-11-need-to-set-working-directory/103060 "2020-03-27T17:57:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![barrymcbride](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/barrymcbride/32/87978_2.png) [@barrymcbride](https://forums.kodeco.com/u/barrymcbride)\
**Post date:** [March 27, 2020, 5:57pm UTC](https://forums.kodeco.com/t/chapter-11-need-to-set-working-directory/103060/1 "2020-03-27T17:57:11Z")

</div>

When working through the chapter 11 tutorial on Stencil, I couldn’t get the app to find the “/public” directory until I set the working directory in XCode.

This process is discussed here:  
[https://www.raywenderlich.com/6712727-file-handling-tutorial-for-server-side-swift-part-1](https://www.raywenderlich.com/6712727-file-handling-tutorial-for-server-side-swift-part-1)

But not in the book… just in case someone else runs into this same issue.

Am I doing something wrong that I had to edit my Xcode scheme in this way?

Xcode 11.4  
Swift 5.2

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [April 6, 2020, 8:36am UTC](https://forums.kodeco.com/t/chapter-11-need-to-set-working-directory/103060/2 "2020-04-06T08:36:11Z")

</div>

@dokun1 Can you please help with this when you get a chance? Thank you - much appreciated! :]
