Before you begin, ensure you have Carthage installed.
Adding the SDK framework to your application
Follow Carthage's adding frameworks to an application instructions to add AirshipKit.framework to your application.
Specify the Airship iOS SDK in your cartfile:
If you are creating a Notification Service Extension, follow the instructions in the iOS Notification Service Extension Guide.
Enable Modules and
Link Frameworks Automatically are enabled in the project's Build Settings.
Start by downloading and decompressing the latest version of the iOS SDK.
Add AirshipKit.xcframework to your project
- Open your project in Xcode.
- Click on your project in the Project Navigator.
- Select your target.
- Make sure the General tab is selected.
- Scroll down to “Frameworks, Libraries, and Embedded Content”.
- Drag in
AirshipKit.xcframeworkfrom the downloaded SDK. It is wired up automatically as a dependency of your target.
Verify Build Settings:
Enable Modules should be set to
Link Frameworks Automatically should be set to