# Yay\_Autolayout - 'Yay\_Autolayout' is not a valid command

**URL:** <https://forums.kodeco.com/t/yay-autolayout-yay-autolayout-is-not-a-valid-command/38153>\
**Category:** Advanced Apple Debugging\
**Created:** [January 2, 2018, 9:53am UTC](https://forums.kodeco.com/t/yay-autolayout-yay-autolayout-is-not-a-valid-command/38153 "2018-01-02T09:53:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauladdy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/pauladdy/32/104527_2.png) [@pauladdy](https://forums.kodeco.com/u/pauladdy)\
**Post date:** [January 2, 2018, 9:53am UTC](https://forums.kodeco.com/t/yay-autolayout-yay-autolayout-is-not-a-valid-command/38153/1 "2018-01-02T09:53:36Z")

</div>

Following in the book, I get the below error in the Xcode console after ctrl+o in nano and pausing execution. It’s supposed to dump out all the views in the applications, but does not. What did I miss in the instructions?

Error:  
(lldb) Yay\_Autolayout  
error: ‘Yay\_Autolayout’ is not a valid command.  
error: Unrecognized command ‘Yay\_Autolayout’.

---

<div class="post-metadata">

**Author:** ![pauladdy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/pauladdy/32/104527_2.png) [@pauladdy](https://forums.kodeco.com/u/pauladdy)\
**Post date:** [January 2, 2018, 9:58am UTC](https://forums.kodeco.com/t/yay-autolayout-yay-autolayout-is-not-a-valid-command/38153/2 "2018-01-02T09:58:36Z")

</div>

I think its related to the “nano ~/.lldbinit”, as indicated by the nano viewer it creates this in “File Name to Write: /Users/pauladdy/.lldbinit”. I thought it would create it in root so that Xcode picks up on it… ?

---

<div class="post-metadata">

**Author:** ![pauladdy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/pauladdy/32/104527_2.png) [@pauladdy](https://forums.kodeco.com/u/pauladdy)\
**Post date:** [January 2, 2018, 10:03am UTC](https://forums.kodeco.com/t/yay-autolayout-yay-autolayout-is-not-a-valid-command/38153/3 "2018-01-02T10:03:35Z")

</div>

Resolved it on my own by switching to the vi editor.

---

<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:** [July 4, 2018, 9:01pm UTC](https://forums.kodeco.com/t/yay-autolayout-yay-autolayout-is-not-a-valid-command/38153/5 "2018-07-04T21:01:35Z")

</div>



---

<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:** [July 4, 2018, 9:02pm UTC](https://forums.kodeco.com/t/yay-autolayout-yay-autolayout-is-not-a-valid-command/38153/6 "2018-07-04T21:02:12Z")

</div>

@pauladdy Thank you for sharing the solution - much appreciated!
