# Server Side Swift with Vapor - Part 9: Controllers | Ray Wenderlich

**URL:** <https://forums.kodeco.com/t/server-side-swift-with-vapor-part-9-controllers-ray-wenderlich/39708>\
**Category:** 🎓 Courses & Articles\
**Created:** [February 22, 2018, 8:05pm UTC](https://forums.kodeco.com/t/server-side-swift-with-vapor-part-9-controllers-ray-wenderlich/39708 "2018-02-22T20:05:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![0xtim](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/0xtim/32/111111_2.png) [@0xtim](https://forums.kodeco.com/u/0xtim)\
**Post date:** [February 25, 2018, 12:18pm UTC](https://forums.kodeco.com/t/server-side-swift-with-vapor-part-9-controllers-ray-wenderlich/39708/5 "2018-02-25T12:18:18Z")

</div>

@toinewx you _can_ use Xcode you just have to be really careful about:

- what target membership you select - Xcode doesn’t have great integration with SPM yet to be able to make this easy, it just picks the first target it knows about which is usually a dependency
- where you save the file. If you save it in the wrong place then it will work up until you regenerate your project then you are going to get errors

See [Server Side Swift with Vapor - Part 8: Models And | Ray Wenderlich - #7 by simonqq](https://forums.kodeco.com/t/server-side-swift-with-vapor-part-8-models-and-ray-wenderlich/39500/7) as an example for errors caused by this.

So in short it is certainly possible (and I do it half the time) but it can cause issues which is why I suggest to do it through terminal, especially while people get used to SPM 🙂

---

_[View the full topic](https://forums.kodeco.com/t/server-side-swift-with-vapor-part-9-controllers-ray-wenderlich/39708)._
