How to use GCS WebServer
- Open xcode: menu -> file -> new project -> testWebServer. and close xcode.
- open terminal and go to the project directory, say: cd ~/src/testWebServer.
- open an editor and make a Podfile.
- $ pod install
- now you have testWebServer.workspace. open it by double clicking it.
- copy and paste: ViewController.m and ViewController.h
- copy the root (www/) directory: Project Navigator(left pane) -> add Files -> copy items checked.
- if there is symbolic links in your www, that was handled by a shell script.
- Build phases -> + -> Run Script:
- change shell from /bin/sh to /bin/bash.
- copy and past the script: copy_handle_symbolic_link.bash
- 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