Guides

Xcode Project Configuration

Xcode project configuration

  1. Adding the Notification Service Extension

  2. Adding the Carousel Notification Content Extension

  3. Adding Pushologies Library
    a. SPM
    b. CocoaPods

Adding the Notification Service Extension

Xcode File -> New -> Target and select "Notification Service Extension".

Enter a descriptive name such as MyAppNotificationServiceExtension.

Adding the Carousel Notification Content Extension

Xcode File -> New -> Target and select "Notification Content Extension".

Enter a descriptive name such as MyAppCarouselNotificationContentExtension.

Adding Pushologies Library

Swift Package Manager

https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app

πŸ“˜

Pushologies SDK

https://bitbucket.org/pushologiesdev/pushologiessdk

Replace master with specific version of the SDK, or leave it as master to always be on the most recent release, or choose another dependency rule.

Once the library has been resolved add it as a framework to each target in the project.

CocoaPods

https://cocoapods.org

Add the Pushologies pod to your pod file for all targets and update CocoaPods.

target 'MyAppName' do 
  pod 'Pushologies', '~> 4.8.3' 
end 

target 'MyAppNotificationServiceExtension' do 
  pod 'Pushologies', '~> 4.8.3' 
end 

target 'MyAppCarouselNotificationContentExtension' do
  pod 'Pushologies', '~> 4.8.3' 
end

What’s Next