Upgrading your iOS project

Below is a guide on how to install and update existing projects with the new versions of Pugpig Products on iOS.

Step 1: Back up your project code

Step 2: Run the installer for the latest version available

Step 3: Ensure the installer has run correctly and replaced the old version(s)

Go to: <USER>/Library/Developer/Xcode/Templates/Application/<Pugpig for...xctemplate>

  • Pugpig for Magazines Application.xctemplate
  • Pugpig for Continuous Publishing Application.xctemplate

*Open a Finder window and press 'Alt' + Click on the Go drop-down to display a shortcut to your Library directory

Check the relevant framework version listed under CFBundleShortVersionString in the info.plist file matches the installer version downloaded:

  • PugpigForMagazines.framework/info.plist
  • PugpigForContinuousPublishing.framework/info.plist

Both Pugpig Products come with the latest version of Pugpig SDK framework too which can be checked in:

  • Pugpig.framework/info.plist

If the install hasn't run correctly we advise deleting the old template folders from your /Library/Developer/Xcode/Templates/Application/ and re-installing. If you still have issues with the installer please contact support with the Mac OS and Xcode version you have installed. 

Step 4: For an existing project we advise one of two routes. Before doing any updates to projects please ensure you have the necessary backups.

Dependent on how old your project is the simplest route may be to start a new project in Xcode and port your apps config, theme and asset changes into the new project.

Alternatively you can copy the framework sets installed in the steps above from your /Library/Developer/Xcode/Templates/Application/ directory into your existing Xcode project to replace the previous versions you had. You will then need to follow the documents noted below for the specific changes between the version of Pugpig Products you had and have since upgraded to. 

Specific Changes Between iOS Versions

Pugpig for Magazines

Upgrading iOS 1.2.1 to 1.3.1
Upgrading iOS 1.2.0 to 1.2.1
Upgrading iOS 1.1.0 to 1.2.0
Upgrading iOS 1.0.0 to 1.1.0

Pugpig for Continuous Publishing

Upgrading iOS 1.2.1 to 1.3.1
Upgrading iOS 1.2.0 to 1.2.1
Upgrading iOS 1.1.0 to 1.2.0

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


Powered by Zendesk