Xcode Project Configuration
Xcode project configuration
-
Adding the Notification Service Extension
-
Adding the Carousel Notification Content Extension
-
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
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
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
Updated 5 months ago