Avoid common App Store and Google Play rejections. Open playbook and pre-submission guard with 117 documented rejection patterns and fixes, privacy manifest and Data safety checks, 95 tracked deadlines (EU AI Act, DSA, COPPA, age laws), and a skill for AI coding agents.
Rules. Performance and completeness
34 rules in this category. Generated from data/rejection-patterns.json. Each rule names the guideline, the severity, what triggers it, and the fix.
APPLE-2.1-CLOUD-NOT-IN-PRODUCTION
- Title. iCloud or CloudKit schema not deployed to production
- Platform. apple
- Guideline or policy. 2.1
- Severity. critical
- What triggers it. The app uses CloudKit or iCloud but the schema and containers are only in the development environment, so the feature fails for the reviewer on the production build.
- How to fix it. Deploy the CloudKit schema and containers to production before submitting. Source. lukylab checklist.
- Detection signals. CKContainer, CloudKit, NSUbiquitousKeyValueStore, iCloud
How to detect.
grep -rn 'CKContainer\|CloudKit\|NSUbiquitousKeyValueStore' --include='*.swift' . # then confirm the CloudKit schema is deployed to production in the CloudKit console
APPLE-2.1-MISSING-DEMO-ACCOUNT
- Title. Account based app without demo credentials
- Platform. apple
- Guideline or policy. 2.1
- Severity. critical
- What triggers it. Login or auth code present (SignInWithApple, OAuth, Auth, login view) but no demo account note found in review metadata or fastlane review_information.
- How to fix it. Add a working demo account and a live test path to the Notes for Review field before submission.
- Detection signals. LoginView, signIn, AuthService, OAuth, Firebase Auth
How to detect.
grep -rn 'signIn\|LoginView\|OAuth\|FirebaseAuth' --include='*.swift' . # then confirm a demo account is in the review notes
APPLE-2.1-STAGING-BACKEND
- Title. Backend points at staging or localhost
- Platform. apple
- Guideline or policy. 2.1
- Severity. critical
- What triggers it. API base URL in the release config contains localhost, 127.0.0.1, staging, dev, or ngrok.
- How to fix it. Point the release build at the live production backend and confirm it stays up during review.
- Detection signals. localhost, 127.0.0.1, staging., dev., ngrok, http://
How to detect.
grep -rn 'localhost\|127.0.0.1\|staging\.\|ngrok\|http://' --include='*.swift' --include='*.plist' . | grep -v https
IONIC-UIWEBVIEW-DEPRECATED
- Title. Deprecated UIWebView symbol statically linked
- Platform. apple
- Guideline or policy. 2.5.1
- Severity. critical
- What triggers it. The literal UIWebView symbol appears anywhere in the built sources, often pulled in transitively by a stale Capacitor or Cordova plugin.
- How to fix it. Apple auto-rejects (ITMS-90809) any binary statically linking UIWebView. Update every plugin to a WKWebView-based version.
- Detection signals. UIWebView
How to detect.
grep -rn 'UIWebView' --include='*.swift' --include='*.m' . 2>/dev/null
WEB-GDPR-COMPLIANCE
- Title. Processing web personal data without GDPR compliance controls
- Platform. web
- Guideline or policy. GDPR
- Severity. critical
- What triggers it. Collecting or processing personal web data without explicit opt-in controls, privacy policy links, or right to be forgotten (delete) options.
- How to fix it. Integrate standard GDPR compliance gates including explicit opt-in for data processing and a mechanism for data deletion.
- Detection signals. processData, personalData, submitForm, registerWeb, webForm
- Present means handled. GDPR, opt-in, privacyConsent, deletePersonalData, exportData
How to detect.
grep -rn 'processData\|personalData\|submitForm\|registerWeb\|webForm' --include='*.js' --include='*.ts' --include='*.html' . && ! grep -rn 'GDPR\|opt-in\|privacyConsent\|deletePersonalData\|exportData' .
APPLE-2.5.19-HIDDEN-OR-DORMANT-FEATURE
- Title. Hidden, dormant, or undocumented feature, or bait-and-switch after review
- Platform. apple
- Guideline or policy. 2.5.19
- Severity. critical
- What triggers it. The binary carries functionality App Review cannot see or that the user is not told about, such as a server flag that turns on a different app after approval, a secret gesture or menu, or code obfuscated to hide a feature. Guideline 2.5.19, added 16 October 2026, moves this policy out of 2.3.1 and names bait-and-switch (misrepresenting functionality during review, then adding features after approval). Checked by hand, a remote flag alone is not a violation.
- How to fix it. Ship every feature visible to review, describe each one in Notes for Review, keep remote configuration to tuning and staged rollout of reviewed features, and never obfuscate code to hide functionality. A violation is grounds for removal from the App Store and termination of the developer account. Sources. https://developer.apple.com/news/?id=92th7e5i, https://developer.apple.com/news/?id=vvzx6cul
ANDROID-DEBUGGABLE-RELEASE
- Title. Debuggable build uploaded to Play
- Platform. google
- Guideline or policy. Play Console upload validation
- Severity. critical
- What triggers it. Play Console refuses an APK or app bundle marked debuggable. Hardcoding android:debuggable="true" in the manifest ships it in the release build.
- How to fix it. Remove android:debuggable from the manifest and let the release build type keep it false.
- Detection signals. android:debuggable="true"
How to detect.
grep -rnE "android:debuggable *= *[\"']true" --include='AndroidManifest.xml' . | grep -vE '/src/(debug|test|androidTest)'
APPLE-2.1-DEBUG-FEATURES
- Title. Debug or test features shipped in the production build
- Platform. apple
- Guideline or policy. 2.1
- Severity. high
- What triggers it. Debug menus, test logins, or developer backdoors left visible in the release build rather than gated behind a debug only flag.
- How to fix it. Hide debug and test features behind a debug only compile flag so they never ship in production. Source. lukylab checklist.
- Detection signals. debug menu, debugMenu, test login, skip login, bypass auth, DEBUG_BYPASS
How to detect.
grep -rni 'debug menu\|debugMenu\|skip login\|bypass auth\|DEBUG_BYPASS' --include='*.swift' .
APPLE-2.1-PLACEHOLDER-CONTENT
- Title. Placeholder content in the build
- Platform. apple
- Guideline or policy. 2.1
- Severity. high
- What triggers it. Strings such as lorem ipsum, TODO, FIXME, placeholder, dummy, test data, example.com found in shipped resources.
- How to fix it. Replace all placeholder text and assets with real content before submission.
- Detection signals. lorem ipsum, placeholder, TODO, FIXME, dummy, example.com
How to detect.
grep -rni 'lorem ipsum\|placeholder\|TODO\|FIXME\|example.com' --include='*.swift' --include='*.strings' .
APPLE-2.1-REVIEW-NOTES-INCOMPLETE
- Title. Review notes missing a required section for a new submission
- Platform. apple
- Guideline or policy. 2.1
- Severity. high
- What triggers it. New submission review notes omit one of the six sections. Screen recording on a physical device, app purpose, access instructions and test credentials, external services list, regional differences, and regulated industry documentation.
- How to fix it. Fill all six review notes sections using templates/REVIEW-NOTES-TEMPLATE.md. Source. truongduy2611 review_notes rules.
How to detect.
use templates/REVIEW-NOTES-TEMPLATE.md and fill all six sections
APPLE-2.5.1-PRIVATE-API
- Title. Private API or deprecated framework use
- Platform. apple
- Guideline or policy. 2.5.1
- Severity. high
- What triggers it. References to known private API selectors or deprecated frameworks found in the binary or code.
- How to fix it. Use only documented public APIs and current frameworks.
- Detection signals. respondsToSelector private, UIWebView, performSelector hidden
How to detect.
grep -rn 'UIWebView\|performSelector\|valueForKey' --include='*.swift' --include='*.m' . # review any reflection or deprecated framework use
BOTH-E-EVIDENCE-COMPLIANCE-MISSING
- Title. Missing legal representative or emergency data-production response procedures for the EU e-Evidence Package
- Platform. both
- Guideline or policy. Regulation (EU) 2023/1543 & Directive (EU) 2023/1544 (EU e-Evidence Package)
- Severity. high
- What triggers it. Apps/services processing user data in the EU that fail to designate a legal representative or lack internal procedures to respond to European Production/Preservation Orders within 10 days (or 8 hours for emergencies).
- How to fix it. Designate an establishment or appoint a legal representative in the EU, notify contact details by August 18, 2026, and establish internal protocols to deliver user data securely within 8 hours in emergency situations.
- Detection signals. e-Evidence, European Production Order, European Preservation Order, emergency data production, law enforcement request, legal representative
How to detect.
grep -rniE 'e-evidence|european production order|european preservation order|emergency data production' . 2>/dev/null
BOTH-SDK-SUPPLY-CHAIN
- Title. Third party SDK violates policy on the developer's behalf
- Platform. both
- Guideline or policy. SDK responsibility
- Severity. high
- What triggers it. A bundled SDK requests permissions, tracks users, or behaves in ways the app does not declare. The developer is responsible for SDK behavior.
- How to fix it. Vet every SDK, keep them current, and remove any that collect or share data the app does not declare.
BOTH-SECURE-STORAGE
- Title. Sensitive tokens or credentials stored in insecure unencrypted formats
- Platform. both
- Guideline or policy. Data Security
- Severity. high
- What triggers it. Sensitive session credentials or tokens are saved directly to unencrypted plist, UserDefaults, or SharedPreferences instead of Keychain or Android Keystore / EncryptedSharedPreferences.
- How to fix it. Store all sensitive data and access tokens in iOS Keychain or Android EncryptedSharedPreferences.
- Detection signals. UserDefaults.standard.set, getSharedPreferences
How to detect.
grep -rn 'UserDefaults.standard.set\|getSharedPreferences' . | grep -i 'token\|password\|credential\|secret\|jwt' && ! grep -rn 'Keychain\|SecItemAdd\|SecItemUpdate\|EncryptedSharedPreferences\|KeyStore\|SQLCipher' . # matches guard.sh: fires only when a sensitive keyword is present AND a secure-storage API is absent
BOTH-UNSAFE-DEEPLINK
- Title. Unsafe or unvalidated custom deep link URL schemes used for sensitive operations
- Platform. both
- Guideline or policy. Data Security
- Severity. high
- What triggers it. Relying on custom URL schemes for sensitive routing, navigation, or passing tokens, without strict input validation.
- How to fix it. Use Universal Links (iOS) and App Links (Android) for secure domain-validated link routing, and sanitize all deep link parameters.
- Detection signals. CFBundleURLSchemes, android:scheme
- Present means handled. apple-app-site-association, assetlinks.json
How to detect.
grep -rn 'CFBundleURLSchemes\|android:scheme' . && ! grep -rn 'apple-app-site-association\|assetlinks.json' .
RN-OTA-UNDECLARED
- Title. Undisclosed over-the-air JS bundle updater
- Platform. apple
- Guideline or policy. 3.3.2
- Severity. high
- What triggers it. package.json depends on react-native or expo, and an OTA updater (react-native-code-push, expo-updates, react-native-ota-hot-update, Stallion) is present with no App Review disclosure of bug-fix-only scope.
- How to fix it. Name the OTA mechanism in App Review notes and restrict it to bug fixes that do not change purpose, UI, or features beyond what was reviewed (Apple 3.3.2, 2.5.2). An undisclosed update path that adds features after approval is the bait-and-switch Apple names under 2.5.19 since 16 October 2026.
- Detection signals. react-native-code-push, CodePush., expo-updates, Stallion
How to detect.
grep -rn 'react-native-code-push\|CodePush\.\|expo-updates' --include='*.ts' --include='*.tsx' --include='*.js' . 2>/dev/null
WEB-INDEXEDDB
- Title. Structured personal data stored in IndexedDB without security controls
- Platform. web
- Guideline or policy. GDPR
- Severity. high
- What triggers it. Storing user records in IndexedDB without user consent, encryption, or proper deletion lifecycles.
- How to fix it. Use encrypted IndexedDB wrappers for structured sensitive records, check user consent, and clear databases upon logout.
- Detection signals. indexedDB.open, indexedDB, createObjectStore
- Present means handled. encryptDatabase, deleteDatabase, consentIndexedDB
How to detect.
grep -rn 'indexedDB.open\|indexedDB\|createObjectStore' --include='*.js' --include='*.ts' --include='*.html' . && ! grep -rn 'encryptDatabase\|deleteDatabase\|consentIndexedDB' .
WEB-LOCAL-STORAGE
- Title. Unencrypted sensitive personal data stored in localStorage
- Platform. web
- Guideline or policy. GDPR
- Severity. high
- What triggers it. Storing sensitive details or JWT tokens in plain text in localStorage without encryption or user consent check.
- How to fix it. Avoid storing plain sensitive personal info in localStorage, encrypt any stored tokens, and respect storage preferences.
- Detection signals. localStorage.setItem, localStorage
- Present means handled. encryptedStorage, encryptToken, consentLocalStorage, clearLocalStorage
How to detect.
grep -rn 'localStorage.setItem\|localStorage' --include='*.js' --include='*.ts' --include='*.html' . && ! grep -rn 'encryptedStorage\|encryptToken\|consentLocalStorage\|clearLocalStorage' .
WEB-SESSION-STORAGE
- Title. Sensitive session details stored in sessionStorage without protection
- Platform. web
- Guideline or policy. GDPR
- Severity. high
- What triggers it. Storing raw authentication or session keys in sessionStorage without encryption or clean-up logic.
- How to fix it. Limit and secure the data written to sessionStorage, apply encryption, and ensure data is deleted at session end.
- Detection signals. sessionStorage.setItem, sessionStorage
- Present means handled. encryptedSession, clearSessionStorage
How to detect.
grep -rn 'sessionStorage.setItem\|sessionStorage' --include='*.js' --include='*.ts' --include='*.html' . && ! grep -rn 'encryptedSession\|clearSessionStorage' .
WEB-TRACKING-TECHNOLOGIES
- Title. Third-party tracking technologies loaded without consent
- Platform. web
- Guideline or policy. GDPR
- Severity. high
- What triggers it. Integrating analytic pixels or tracking scripts (Google Analytics, Facebook Pixel, Hotjar) without consent validation.
- How to fix it. Load third-party tracking scripts and pixels conditionally only after receiving explicit user cookie consent.
- Detection signals. gtag, fbq, google-analytics, trackingPixel, analytics.js, hotjar
- Present means handled. consentTracking, disableTracking, optOutTracking, trackingPreferences
How to detect.
grep -rn 'gtag\|fbq\|google-analytics\|trackingPixel\|analytics.js\|hotjar' --include='*.js' --include='*.ts' --include='*.html' . && ! grep -rn 'consentTracking\|disableTracking\|optOutTracking\|trackingPreferences' .
BOTH-US-ASAA-AGE-SIGNALS-MISSING
- Title. Missing store age-signal integration for US state ASAA duties
- Platform. both
- Guideline or policy. US state App Store Accountability Acts (Utah SB 142, Texas SB 2420, and successor state acts). See docs/GLOBAL-REGULATORY-2026.md section 2.2
- Severity. high
- What triggers it. Heuristic, not a certification. An app with accounts or age-gated features shows no integration with the store age signal surfaces (Declared Age Range on iOS, Play Age Signals API on Android) and no verifiable parental consent handling for minor accounts. Store-side duties began 6 May 2026 (Utah) and are documented with primary sources in docs/GLOBAL-REGULATORY-2026.md section 2.2.
- How to fix it. Integrate the store age signal APIs, confirm verifiable parental consent for minor accounts before use, re-request consent on significant changes, and delete raw age verification data after verification.
- Detection signals. ageCategory, minorUser, parentalConsent, DeclaredAgeRange, age-signals
- Present means handled. verifyParentalConsent, handleAgeCategorySignal, rescindConsent, deleteAgeVerificationData
How to detect.
grep -rnE 'ageCategory|minorUser|parentalConsent|DeclaredAgeRange|age-signals' . && ! grep -rqE 'verifyParentalConsent|handleAgeCategorySignal|rescindConsent|deleteAgeVerificationData' .
APPLE-4.5.3-LIVE-ACTIVITY-SPAM
- Title. Live Activities used for promotional or unsolicited messages
- Platform. apple
- Guideline or policy. 4.5.3 Apple Services (revised 8 June 2026)
- Severity. high
- What triggers it. Guideline 4.5.3 now names Live Activities alongside Game Center and Push Notifications as surfaces that may not be used to spam, phish, or send unsolicited messages. A Live Activity that carries marketing, upsells, or content unrelated to the ongoing activity is rejected.
- How to fix it. Keep every Live Activity tied to a real, user-initiated, time-bound activity. No promotions, no engagement bait, no unrelated content in the Dynamic Island or Lock Screen presentation.
- Detection signals. ActivityKit, Activity.request, LiveActivity
How to detect.
grep -rn 'ActivityKit\|Activity\.request\|LiveActivity' {S} . # then review every Live Activity for promotional content
APPLE-ODR-DEPRECATED-27
- Title. On-Demand Resources still in use
- Platform. apple
- Guideline or policy. On-Demand Resources deprecation (WWDC26 App Store guide)
- Severity. high
- What triggers it. Apple deprecated On-Demand Resources starting in iOS 27, iPadOS 27, tvOS 27, and visionOS 27. Apps that rely on NSBundleResourceRequest tags will lose the download path in a future release and should migrate to Background Assets. From early 2027 App Store Connect will no longer accept uploads containing On-Demand Resources from new apps or apps that have never used this feature (release notes, 12 November 2026).
- How to fix it. Migrate tagged resources to the Background Assets framework before the iOS 27 family becomes the submission floor.
- Detection signals. NSBundleResourceRequest, OnDemandResources, on-demand-resource
- Present means handled. BackgroundAssets, BAManagedDownloader
How to detect.
grep -rn 'NSBundleResourceRequest\|OnDemandResources\|on-demand-resource' --include='*.swift' --include='*.m' --include='*.plist' --include='*.entitlements' --include='*.pbxproj' .
APPLE-MACOS-ROSETTA-SUNSET
- Title. Intel-only macOS binary with Rosetta ending after macOS 26 or macOS 27
- Platform. apple
- Guideline or policy. Rosetta sunset (Apple Developer news w5ngl9k2, 1 September 2026, and k1mtkt1k, 9 September 2026)
- Severity. high
- What triggers it. Apple's two notices disagree. The 1 September 2026 notice says macOS 27 is the final release to support Rosetta and that Intel-only apps stop running on Apple silicon after that update. The 9 September 2026 submissions notice says macOS 26 is the final release supporting Intel Mac computers and Rosetta, and that macOS 27 will be Apple silicon only. Plan for the earlier reading. an Intel-only (x86_64) macOS app must run natively on Apple silicon before macOS 27 ships. Detection is manual. check the build architectures and any x86_64-only dependencies.
- How to fix it. Ship a universal or arm64 binary, replace x86_64-only dependencies, and test on Apple silicon without Rosetta installed.
- Detection signals. x86_64, ONLY_ACTIVE_ARCH, VALID_ARCHS
- Present means handled. arm64
How to detect.
grep -rn 'VALID_ARCHS\|ONLY_ACTIVE_ARCH\|x86_64' --include='*.pbxproj' --include='*.xcconfig' . && ! grep -rqn 'arm64' --include='*.pbxproj' --include='*.xcconfig' .
APPLE-ENROLLMENT-VERIFICATION-PENDING
- Title. Launch planned before the developer account is active
- Platform. apple
- Guideline or policy. Apple Developer Program enrollment and identity verification (Apple Developer Forums threads 817247, 816626, 816864, 817185, 813667, 821680, 814930, January to September 2026)
- Severity. high
- What triggers it. Not a review rejection, a launch blocker that sits before review. Developers report enrollment stuck in Pending for two to six weeks after payment, identity-verification upload links that fail with an access error, no reply from Developer Support for weeks, and an individual-to-organization migration open for 61 days. A release date that assumes the account is active on day one slips by weeks. Detection is manual. check the membership status, the agreement acceptance state, and any pending migration before scheduling a submission.
- How to fix it. Enroll and complete identity verification at least six weeks before the planned first submission, keep the government ID upload ready, accept every ADPLA update and attachment as it lands (Attachment 12 Brazil by 6 July 2026, Attachment 14 EU before 1 October 2026), and start an individual-to-organization migration a quarter ahead. Track the support case number and escalate through Developer Support phone, not only email.
- Detection signals. enrollment, identity verification, Pending
How to detect.
echo 'manual. open developer.apple.com/account, confirm Membership is Active, every agreement and attachment is accepted, and no migration is pending, at least six weeks before the first submission'
APPLE-MIN-DEPLOYMENT-TARGET-IOS13
- Title. iOS deployment target below iOS 13
- Platform. apple
- Guideline or policy. App Store Connect upload requirement (Upcoming Requirements)
- Severity. high
- What triggers it. Apple's Upcoming Requirements page states that iOS and iPadOS apps uploaded to App Store Connect must target iOS 13 or later. An IPHONEOS_DEPLOYMENT_TARGET or Podfile platform below 13 is refused at upload. A dependency or test target below 13 does not block the upload on its own, so the guard reports this as high rather than blocking.
- How to fix it. Raise the deployment target to iOS 13.0 or later in the project, the app target and the Podfile.
- Detection signals. IPHONEOS_DEPLOYMENT_TARGET = 12, platform :ios, '12
- Present means handled. IPHONEOS_DEPLOYMENT_TARGET = 13, IPHONEOS_DEPLOYMENT_TARGET = 1[4-9]
How to detect.
grep -rnE 'IPHONEOS_DEPLOYMENT_TARGET *= *"?(8|9|10|11|12)[.;]|platform :ios, .(8|9|10|11|12)[.\x27]' --include='*.pbxproj' --include='*.xcconfig' --include='Podfile' .
APPLE-ACCESSIBILITY-COLORCONTRAST
- Title. Color Contrast and system settings ignored
- Platform. apple
- Guideline or policy. Design - Accessibility
- Severity. medium
- What triggers it. Hardcoded custom colors used without supporting dark/light mode, high-contrast settings, or checking isDarkerSystemColorsEnabled.
- How to fix it. Use dynamic or system colors that automatically adapt, or monitor isDarkerSystemColorsEnabled to adjust contrast dynamically.
- Detection signals. isDarkerSystemColorsEnabled, darkerSystemColors
How to detect.
python3 scripts/accessibility-audit.py . --rule APPLE-ACCESSIBILITY-COLORCONTRAST
APPLE-ACCESSIBILITY-DYNAMICTYPE
- Title. Dynamic Type support missing or overridden
- Platform. apple
- Guideline or policy. Design - Accessibility
- Severity. medium
- What triggers it. Hardcoded font sizes or styles used without matching scaling or preferredFont APIs, or adjustsFontForContentSizeCategory set to false.
- How to fix it. Use preferredFont(forTextStyle:) in UIKit and system/relative font styles in SwiftUI, ensuring adjustsFontForContentSizeCategory is enabled.
- Detection signals. UIFont.systemFont, preferredFont, adjustsFontForContentSizeCategory
How to detect.
python3 scripts/accessibility-audit.py . --rule APPLE-ACCESSIBILITY-DYNAMICTYPE
APPLE-ACCESSIBILITY-HAPTICS
- Title. Haptics tactile feedback missing on interactions
- Platform. apple
- Guideline or policy. Design - Accessibility
- Severity. medium
- What triggers it. Interactive elements, buttons, or custom controls lacking feedback generators or CoreHaptics calls.
- How to fix it. Add haptic feedback to buttons, toggles, and swipe actions using UIImpactFeedbackGenerator or selection feedback.
- Detection signals. UIImpactFeedbackGenerator, UINotificationFeedbackGenerator, UISelectionFeedbackGenerator, CHHapticEngine
How to detect.
python3 scripts/accessibility-audit.py . --rule APPLE-ACCESSIBILITY-HAPTICS
APPLE-ACCESSIBILITY-KEYBOARD
- Title. Keyboard navigation and focus state support missing
- Platform. apple
- Guideline or policy. Design - Accessibility
- Severity. medium
- What triggers it. Custom text editors or complex navigation flows missing keyCommands, focusState, or focusable modifiers.
- How to fix it. Support physical keyboard navigation by utilizing keyCommands in UIKit or focusable() and @FocusState in SwiftUI.
- Detection signals. keyCommands, UIKeyCommand, FocusState, focusable
How to detect.
python3 scripts/accessibility-audit.py . --rule APPLE-ACCESSIBILITY-KEYBOARD
APPLE-ACCESSIBILITY-REDUCEMOTION
- Title. Reduce Motion accessibility setting ignored
- Platform. apple
- Guideline or policy. Design - Accessibility
- Severity. medium
- What triggers it. Custom animations or transitions without checks for UIAccessibility.isReduceMotionEnabled or environment accessibilityReduceMotion.
- How to fix it. Check the Reduce Motion system status and disable or simplify non-essential animations when requested by the user.
- Detection signals. isReduceMotionEnabled, accessibilityReduceMotion
How to detect.
python3 scripts/accessibility-audit.py . --rule APPLE-ACCESSIBILITY-REDUCEMOTION
APPLE-ACCESSIBILITY-VOICEOVER
- Title. VoiceOver support missing or incomplete
- Platform. apple
- Guideline or policy. Design - Accessibility
- Severity. medium
- What triggers it. Interactive views or images without accessibilityLabel, accessibilityIdentifier, isAccessibilityElement, or accessibilityElement(children:) properties.
- How to fix it. Ensure all interactive components and decorative or informative images have correct accessibility labels, hints, and traits assigned.
- Detection signals. UIAccessibility, accessibilityLabel, accessibilityIdentifier, isAccessibilityElement
How to detect.
python3 scripts/accessibility-audit.py . --rule APPLE-ACCESSIBILITY-VOICEOVER
APPLE-2.5.5-IPV4-ONLY-NETWORKING
- Title. IPv4-only networking fails on the IPv6-only review network
- Platform. apple
- Guideline or policy. 2.5.5
- Severity. medium
- What triggers it. App Review tests on an IPv6-only NAT64 network. Code that resolves or connects with inet_addr, inet_aton or gethostbyname works on IPv4 and fails during review, so the app looks broken (2.5.5, apps must be fully functional on IPv6-only networks).
- How to fix it. Use getaddrinfo, Network.framework or URLSession, avoid hardcoded IPv4 literals, and test on a NAT64 network created with Mac Internet Sharing.
- Detection signals. inet_addr(, inet_aton(, gethostbyname(
- Present means handled. getaddrinfo, NWConnection, URLSession
How to detect.
grep -rnE '(inet_addr|inet_aton|gethostbyname)[[:space:]]*\(' --include='*.swift' --include='*.m' --include='*.mm' --include='*.c' --include='*.h' .
APPLE-5.1.3-HEALTH-DATA-ICLOUD
- Title. Health data may reach iCloud
- Platform. apple
- Guideline or policy. 5.1.3(ii)
- Severity. medium
- What triggers it. Guideline 5.1.3(ii) bars storing personal health information in iCloud. An app that reads HealthKit and also writes to CloudKit, NSUbiquitousKeyValueStore or an NSPersistentCloudKitContainer needs a check that no health data takes that path.
- How to fix it. Keep HealthKit and other health data on device or in a backend you control, and exclude it from any CloudKit or iCloud key-value sync.
- Detection signals. HKHealthStore, CKContainer, NSUbiquitousKeyValueStore, NSPersistentCloudKitContainer
How to detect.
grep -rqE 'HKHealthStore' --include='*.swift' --include='*.m' . && grep -rnE 'CKContainer|CKDatabase|NSUbiquitousKeyValueStore|NSPersistentCloudKitContainer' --include='*.swift' --include='*.m' .