Skip to content
Discussion options

You must be logged in to vote

Only on commands your AI agent runs. A command you type in a terminal, or one your CI runs, never passes through the hook.

  • The hook matches submit-shaped commands the agent is about to run, such as fastlane deliver, fastlane pilot, eas submit, xcrun altool, xcodebuild archive, Gradle bundleRelease, and flutter build ipa.
  • For your own fastlane lane or CI, call the guard yourself before the upload, for example sh("bash path/to/app-store-compliance-guard.sh .") in a before_all block. It exits 2 on a critical finding, so the lane stops.
  • Exit codes. 0 clear, 2 blocked, 1 not checked when run by hand.

Section 7 of docs/WHAT-THE-SCAN-PROVES.md has the CI and fastlane recipe.


This question cam…

Replies: 2 comments

Comment options

mjmirza
Nov 22, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by mjmirza
Comment options

mjmirza
Nov 22, 2026
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant