Skip to content

The CloudX iOS SDK is a comprehensive mobile advertising solution that provides programmatic advertising capabilities for iOS applications. This unified repository contains the complete CloudX iOS SDK ecosystem including the core SDK and various adapter implementations.

Notifications You must be signed in to change notification settings

cloudx-io/cloudx-ios

Repository files navigation

CloudX iOS SDK

AI-powered mobile advertising for iOS. Maximize revenue with intelligent ad optimization and real-time bidding.

Platform CocoaPods SPM License


🚀 Get Started in 30 Seconds

Install

# Add to your Podfile
pod 'CloudXCore'
pod install

Initialize & Load

import CloudXCore

// 1. Initialize (in AppDelegate)
// testMode: false = production, true = test ads
CloudXCore.shared.initializeSDK(appKey: "YOUR_APP_KEY", testMode: false) { success, error in
    print(success ? "Ready!" : "Error: \(error!)")
}

// 2. Create banner ad (in ViewController)
let banner = CloudXCore.shared.createBanner(
    withPlacement: "YOUR_PLACEMENT_ID",
    viewController: self,
    delegate: self,
    tmax: 10.0
)
view.addSubview(banner)

That's it. You're monetizing.


📚 Complete Documentation

Everything you need is in our docs

Detailed guides for every step:


⚡ Key Features

  • AI-Optimized Yield - Intelligent ad selection maximizes your revenue
  • Multiple Ad Formats - Banner, MREC, interstitial, and rewarded video
  • Real-Time Bidding - Server-side header bidding with dynamic optimization
  • Privacy First - GDPR, CCPA, and ATT compliant out of the box
  • SwiftUI Ready - Works seamlessly with UIKit and SwiftUI
  • Lightning Fast - Optimized for performance and user experience

⚠️ Important: Xcode 15+ Setup

If using CocoaPods with Xcode 15+, disable User Script Sandboxing:

  1. Select your project target
  2. Build Settings → Search "User Script Sandboxing"
  3. Set ENABLE_USER_SCRIPT_SANDBOXING to No

This is required for all iOS SDKs using dynamic frameworks.


📦 Ad Formats

Load any ad format in 3 lines:

// Banner (320×50)
let banner = CloudXCore.shared.createBanner(withPlacement: "...", viewController: self, delegate: self)

// Interstitial
let interstitial = CloudXCore.shared.createInterstitial(withPlacement: "...", viewController: self, delegate: self)

// Rewarded
let rewarded = CloudXCore.shared.createRewarded(withPlacement: "...", viewController: self, delegate: self)

→ See complete examples in the Quickstart Guide


🎯 What's Included

SDK Components (via CocoaPods)

pod 'CloudXCore'           # Core SDK (required)
pod 'CloudXMetaAdapter'    # Meta Audience Network
pod 'CloudXVungleAdapter'  # Vungle
pod 'CloudXRenderer'       # Creative renderer

Demo Apps

  • demo-app-swift/ - Swift example app
  • demo-app-objc/ - Objective-C example app

Both include all ad formats, privacy controls, and best practices.


📋 Requirements

  • iOS 14.0+
  • Xcode 15.3+
  • Swift 5.9+ or Objective-C
  • CocoaPods 1.10+ or Swift Package Manager

🛠️ Need Help?


🔗 Resources


Start monetizing in minutes
Read the Documentation →

About

The CloudX iOS SDK is a comprehensive mobile advertising solution that provides programmatic advertising capabilities for iOS applications. This unified repository contains the complete CloudX iOS SDK ecosystem including the core SDK and various adapter implementations.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •