Installation¶
Integrate Aiuta iOS SDK into your application.
Depend on it¶
SwiftPM distribution of the Aiuta iOS SDK supports minimum deployment iOS 13
Need a lower minimum deployment?
If you need support of minimum deployment iOS 12
, you are probably using some kind of cross-platform solution. In this case, please take a look at CocoaPods distribution, and also note that Aiuta provides a plugin-wrapper for Flutter. You can also use the Kotlin MultiPlatform version of the Android SDK.
- File > Add Package Dependencies...
- Enter Package URL:
https://github.com/aiuta-com/aiuta-ios-sdk.git
- Select Dependency Rule
Up to Next Major
with4.2.3
- Add Package to your project
Add AiutaSdk package
to the dependencies
value of your package
.package(url: "https://github.com/aiuta-com/aiuta-ios-sdk.git", from: "4.2.3")
Add AiutaSdk product
to the dependencies
value of your target
.product(name: "AiutaSdk", package: "aiuta-ios-sdk")
CocoaPods distribution of the Aiuta iOS SDK supports minimum deployment iOS 12
, but it still available to operate only with if #available(iOS 13.0.0, *)
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
use_frameworks!
target 'MyApp' do
pod 'AiutaSdk', '~> 4.2.3'
end
Import it¶
Now in your Swift code, you can use:
import AiutaSdk
Next Step¶
- Quick Test SDK Propely Integrated
- Setup with Configuration