Skip to content

Installation Troubleshooting

Ryan Bush edited this page Apr 24, 2017 · 5 revisions

The installation of the VIPER templates is meant to be as easy and seamless as possible. The install script creates a symbolic link in the Xcode directory to the templates. This allows them to integrate directly into Xcode and be easily used through the File->New File Xcode flow. However, there is a problem that can arise based on the assumption of the install script.

Default Xcode Location

If your Xcode is not installed in the default /Applications/Xcode location, then you will need to change this path inside the install script itself. It is very easy though:

  1. Right click the install script
  2. Choose Open With
  3. Choose your text editor of choice
  4. On line 3 of the script, change the /Applications/Xcode.app portion of the string.
  • If your Xcode application was installed in /some/other/location/Xcode.app, then your resulting string would look something like:
SOURCE_DIRECTORY='/some/other/location/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File\ Templates/Source'
  1. Save the changes
  2. Double click the install script
  3. Enter your root password if needed
  • You typically have to enter your root password because we are modifying the contents of the Xcode.app to create the symbolic links to the templates.
  1. All done!

Clone this wiki locally