Guide for AI Coding Agents to Integrate Luciq on iOS
Guide for AI Coding Agents to Integrate Luciq on iOS
⚠️ UNIVERSAL EXECUTION RULES ⚠️
Critical Rules - Apply to ALL Platforms:
Execution Guidelines:
Official Documentation:
Integration Workflow Overview
Step 1 — Collect Required Information [MANDATORY]
1A: Get App Token
1B: Determine Integration Method
1C: Apply Default Configuration (Inform + Opt-in)
Step 2 — Add SDK Dependency [MANDATORY - Platform-Specific]
Pre-Dependency Critical Step:
Step 3 — Initialize the SDK [MANDATORY - Platform-Specific]
Invocation Events Configuration
Step 4 — Configure Network Logging [MANDATORY]
Concepts (Platform-Agnostic):
Step 5 — Mask Repro Step Screenshots [MANDATORY]
Concepts (Platform-Agnostic):
Step 6 — Upload Symbolication Files [MANDATORY]
Concepts (Platform-Agnostic):
iOS (dSYM Upload):
Android (Mapping File Upload):
Customization Options:
🛑 MANDATORY STEPS COMPLETE - STOP HERE
Optional Steps Menu
Optional Step 1 — Configure Repro Steps Mode
Concepts (Platform-Agnostic):
Optional Step 2 — Add User Identification
Concepts (Platform-Agnostic):
Step 3A: Identify Login Flows
Step 3B: Identify Logout Flows
Step 7 — Verification & Testing (Wrap up & validate) [USER-INITIATED ONLY]
After Mandatory Steps Complete
1. Build Verification [ONLY WHEN USER REQUESTS]
Error
Likely Cause
Solution
2. Runtime Testing [MANUAL]
3. Final Summary [DISPLAY AFTER BUILD SUCCESS]
Error Handling & Troubleshooting
Common Issues Across Platforms:
Extension Points for Platform Guides
Required Sections:
Reference Format:
Luciq SDK Integration - iOS Guide
⚠️ iOS-SPECIFIC CRITICAL RULES ⚠️
Package vs Import Naming (MUST FOLLOW):
iOS-Specific Execution Rules:
Official iOS Documentation:
IOS-SPECIFIC IMPLEMENTATION DETAILS
Pre-Integration Checklist
Step 1 — Collect Required Information [MANDATORY]
iOS-Specific Implementation
1C: Apply Default Configuration (Inform + Opt-in)
1D: Detect Fastlane for dSYM Upload
Step 2 — Add the Luciq SDK Dependency [MANDATORY]
iOS Implementation
Step 3 — Initialize the SDK [MANDATORY]
iOS Implementation
Step 3B: Add Info.plist Permissions
Step 4 — Configure Network Logging [MANDATORY]
iOS Implementation
Step 5 — Mask Repro Step Screenshots [MANDATORY]
iOS Implementation
Step 6 — Upload dSYM Files [MANDATORY]
iOS Implementation
Parameter
Required
Description
🛑 MANDATORY STEPS COMPLETE
Optional Step 1 — Configure Repro Steps Mode
iOS Implementation
Optional Step 2 — Add User Identification
iOS Implementation - Login Flow
iOS Implementation - Logout Flow
Step 7 — Verification & Testing [WRAP UP & VALIDATE]
iOS Build Verification
Error
Cause
Fix
iOS Runtime Testing
iOS-Specific Troubleshooting
Issue: "Command SwiftCompile failed"
Issue: NetworkLogger not found
Issue: Shake not working in simulator
Issue: Reports missing user info
Issue: "Fastlane dSYMs file is not found!"
Quick Reference
Last updated