iOS ShareSDK Integration for Openclaw

An automated AI skill to seamlessly integrate and configure the MobTech ShareSDK into iOS projects with absolute code safety and strict privacy compliance.

mobsupport
v1.0.0
May 19, 2026
0
561
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ios-sharesdk-integreation

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ios-sharesdk-integreation using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is iOS ShareSDK Integration?

The iOS ShareSDK Integration skill is a highly specialized developer tool engineered to automate the complex process of embedding MobTech ShareSDK into iOS applications. This capability is part of the broader ecosystem of Openclaw Skills designed to streamline third-party SDK integrations. By scanning your iOS projects, identifying existing targets (Objective-C or Swift), generating standardized template sheets, and applying localized modifications, it ensures a friction-free configuration process.

This skill guarantees structural safety and absolute adherence to Apple's development guidelines. It handles critical aspects such as CocoaPods dependency management, Info.plist URL Scheme mappings, Universal Link validations, and Swift Bridging Headers without introducing breaking changes. Furthermore, it strictly prioritizes privacy compliance, ensuring that SDK initialization code executes only after explicit user consent in accordance with modern app store policies.

iOS ShareSDK Integration Use Cases

  • Automate MobTech ShareSDK integration in standard iOS projects using CocoaPods.
  • Migrate and clean up old ShareSDK configurations or legacy demo code leftovers safely.
  • Configure complex platform-specific settings, including WeChat, QQ, and SinaWeibo, via a structured spreadsheet template.
  • Automate compliance configurations such as Universal Links, URL Schemes, Associated Domains, and App Transport Security (ATS).
  • Standardize privacy gateway flows by invoking compliance checks before initializing active SDK components.

How iOS ShareSDK Integration Works

  1. Project Scanning: The skill scans directories for .xcodeproj, .xcworkspace, Podfile, Info.plist, and entry points to understand dependencies and architecture.
  2. Template Generation: It executes a script to generate a standardized config spreadsheet (ShareSDK_Config.xlsx) at the root of the project.
  3. User Inputs & Validation: The skill pauses to allow developers to fill out credentials, validating details like app IDs, keys, and secrets once resumes.
  4. Frictionless Modification Planning: Generates a minimal modification plan detailing exactly which files will be modified prior to executing adjustments.
  5. Automated Integration: Writes dependencies to the Podfile, updates compiler/linker flags, injects SDK setup APIs, and configures URL Schemes and Queries.
  6. Validation & Verification: Confirms structural soundness, builds configurations, checks privacy code positions, and auto-generates documentation guides.

iOS ShareSDK Integration Setup

To start using this integration skill with Openclaw Skills, run the engineering scanner tool within your iOS project directory to evaluate existing configurations:

# Scan for existing iOS project structure and dependencies
rg --files -g '*.xcodeproj' -g '*.xcworkspace' -g 'Podfile' -g 'Package.swift'

# Check for legacy or existing ShareSDK references
rg -n 'ShareSDK|MobSDK|MOBAppKey|MOBAppSecret|LSApplicationQueriesSchemes|CFBundleURLTypes'

If a template is missing, execute the generation script to create ShareSDK_Config.xlsx at your project root:

python assets/generate_excel_template.py

iOS ShareSDK Integration Data Schema & Taxonomy

The skill organizes integration parameters through a standardized file structure. Developers fill in platform-specific variables within the generated spreadsheet prior to modification execution:

Config Spreadsheet Format (ShareSDK_Config.xlsx)

Sheet Name Purpose Key Fields
基础信息 (Basic Info) Global MobTech account credentials mobAppKey, mobAppSecret
平台申请地址 (Platform URLs) Quick-reference registration links Directory of developer portals
Platform Sheets (WeChat, QQ, Weibo) Platform-specific parameters appId, appKey, universalLink, etc.

Crucial Physical Info.plist Mappings

When converting compiled settings to physical keys, the following structure is written:

  • MOBAppKey: Core MobTech app identifier.
  • MOBAppSecret: Core MobTech secret key.
  • LSApplicationQueriesSchemes: Whitelist arrays for targeting installed clients (weixin, weixinULAPI, mqqapi, etc.).
  • CFBundleURLTypes: Specific URL schemes formatted dynamically (e.g., wb[appKey], wx[appId], tencent[appId]).

iOS ShareSDK Integration Advanced Features

  • Swift Bridge Optimization: Automatically detects Swift/SwiftUI projects, generates the ObjC Bridging Header ({Target}-Bridging-Header.h), and patches the target's build settings.
  • Xcode 15 Linker Safeguard: Injects the -ld64 flag dynamically inside Xcode 15 compiler settings to avoid known linking regressions.
  • Automatic Schema Normalization: Parses and coerces numerical fields from spreadsheets into valid programming types, strictly maintaining formats like hex values or boolean states.
  • Privacy Gateway Hooks: Injects privacy status callbacks (uploadPrivacyPermissionStatus:onResult:) before platform initialization code blocks to secure local regulatory compliance.
  • Unified Auto-Documentation: Auto-creates ShareSDKIntegrationNotes.md containing absolute mappings of URL schemes, dependency lists, and initialization coordinates.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*