iOS Installation
The Azeoo SDK for iOS can be installed using Swift Package Manager (SPM) or CocoaPods.
Swift Package Manager (Recommended)β
Swift Package Manager is the recommended way to install the Azeoo SDK. The package URL is maintained in one place: see also Downloads & install sources.
Step 1: Add Package Dependencyβ
- Open your Xcode project
- Go to File β Add Package Dependencies...
- Enter the package URL:
https://bitbucket.org/azeoo/azeoo_sdk_spmOr open: SPM repository - Click Add Package
- Select the version rule (recommended: Up to Next Major Version)
- Click Add Package
Step 2: Add to Targetβ
- In the package product selection, ensure AzeooSDK is selected
- Add it to your app target
- Click Add Package
Step 3: Import in Your Codeβ
import AzeooSDK
CocoaPodsβ
Step 1: Install CocoaPodsβ
If you don't have CocoaPods installed:
sudo gem install cocoapods
Step 2: Create Podfileβ
Navigate to your project directory and create a Podfile:
cd /path/to/your/project
pod init
Step 3: Add Azeoo SDKβ
Edit your Podfile:
platform :ios, '12.0'
use_frameworks!
target 'YourAppName' do
pod 'AzeooSDK', '~> 1.0'
end
CocoaPods Repository: CocoaPods.org
Step 4: Install Podsβ
pod install
Step 5: Use Workspaceβ
From now on, open the .xcworkspace file instead of .xcodeproj:
open YourAppName.xcworkspace
Step 6: Import in Your Codeβ
import AzeooSDK
Verify Installationβ
Create a simple test to verify the SDK is installed correctly:
import AzeooSDK
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Test import
print("AzeooSDK version: \(AzeooSDK.version)")
}
}
If the code compiles without errors, the SDK is installed correctly.
Requirementsβ
- iOS: 12.0 or later
- Xcode: 15.0 or later
- Swift: 5.9 or later
Next Stepsβ
- Integration Guide - Learn how to integrate the SDK
- Configuration - Configure the SDK settings
- API Reference - Complete API documentation