All things iOS & Swift

Enabling root via terminal to access REPL

  • first of, go to terminal and enable root
  • type in, dsenableroot
  • It will ask for you user account password and will ask for you root password
  • you can enter any password for root as your default pw during prompt
  • after enabling, log in as root, type
  • su root
  • enter your root password you provided previously
  • after that, type swift in the terminal   Screen Shot 2015-08-04 at 7.16.01 PM
  • keep pressing space until you are ask to agree, print, or cancel Screen Shot 2015-08-04 at 7.17.12 PM
  • and your done, you can start using RPLScreen Shot 2015-08-04 at 7.18.00 PM

Leave A Comment

Your email address will not be published.