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