Crosscheck

Type-check shared packages against the iOS and watchOS SDKs. Use after editing core packages, before verify, or when CI crosscheck fails.

hoangsonww 68ef20a 599 B Updated

File contents

Cross-check

Core packages must compile for iOS and watchOS even when you developed on macOS.

./Scripts/crosscheck.sh ios
./Scripts/crosscheck.sh watchos

Failures usually mean an AppKit/UIKit import leaked into Packages/Diffuse* core, or an API that does not exist on that SDK.

Do not skip this to land a Mac-only type in Core. Put it in the app target or DiffuseCollectors behind the right registry.

hoangsonww/diffuse-native-apps/tree/main/.agents/skills/crosscheck commit 68ef20af46

Frequently asked questions

npx skillmds@latest add hoangsonww/crosscheck