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
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:
Install the SDK
1.0.50 of the SDK by adding the following statement to your project's
Podfile within the
pod 'Pushy', '1.0.50'
Save the file and run the following command to install the SDK:
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.