-
Notifications
You must be signed in to change notification settings - Fork 9
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.
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:
- Right click the install script
- Choose
Open With - Choose your text editor of choice
- On line 3 of the script, change the
/Applications/Xcode.appportion 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'
- Save the changes
- Double click the install script
- Enter your root password if needed
- You typically have to enter your root password because we are modifying the contents of the
Xcode.appto create the symbolic links to the templates.
- All done!