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.1' 
end 

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

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

Whatโ€™s Next