In this section, we explain how to get started with the StayTuned SDK for iOS.
You should use the latest version of Xcode in order to install the SDK.
Make sure that your project meet these requirements:
- iOS 11.0 or above
- Xcode 12 or above
- Swift 4.2 or above
Swift Package Manager
- Add this line to your
pod 'StayTuned', :git => 'https://github.com/StayTunedAds/staytuned-ios-sdk.git'
- Do not forget to use the
.xcworkspacefile to open your project in Xcode, instead of the
.xcodeprojfile, from here on out.
Once you have your Swift Package set up, adding the StayTunedSDK as a dependency is as easy as adding it to the
dependenciesvalue of your
.package(url: "https://github.com/StayTunedAds/staytuned-ios-sdk", .upToNextMajor(from: "1.0.17"))