Skip to content

Setup iOS environment

Harel M edited this page Jul 16, 2020 · 3 revisions

Using a Mac:

  • Install nodejs
  • Install VS Code
    • You'll need to drag it to applications after extraction
  • Install XCode from app store
  • Set git user.email: git config --global user.email "<github's e-mail>"
  • sudo npm install -g ios-sim
  • sudo npm install -g ios-deploy --unsafe-perm=true
  • git clone ... to the desired location.
  • How to manage user secrets can be read here

Using a Windows machine

(I haven't found a way to connect a iOS device to the virtual machine though...):

  • Install Virtual box
  • Using the manual here to configure it to run
  • Update the OS to latest version
  • Download and install xCode 9.2 (which supports this version) from here
  • Double click the xip file, it will extract the xCode app
  • Drag it to applications
  • Install nodejs
  • sudo npm install -g ios-sim
  • sudo npm install -g ios-deploy --unsafe-perm=true