Skip to content

Testing tools: SDK harness on the iOS simulator, project on Unity 6.6 - #37

Draft
yauch-dev wants to merge 2 commits into
mainfrom
feature/testing-tools
Draft

yauch-dev wants to merge 2 commits into
mainfrom
feature/testing-tools

Conversation

@yauch-dev

Copy link
Copy Markdown
Collaborator

What

Two things, each its own commit.

SDK harness (Assets/SdkHarness/) — a player the agent drives from the command line against the real native SDK over the Pipeline command channel: harness_activate, harness_call (any public Adapty/AdaptyUI method by name, arguments as JSON, results of earlier calls reusable as $GetFlow), harness_events, harness_status. It answers the one question the desktop suite cannot: does the C# layer decode what the native SDK actually returns, on IL2CPP, after stripping. Build with harness_build, run from Xcode so the local StoreKit configuration is synced into the simulator and purchases stay local; the ios-storekit-purchase skill drives the purchase sheet by log lines. Everything is in Assets/SdkHarness/AGENTS.md.

A player with nothing in it but the pipeline runtime server and
AdaptySdkHarness, which exposes the public Adapty/AdaptyUI API as
harness_* commands: activate, call any method by name with JSON
arguments (returned models are passed back as $Method handles,
request-only models through their Builder), read the events the
listeners received. A UI Toolkit ledger on screen shows every request,
reply, late reply and event.

harness_build builds the scene for the simulator SDK and files
AdaptyDemo.storekit in the Xcode project and scheme; running it from
Xcode makes purchases local. The ios-storekit-purchase skill drives the
purchase sheet and alerts from the simulator's log. Recipe and limits in
Assets/SdkHarness/AGENTS.md.

Project on Unity 6.6, package floor 6.0.

Editor 6000.6.0f1 with its resaved project settings and package bumps
(pipeline 0.5.0-exp.1, project-auditor-rules, test-framework 1.8, ugui 2.6,
inputsystem 1.20). The package now declares unity 6000.0; the raise is
unreleased and noted under Unreleased in the changelog.

Follow-up

The Android lane of the harness and the bridge without the Java wrapper are in #36, stacked on this branch.

Editor 6000.6.0f1 with its resaved project settings and package bumps
(pipeline 0.5.0-exp.1, project-auditor-rules, test-framework 1.8, ugui 2.6,
inputsystem 1.20). The package now declares unity 6000.0; the raise is
unreleased and noted under Unreleased in the changelog.
A player with nothing in it but the pipeline runtime server and
AdaptySdkHarness, which exposes the public Adapty/AdaptyUI API as
harness_* commands: activate, call any method by name with JSON
arguments (returned models are passed back as $Method handles,
request-only models through their Builder), read the events the
listeners received. A UI Toolkit ledger on screen shows every request,
reply, late reply and event.

harness_build builds the scene for the simulator SDK and files
AdaptyDemo.storekit in the Xcode project and scheme; running it from
Xcode makes purchases local. The ios-storekit-purchase skill drives the
purchase sheet and alerts from the simulator's log. Recipe and limits in
Assets/SdkHarness/AGENTS.md.
@yauch-dev
yauch-dev added this pull request to stack #38 September 11, 2026 19:20
@yauch-dev
yauch-dev requested a review from x401om September 11, 2026 19:20
@yauch-dev yauch-dev self-assigned this Sep 11, 2026
@StanislavMayorov
StanislavMayorov marked this pull request as draft September 30, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant