Stringers/Guides
App Store Review & Preflight

SwiftUI App Store review checklist for native iOS apps

A native Swift project gives you the most control and the most places to forget something. This checklist walks the 26 preflight rules in the order you meet them in Xcode: target settings and Info.plist, the privacy manifest, StoreKit, accounts, networking, and then the things only a human can verify.

Updated Rules from stringer-preflight 1.1.0 (MIT)By Stringers

Scan the project first

From the folder that contains your .xcodeproj:

bash
npx skills add komako-workshop/stringers   # agent skill: "preflight this app for App Store review"
stringer-preflight . --strict              # or run the scanner directly

The scanner reads Info.plist, INFOPLIST_KEY_… build settings in project.pbxproj, entitlements, PrivacyInfo.xcprivacy, storyboards and all .swift, .m, .mm and .h files. Code inside #if DEBUG, #Preview and PreviewProvider is ignored, as are Swift Package and CocoaPods sources.

1. Info.plist purpose strings

Projects created with recent Xcode versions have no Info.plist file; keys live in build settings as INFOPLIST_KEY_NSCameraUsageDescription and friends. Either location works. What matters is that every protected resource your code touches has a specific sentence.

Capability detected in codeInfo.plist key that must exist
MicrophoneNSMicrophoneUsageDescription
Speech recognitionNSSpeechRecognitionUsageDescription
ContactsNSContactsUsageDescription
BluetoothNSBluetoothAlwaysUsageDescription or NSBluetoothPeripheralUsageDescription
Face IDNSFaceIDUsageDescription
HealthKitNSHealthShareUsageDescription or NSHealthUpdateUsageDescription
CalendarNSCalendarsUsageDescription or NSCalendarsFullAccessUsageDescription or NSCalendarsWriteOnlyAccessUsageDescription or NSRemindersUsageDescription or NSRemindersFullAccessUsageDescription

IOS-PLIST-005 then checks the text. "Camera access", "TODO" or anything under 16 characters fails; "Scan a receipt to add its line items to your budget" passes. The sentence appears in the system alert, and a reviewer who cannot tell why you want the data rejects under Guideline 5.1.1.

2. PrivacyInfo.xcprivacy in the app target

UserDefaults and @AppStorage are Required Reason APIs. So are fileModificationDate, ProcessInfo.systemUptime and volumeAvailableCapacity. If you use any of them and the target has no privacy manifest, the upload is answered with ITMS-91053 (IOS-PRIV-001); if the manifest exists but misses a category, that is IOS-PRIV-002.

In Xcode: File > New > File > App Privacy, name it PrivacyInfo.xcprivacy, and tick your app target under Target Membership. A manifest that is in the folder but not in the target's Copy Bundle Resources phase does nothing. Copy-paste XML and every reason code are in the PrivacyInfo.xcprivacy reference.

If you integrate an ads or attribution SDK (GoogleMobileAds, FBSDKCoreKit, AppsFlyer, Adjust), IOS-PRIV-003 also expects NSUserTrackingUsageDescription and a call to ATTrackingManager.requestTrackingAuthorization before the SDK reads the IDFA.

3. StoreKit 2: entitlements, Transaction.updates and Restore

Guideline 3.1.1 requires a restore mechanism; IOS-IAP-001 fires when purchase code exists and no restore call does. With StoreKit 2, purchases normally sync by themselves, but the button is still required, and it should call AppStore.sync():

swift
import StoreKit

@MainActor
final class Store: ObservableObject {
    @Published private(set) var isPro = false
    private var updates: Task<Void, Never>?

    init() {
        updates = Task { [weak self] in
            for await result in Transaction.updates {          // renewals, refunds, Ask to Buy approvals
                guard case .verified(let transaction) = result else { continue }
                await transaction.finish()
                await self?.refresh()
            }
        }
        Task { await refresh() }
    }

    func refresh() async {
        var active = false
        for await result in Transaction.currentEntitlements {
            if case .verified(let t) = result, t.revocationDate == nil { active = true }
        }
        isPro = active
    }

    func restorePurchases() async {
        try? await AppStore.sync()
        await refresh()
    }
}

Listening to Transaction.updates from launch is what makes a purchase approved on another device, or a refund, show up without the user doing anything. Skipping it is the usual cause of "I paid and the app is still locked" reviews.

If you use Apple's SubscriptionStoreView, three modifiers cover both paywall rules, IOS-IAP-001 and IOS-IAP-002 (Guideline 3.1.2: Terms of Use and Privacy Policy links on the paywall):

swift
SubscriptionStoreView(groupID: "21480000")
    .storeButton(.visible, for: .restorePurchases)
    .subscriptionStorePolicyDestination(url: termsURL, for: .termsOfService)
    .subscriptionStorePolicyDestination(url: privacyURL, for: .privacyPolicy)

A custom paywall needs the same three things as plain Button and Link views, plus the billed price and period as the most prominent price on screen. The Guideline 3.1.2 checklist has the full list.

4. Accounts: Sign in with Apple and deletion

IOS-AUTH-001 (Guideline 4.8): if the project imports GoogleSignIn or FBSDKLoginKit, offer Sign in with Apple next to it. Add the Sign in with Apple capability to the target (it writes the com.apple.developer.applesignin entitlement) and use the system button:

swift
import AuthenticationServices

SignInWithAppleButton(.signIn) { request in
    request.requestedScopes = [.fullName, .email]
} onCompletion: { result in
    // exchange the credential with your backend
}
.signInWithAppleButtonStyle(.black)
.frame(height: 50)

IOS-AUTH-002 (Guideline 5.1.1(v)): if the app creates accounts, it must delete them in-app. With Firebase that is try await Auth.auth().currentUser?.delete() after a recent re-authentication, plus removal of the user's data on your server. Signing out or deactivating is not deletion. Details and the Apple token revocation call are in the account deletion guide.

IOS-META-002 is the companion warning: if there is a login, App Review needs a demo username and password in App Store Connect under App Review Information, and that account must reach every gated screen.

5. Networking and build hygiene

6. What only you can check

These are outside any scanner's reach and account for a large share of 2.1 and 2.3 rejections:

  1. Complete a sandbox purchase and a restore on a real device with a fresh sandbox Apple ID.
  2. Confirm the demo account in App Store Connect still signs in and reaches every gated screen.
  3. Make sure the app offers enough original, lasting value (4.2) and is not a re-skin of another app (4.3).
  4. Check that screenshots and previews show this exact build, with no mockup-only features.
  5. Open the privacy policy and support URLs in a private browser window: they must load without a login.

Two native-specific additions. If the target's device family includes iPad, the app is reviewed on an iPad: test every screen in portrait and landscape, and upload iPad screenshots, or make the app iPhone-only before the first release. And write review notes: a short factual list of what the app does, the demo account, the taps needed to reach each paid screen, every permission and why, and where Restore Purchases is. With the skill installed, your agent drafts this as REVIEW_NOTES.md from the code.

Run the free preflight scan

A deterministic, read-only scanner: 26 App Store rejection rules, one Python file, no login, no network calls. Install the skill and ask your coding agent to "preflight this app for App Store review".

Open App Store Preflight
npx skills add komako-workshop/stringers
★ Star on GitHub

Open Source (MIT) · Star komako-workshop/stringers on GitHub

Frequently asked questions

Does a SwiftUI app need a PrivacyInfo.xcprivacy file?

If it uses UserDefaults, @AppStorage, file timestamps, system uptime or free disk space, yes. Nearly every app uses UserDefaults, so in practice every app should ship one with at least the CA92.1 reason.

Is a Restore Purchases button required with StoreKit 2?

Yes. StoreKit 2 keeps entitlements in sync automatically, but Guideline 3.1.1 still requires a visible restore mechanism. Call AppStore.sync() from it.

Do I need NSPhotoLibraryUsageDescription when using PhotosPicker?

No. PhotosPicker and PHPickerViewController run in a separate process and need no permission. You need the key only when you use PHPhotoLibrary or PHAsset directly, and NSPhotoLibraryAddUsageDescription when you save to the library.

Where do Info.plist keys go when my project has no Info.plist?

In the target build settings as INFOPLIST_KEY_<KeyName>, editable under the target Info tab in Xcode. The scanner reads both the build settings and any Info.plist file.

What should App Review notes contain?

What the app does in two or three plain sentences, a working demo account, numbered steps to reach each gated or paid feature, each permission and its reason, product IDs with prices and trial terms, and which AI or third-party services receive user data.

Related guides