Skip to content

The Agentic Observability Platform built for Mobile

License

Notifications You must be signed in to change notification settings

luciqai/luciq-ios-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Luciq

πŸš€ The Agentic Observability Platform built for Mobile

CocoaPods Compatible Swift Package Manager Platform


Our intelligent AI agents help you capture rich, contextual data for every issue, including full session replays, console logs, and detailed network requests, to proactively detect, prioritize, and resolve problems automatically.

Ship faster, deliver frustration-free user sessions, and focus on building what matters.


πŸ“‹ Table of Contents


⚑ Quick Start

Get up and running with Luciq in just a few steps:

1. Install the SDK

Add in Xcode: File β†’ Add Package Dependencies.

https://github.com/luciqai/luciq-ios-sdk

2. Initialize in your App Delegate

import LuciqSDK

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    Luciq.start(withToken: "YOUR_APP_TOKEN", invocationEvents: .shake)
    return true
}

3. Start capturing insights! πŸŽ‰


πŸ“¦ Installation

Choose your preferred installation method:

Swift Package Manager

Recommended method for new projects

  1. πŸ“‚ Open your project in Xcode
  2. πŸ”— Add Package Dependency: File β†’ Add Package Dependencies…
  3. πŸ“‹ Enter URL:
    https://github.com/luciqai/luciq-ios-sdk
    
  4. βš™οΈ Configure: Choose "Up to Next Major Version"
  5. βž• Add Package and select your target
  6. πŸ”¨ Build (⌘B) to confirm installation
πŸ”§ Troubleshooting SPM

Package Resolution Issues?

  • File β†’ Packages β†’ Reset Package Caches
  • File β†’ Packages β†’ Resolve Package Versions

Verify Installation: Check Project Settings β†’ Your Target β†’ General β†’ Frameworks, Libraries, and Embedded Content


CocoaPods

Add to your Podfile:

pod 'Luciq'

Then install:

pod install
πŸ’‘ CocoaPods Tips
  • Make sure you have the latest CocoaPods version: gem install cocoapods
  • If you encounter issues, try pod repo update first
  • Use pod install --repo-update for a fresh installation

Carthage

  1. Add to your Cartfile:

    binary "https://raw.githubusercontent.com/luciqai/luciq-ios-sdk/main/Luciq.json"
    
  2. Run Carthage update:

    carthage update
  3. Drag LuciqSDK.xcframework into your Xcode project


Manual Installation

Step-by-Step Guide

  1. πŸ“₯ Download SDK

  2. πŸ“‚ Extract & Add to Project

    • Unzip the downloaded file
    • Open your Xcode project
    • Navigate to your app target's General tab
    • Under Frameworks, Libraries, and Embedded Content, click +
    • Select Add Files and choose LuciqSDK.xcframework
  3. βš™οΈ Configure Embedding

    • Set Embed option to Embed & Sign
  4. βœ… Verify Installation

    • Build your project (⌘B) to confirm successful integration

πŸ”§ Usage

Basic Setup

Import and initialize Luciq in your app:

Swift

import LuciqSDK

// In AppDelegate
func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {

    Luciq.start(withToken: "YOUR_APP_TOKEN", invocationEvents: [.shake])

    return true
}

Objective-C

#import <LuciqSDK/LuciqSDK.h>

// In AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    [Luciq startWithToken:@"YOUR_APP_TOKEN" invocationEvents:LCQInvocationEventShake];
         
    return YES;
}

⚠️ Important: Replace YOUR_APP_TOKEN with your actual application token from the Luciq Dashboard


βš™οΈ Permissions

Luciq requires specific permissions for media attachments. Add these to your Info.plist:

<key>NSMicrophoneUsageDescription</key>
<string>$(PRODUCT_NAME) needs access to the microphone to attach voice notes to feedback reports.</string>

<key>NSPhotoLibraryUsageDescription</key>
<string>$(PRODUCT_NAME) needs access to your photo library to attach images to feedback reports.</string>

Note: Permission dialogs only appear when users actively try to attach voice notes or photos through Luciq's interface.


πŸ“œ License

See the LICENSE.md file for details.


πŸ’¬ Support

Need Help?

🌐 Visit our website β€’ πŸ“– Read the docs β€’ πŸ’¬ Get help

πŸ“ž Contact Us

πŸ“§ Primary Contact Email: support@luciq.ai
πŸ’Ό LinkedIn: linkedin.com/company/luciq


Made with ❀️ by the Luciq team

Luciq

About

The Agentic Observability Platform built for Mobile

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages