Skip to main content

Repository

github.com/InsightAI-Pinnacle-Technologies/di-sdk-ios-rasp-v1.0.2
Read Platform parity vs. Android before assuming any control here behaves identically to the Android SDK. Several genuinely don’t, for platform reasons, not implementation gaps.

Requirements

  • iOS 14.0+ (App Attest requires 14+)
  • Xcode 15+
  • This repo is private — you’ll need GitHub access (SSH key or PAT) to add it as a Swift Package dependency

Install

1

Add the package in Xcode

File → Add Package Dependencies → paste:
2

Or add it to Package.swift directly

Initialize

Gate a sensitive action

MITM detection

The SDK ships a ready URLSessionDelegate that pins and reports automatically:
Pin mismatches are reported to the scorer automatically — no separate wiring needed, unlike Android where you catch the exception yourself. 2+ mismatches in a session sets MITM_SUSPECTED and hard-blocks.

Device binding (App Attest)

Same rule as Android’s Play Integrity: verification must happen server-side. The SDK cannot verify its own attestation locally in any way that would mean anything.

SIM binding

Not bundled — and on iOS specifically, closer to unavoidable rather than just a cost tradeoff:
Apple deprecated CTCarrier’s carrier-info APIs in iOS 16 with no first-party replacement — a third-party provider (tru.ID, Twilio Verify) isn’t just the recommended path here, it’s close to the only one.

OTP-less authentication

Platform parity vs. Android

The absent rows aren’t gaps to “catch up on” later — they reflect real differences in what each platform’s sandboxing model exposes to a third-party app at all.

Testing each control

Next steps

Android SDK integration guide

Webhook payload reference