Get the SDK
Please select your iOS project type for the appropriate instructions:
Skip to the next section if your project has already been configured to use CocoaPods.
Run the following terminal command to install CocoaPods, the popular Cocoa dependency manager:
sudo gem install cocoapods
Note: If you prefer not to use CocoaPods, you can instead download the latest SDK source code and include it in your project. Once you are done, continue to the next step.
Run the following terminal command in the same directory as your .xcodeproj
file to configure your project with a default Podfile
, so you can install pods:
pod init
Install the SDK
Import version 1.0.54
of the SDK by adding the following statement to your project's Podfile
within the target
declaration:
pod 'Pushy', '1.0.54'
Save the file and run the following command to install the SDK:
pod install
Close all open Xcode windows. From now on, open your project using the .xcworkspace
file instead of the .xcodeproj
for CocoaPods integration to work.
If you're interested, check out the SDK changelog to see what's new in the latest version of the Pushy iOS SDK.
Add Blank Swift File
To avoid a compilation error, please add a blank .swift
file to your Xcode project. This file can be empty.
If prompted, you may decline the creation of a bridging header for your project.