The two AI rules in the scanner
| Rule · guideline | What trips it in code or config | Fix |
|---|---|---|
| IOS-AI-001HIGH Apple 5.1.1(i) / 5.1.2(i) | Data sent to an external AI provider without disclosure or consent Requests to api.openai.com, api.anthropic.com, generativelanguage.googleapis.com, openrouter.ai, api.x.ai, api.groq.com (or the Anthropic / Google AI SDKs) with no consent or disclosure code such as aiConsent or "third-party AI". | Tell the user which AI provider receives their data and collect consent before the first request; mention it in the privacy policy as well. |
| IOS-AI-002WARN Apple 1.2 | User-generated or AI-generated content without moderation tools Post or comment creation, or LLM completion calls ( chat/completions, /v1/messages, generateContent, messages.create), with no report, block, flag or moderation code. | Add a way to report content, block abusive users, and filter objectionable material. |
IOS-AI-001 fires when client code talks to a model provider directly and nothing in the app looks like a disclosure or consent step. IOS-AI-002 fires when the app produces user- or model-generated content and has no report, block or filter code.
npx skills add komako-workshop/stringers # agent skill: "preflight this app for App Store review"
stringer-preflight . --strict # IOS-AI-001 is HIGH: --strict makes it fail the scanOne limit to know: if your app calls your own backend and the backend calls the model, the scanner sees no provider host and stays quiet. The guideline still applies. Treat this section as a manual check in that case.
Guideline 5.1.2(i): consent before data goes to a third-party AI
In November 2025 Apple revised Guideline 5.1.2(i) to name AI explicitly: an app must clearly disclose where personal data will be shared with third parties, including with third-party AI, and obtain explicit permission before doing so. Guideline 5.1.1(i) already required the privacy policy to identify what is collected and every third party it is shared with.
What that means for a typical LLM feature:
- Name the provider. "We use AI" is not disclosure. "Your message is sent to OpenAI to generate a reply" is.
- Say what is sent. Text the user types, photos they pick, audio they record, and any context you attach (profile fields, health entries, location).
- Ask before the first request, not in the terms. A sentence inside a privacy policy or a pre-ticked box is not explicit permission. Use a dedicated screen or sheet with a clear accept action.
- Let the user decline. Offer whatever works without the AI feature, or explain that the feature is unavailable. Do not loop the prompt.
- Make it reversible. A toggle in settings that turns AI processing off again.
- Mirror it in the privacy policy and in the App Privacy answers in App Store Connect: the data types sent to the provider are "collected", and they are "shared with third parties".
A consent gate that satisfies the rule and that the scanner recognizes (it looks for names such as aiConsent, ai_data_disclosure, or the phrases "third-party AI" and "shared with OpenAI"):
struct AIConsentView: View {
@AppStorage("aiConsentGranted") private var aiConsentGranted = false
let onDecline: () -> Void
var body: some View {
VStack(alignment: .leading, spacing: 16) {
Text("Before you use the AI coach")
.font(.title2.bold())
Text("Your messages and the workout history you attach are sent to OpenAI, a third-party AI provider, to generate replies. OpenAI does not use this data to train its models. You can turn this off in Settings at any time.")
Link("Privacy Policy", destination: privacyPolicyURL)
Button("Allow and continue") { aiConsentGranted = true }
.buttonStyle(.borderedProminent)
Button("Not now", action: onDecline)
}
.padding()
}
}
func sendToModel(_ prompt: String) async throws -> String {
guard UserDefaults.standard.bool(forKey: "aiConsentGranted") else { throw AIError.consentRequired }
return try await api.complete(prompt)
}Check the request path, not only the UI: no call to the provider may leave the device before consent is stored. Only state training and retention facts that match your provider agreement.
Do not put the provider key in the app while you are there. A literal sk-proj-… or sk-ant-… key in client code is IOS-BUILD-002, a blocker, and it is extractable from the binary. Route requests through your own backend, which is also where rate limiting and moderation belong.
Guideline 1.2: moderation for user- and AI-generated content
Guideline 1.2 predates LLMs and was written for social apps, but reviewers apply it to anything that shows content the developer did not write, including model output. An app with user-generated content must have:
- A method for filtering objectionable material before it is posted or displayed.
- A mechanism to report offensive content, and timely responses to reports.
- The ability to block abusive users from the service.
- Published contact information so users can reach you.
For a single-user AI chat or image app, "block users" has no meaning, but the other three do:
- Filter both directions. Run prompts and outputs through a moderation model before display (for example OpenAI's moderation endpoint with
omni-moderation-latest, or your provider's safety settings), and refuse or regenerate on a hit. - Add a report control to every generated item. A flag button on each AI message or image that sends the content and context to you. Name the handler something like
reportContent; that is whatIOS-AI-002looks for. - Act on reports. Reviewers sometimes ask how reports are handled. Have an answer: a queue, a response time, a contact address.
- Shared or public content raises the bar. If generated images, characters or chats can be published to other users, you need the full set including blocking, plus the ability to remove content.
Apps built around role-play, companions or uncensored generation need more. Guideline 1.1 prohibits overtly sexual, hateful or violent content regardless of who or what generated it, and creator-style apps are expected to let users identify content that exceeds the app's age rating and to restrict it by age. Answer the age rating questionnaire for the worst output a user can realistically get, not for the average one.
Claims, disclaimers and metadata
- Health, legal and financial output. Guideline 1.4.1 puts apps that could give inaccurate medical information under extra scrutiny. If the model can discuss symptoms, medication, diagnoses or legal and financial decisions, show a persistent notice that the output is not professional advice and may be wrong, and tell users to consult a professional. Do not market the app as diagnosing or treating anything.
- Accuracy claims (2.3.1). "100% accurate", "never wrong" and "detects any disease" are rejected as misleading. Describe what the feature does.
- Other companies' names (4.1, 5.2). "ChatGPT", "GPT", "Claude", "Gemini", "Sora" or "Midjourney" in the app name, subtitle or icon is treated as impersonation or trademark misuse. You may state in the description that the app is powered by a provider's API, in line with that provider's brand rules.
- Hidden or changing features (2.3.1, 2.5.2). Do not review with a strict system prompt and switch to a permissive one afterwards. Apps that download and run code that changes their features are rejected; generated code may run only inside a sandboxed view that does not alter the app itself.
- Demo access (2.1). If AI features sit behind a login or a paywall, give App Review a demo account with credits or an active subscription, and say in the review notes which provider receives which data and where the user consents.
Pre-submission checklist for an AI app
- A consent screen names the AI provider and the data sent, appears before the first request, and can be declined.
- Consent state gates the network call itself.
- A settings toggle withdraws consent.
- The privacy policy and App Privacy answers list the provider as a third party.
- No provider API key in the app bundle.
- Input and output moderation runs before display.
- Each generated item has a report control; shared content can be removed and abusive users blocked.
- A professional-advice disclaimer appears wherever health, legal or financial topics can come up.
- No other company's product name in the app name, subtitle or icon.
- Age rating answered for the worst realistic output.
- Review notes describe the AI data flow, and the demo account can reach it.
How shipped AI apps handle the paid side
Consent and moderation get an AI app approved; pricing decides whether it keeps its rating. Our dataset has 31 AI apps (video, companion, assistant and photo), and 21 of the 26 with visible pricing sell a weekly plan. On average 24.5% of their 1–2★ reviews are about pricing or billing. Screens, prices and review quotes for each are in the AI app onboarding and paywall examples, and the paywall disclosure rules are in the Guideline 3.1.2 checklist.