An unknown server side error

I’m not sure why the build is failing when you run the build.sh file.

A couple of questions:

  1. Does the SafariLauncher app build in XCode successfully?
  2. Are you using XCODE 7.X?
  3. Is the build.sh file in the same directory as your XCODE built SafariLauncher app and did you navigate to this folder to in terminal before running the bash build.sh command?

The path reported in your post:
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" doesn’t seem valid.