Follow

Updating Pugpig Projects

How to update your Pugpig projects

Whenever you update, you will need to update your PugPig libraries to the latest version.

Install the Latest Version of the Pugpig Libraries

Ensure the old version of Pugpig has been deleted from <USER>/Library/Developer/Xcode/Templates/Application/Pugpig Live Application.xctemplate before attempting to update. Install the current versions of the Pugpig templates from the Pugpig website.

Replace the Old Framework Directories

Depending on the version of Pugpig you are using, your project file will contain some or all of three Pugpig framework directories.

Pugpig.framework
PugpigPro.framework
PugpigNetwork.framework
These folders will need to be deleted and replaced with the respective new frameworks installed from the new template files.

As of Pugpig 1.8 the frameworks should be copied from:

<USER>/Library/Developer/Xcode/Templates/Application/Pugpig Live Application.xctemplate/
For older versions of Pugpig, the location of the template frameworks that will need to be copied will depend on the version of Xcode you are using. For newer versions of Xcode you will find the framework files in:

<USER>/Library/Developer/Xcode/Templates/Application/Pugpig Live Application.xctemplate/LLVM3/
For much older versions of Xcode (4.0.1 for example), you will find the framework files in:

<USER>/Library/Developer/Xcode/Templates/Application/Pugpig Live Application.xctemplate/LLVM2/
Once these directories have been replaced in your project folder, open your project in Xcode and ensure it builds without error.

Specific Changes Between Versions of Pugpig Live

Depending on your current version, you may need to update your own project to reflect any breaking changes. We try to keep such changes to a minimum.

Upgrading version 2.0.2 to 2.1
Upgrading version 2.0 to 2.0.2
Upgrading version 1.8 to 2.0
Upgrading version 1.7 to 1.8
Upgrading version 1.6 to 1.7
Upgrading version 1.5 to 1.6
Upgrading version 1.4 to 1.5
Upgrading version 1.3 to 1.4
Upgrading version 1.2 to 1.3
Upgrading version 1.1 to 1.2

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk