How to use GCS WebServer


  1. Open xcode: menu -> file -> new project -> testWebServer. and close xcode.
  2. open terminal and go to the project directory, say: cd ~/src/testWebServer.
  3. open an editor and make a Podfile.
  4. $ pod install
  5. now you have testWebServer.workspace. open it by double clicking it.
  6. copy and paste: ViewController.m and ViewController.h
  7. copy the root (www/) directory: Project Navigator(left pane) -> add Files -> copy items checked.
  8. if there is symbolic links in your www, that was handled by a shell script.
    1. Build phases -> + -> Run Script:
    2. change shell from /bin/sh to /bin/bash.
    3. copy and past the script: copy_handle_symbolic_link.bash
    4. if thre is an error, go to Report Navigator (left pane) or shortcut key: command + 9. you can see the output of the script.

Go back to Computer

Since 20260418