<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 이대겸</title>
    <description>The latest articles on DEV Community by 이대겸 (@_9bf2089fc277e31aa5979).</description>
    <link>https://dev.to/_9bf2089fc277e31aa5979</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4224586%2F6fda6363-7d80-4f92-97a7-83f16ff9f7b3.png</url>
      <title>DEV Community: 이대겸</title>
      <link>https://dev.to/_9bf2089fc277e31aa5979</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_9bf2089fc277e31aa5979"/>
    <language>en</language>
    <item>
      <title>Run PrivacyInfo.xcprivacy Preflight in GitHub Actions Before App Store Submission</title>
      <dc:creator>이대겸</dc:creator>
      <pubDate>Thu, 05 Nov 2026 04:25:11 +0000</pubDate>
      <link>https://dev.to/_9bf2089fc277e31aa5979/run-privacyinfoxcprivacy-preflight-in-github-actions-before-app-store-submission-126h</link>
      <guid>https://dev.to/_9bf2089fc277e31aa5979/run-privacyinfoxcprivacy-preflight-in-github-actions-before-app-store-submission-126h</guid>
      <description>&lt;p&gt;App Store privacy issues are much easier to investigate before a release than after an upload warning appears.&lt;/p&gt;

&lt;p&gt;A useful release workflow is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;scan the repository,&lt;/li&gt;
&lt;li&gt;review PrivacyInfo.xcprivacy and Required-Reason API signals,&lt;/li&gt;
&lt;li&gt;check dependency evidence,&lt;/li&gt;
&lt;li&gt;fail CI when the repository needs review,&lt;/li&gt;
&lt;li&gt;keep the result with the release evidence.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This post shows one way to add that preflight to GitHub Actions using the AccessVerdict CLI.&lt;/p&gt;

&lt;p&gt;The goal is not to replace Apple's validation.&lt;/p&gt;

&lt;p&gt;The goal is to catch repository-level evidence earlier.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are we checking?
&lt;/h2&gt;

&lt;p&gt;Before an App Store submission, I want CI to answer a few simple questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Does the repository contain a PrivacyInfo.xcprivacy file?&lt;/li&gt;
&lt;li&gt;Are there Required-Reason API signals in the source?&lt;/li&gt;
&lt;li&gt;Does the privacy manifest appear structurally consistent with those signals?&lt;/li&gt;
&lt;li&gt;Are there dependencies that deserve privacy-manifest review?&lt;/li&gt;
&lt;li&gt;Did anything change since the last release?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are repository questions.&lt;/p&gt;

&lt;p&gt;They are not the same thing as validating the final built application.&lt;/p&gt;

&lt;p&gt;That distinction matters.&lt;/p&gt;

&lt;p&gt;A clean repository preflight does &lt;strong&gt;not&lt;/strong&gt; guarantee App Store acceptance, but it can catch obvious gaps before upload.&lt;/p&gt;

&lt;h2&gt;
  
  
  Run the CLI locally first
&lt;/h2&gt;

&lt;p&gt;You can run the preflight without installing anything globally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;--yes&lt;/span&gt; @accessverdict/cli@0.2.3 scan &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For CI, I prefer strict mode:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;--yes&lt;/span&gt; @accessverdict/cli@0.2.3 scan &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;--strict&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Strict mode is useful when you want review-only findings to affect the CI result instead of being treated as advisory.&lt;/p&gt;

&lt;p&gt;You can also request machine-readable output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;--yes&lt;/span&gt; @accessverdict/cli@0.2.3 scan &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;--json&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The scan is deterministic and repository-based.&lt;/p&gt;

&lt;p&gt;Source files are scanned locally by the CLI rather than uploaded to an AI model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minimal GitHub Actions workflow
&lt;/h2&gt;

&lt;p&gt;Create:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.github/workflows/privacy-preflight.yml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then add:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;App Store Privacy Preflight&lt;/span&gt;

&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;pull_request&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;push&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;branches&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;main&lt;/span&gt;
  &lt;span class="na"&gt;workflow_dispatch&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;

&lt;span class="na"&gt;permissions&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;contents&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;read&lt;/span&gt;

&lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;DO_NOT_TRACK&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;1"&lt;/span&gt;

&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;privacy-preflight&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;

    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Checkout repository&lt;/span&gt;
        &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v4&lt;/span&gt;

      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Set up Node.js&lt;/span&gt;
        &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/setup-node@v4&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;node-version&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;24&lt;/span&gt;

      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Run privacy preflight&lt;/span&gt;
        &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npx --yes @accessverdict/cli@0.2.3 scan . --strict&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is enough to turn the repository scan into a basic CI gate.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;DO_NOT_TRACK=1&lt;/code&gt; environment variable disables AccessVerdict CLI telemetry for the workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why pin the CLI version?
&lt;/h2&gt;

&lt;p&gt;You could use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @accessverdict/cli scan &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But CI should normally be reproducible.&lt;/p&gt;

&lt;p&gt;Pinning:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;@accessverdict/cli@0.2.3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;means a future CLI release does not unexpectedly change the behavior of an existing release workflow.&lt;/p&gt;

&lt;p&gt;You can upgrade the version deliberately after reviewing the changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understand the exit codes
&lt;/h2&gt;

&lt;p&gt;The CLI uses different exit codes depending on the result.&lt;/p&gt;

&lt;p&gt;At the time of writing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;0   Clean / no blocking finding
2   Blocking finding
3   Review-only finding when --strict is enabled
4   Scan or read error
64  CLI usage error
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This makes it possible to use the preflight as a real CI decision instead of parsing human-readable text.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;--yes&lt;/span&gt; @accessverdict/cli@0.2.3 scan &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;--strict&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;will cause the GitHub Actions step to fail when the repository contains a blocking issue or a review result that strict mode treats as actionable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Preserve the report as a CI artifact
&lt;/h2&gt;

&lt;p&gt;A useful improvement is to keep the preflight result with the workflow run.&lt;/p&gt;

&lt;p&gt;That gives you historical evidence of what the repository looked like when a release was reviewed.&lt;/p&gt;

&lt;p&gt;Run the CLI with JSON output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Generate privacy preflight report&lt;/span&gt;
  &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
    &lt;span class="s"&gt;npx --yes @accessverdict/cli@0.2.3 scan . --json --strict &amp;gt; privacy-preflight.json&lt;/span&gt;

&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Archive privacy preflight report&lt;/span&gt;
  &lt;span class="na"&gt;if&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;always()&lt;/span&gt;
  &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/upload-artifact@v4&lt;/span&gt;
  &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;privacy-preflight-report&lt;/span&gt;
    &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;privacy-preflight.json&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;if: always()&lt;/code&gt; is important.&lt;/p&gt;

&lt;p&gt;If the scan fails the CI step, GitHub Actions can still upload the report so you can inspect the evidence that caused the failure.&lt;/p&gt;

&lt;p&gt;A complete workflow could look like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;App Store Privacy Preflight&lt;/span&gt;

&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;pull_request&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;push&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;branches&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;main&lt;/span&gt;
  &lt;span class="na"&gt;workflow_dispatch&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;

&lt;span class="na"&gt;permissions&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;contents&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;read&lt;/span&gt;

&lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;DO_NOT_TRACK&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;1"&lt;/span&gt;

&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;privacy-preflight&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;

    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Checkout repository&lt;/span&gt;
        &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v4&lt;/span&gt;

      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Set up Node.js&lt;/span&gt;
        &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/setup-node@v4&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;node-version&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;24&lt;/span&gt;

      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Generate privacy preflight report&lt;/span&gt;
        &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
          &lt;span class="s"&gt;npx --yes @accessverdict/cli@0.2.3 scan . --json --strict &amp;gt; privacy-preflight.json&lt;/span&gt;

      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Archive privacy preflight report&lt;/span&gt;
        &lt;span class="na"&gt;if&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;always()&lt;/span&gt;
        &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/upload-artifact@v4&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;privacy-preflight-report&lt;/span&gt;
          &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;privacy-preflight.json&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now every workflow run can leave behind a machine-readable preflight report.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why archive the report?
&lt;/h2&gt;

&lt;p&gt;There is an important boundary between:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;repository evidence
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;the final built application
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A repository scanner cannot prove exactly what ended up inside the final App Store artifact.&lt;/p&gt;

&lt;p&gt;But preserving the preflight report gives you useful traceability.&lt;/p&gt;

&lt;p&gt;If an App Store warning appears later, you can go back to the exact CI run and inspect:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the commit,&lt;/li&gt;
&lt;li&gt;the dependency lockfiles,&lt;/li&gt;
&lt;li&gt;the PrivacyInfo.xcprivacy state,&lt;/li&gt;
&lt;li&gt;the detected Required-Reason API evidence,&lt;/li&gt;
&lt;li&gt;the dependency inventory,&lt;/li&gt;
&lt;li&gt;and the preflight result that was reviewed before release.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a production release process, that history can be more useful than simply seeing a green checkmark.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lockfiles matter
&lt;/h2&gt;

&lt;p&gt;Privacy review is not only about your own Swift or Objective-C source.&lt;/p&gt;

&lt;p&gt;Dependencies matter too.&lt;/p&gt;

&lt;p&gt;Depending on the project, useful evidence may include files such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Podfile
Podfile.lock
Package.swift
Package.resolved
pubspec.yaml
package.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A repository preflight can use those files to identify dependencies that deserve additional privacy review.&lt;/p&gt;

&lt;p&gt;It should not pretend to know more than the repository can prove.&lt;/p&gt;

&lt;p&gt;For example, identifying an SDK dependency is different from proving that the exact compiled version in the final application satisfies every current App Store requirement.&lt;/p&gt;

&lt;p&gt;That final distinction should remain explicit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test the workflow before using it on a real app
&lt;/h2&gt;

&lt;p&gt;I maintain a small public repository containing intentionally simplified privacy-manifest cases:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/tzlee123/ios-privacy-manifest-preflight-cases" rel="noopener noreferrer"&gt;https://github.com/tzlee123/ios-privacy-manifest-preflight-cases&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The examples include:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;01-missing-manifest
02-missing-category
03-structure-review
04-sdk-review
05-clean
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;They are intentionally small teaching fixtures rather than complete buildable iOS applications.&lt;/p&gt;

&lt;p&gt;You can try:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;--yes&lt;/span&gt; @accessverdict/cli@0.2.3 scan ./cases/01-missing-manifest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and compare it with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;--yes&lt;/span&gt; @accessverdict/cli@0.2.3 scan ./cases/05-clean
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There is also a public GitHub Actions workflow running the CLI against these cases:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/tzlee123/ios-privacy-manifest-preflight-cases/actions/workflows/accessverdict-cli-demo.yml" rel="noopener noreferrer"&gt;https://github.com/tzlee123/ios-privacy-manifest-preflight-cases/actions/workflows/accessverdict-cli-demo.yml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That is useful if you want to inspect a working CI example before adding the workflow to your own repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where should this run?
&lt;/h2&gt;

&lt;p&gt;There are several reasonable choices.&lt;/p&gt;

&lt;h3&gt;
  
  
  On every pull request
&lt;/h3&gt;

&lt;p&gt;Good when privacy-related changes happen frequently.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;pull_request&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Only on main
&lt;/h3&gt;

&lt;p&gt;Good when you want less CI noise.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;push&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;branches&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;main&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Only before release
&lt;/h3&gt;

&lt;p&gt;You can also trigger the workflow manually:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;workflow_dispatch&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a small team, I like combining all three and adjusting later based on actual workflow volume.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI review and deterministic checks are different tools
&lt;/h2&gt;

&lt;p&gt;An AI assistant can be useful for explaining a finding.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why might UserDefaults require review?&lt;/li&gt;
&lt;li&gt;What does this manifest key mean?&lt;/li&gt;
&lt;li&gt;Which dependency introduced this SDK?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But a release gate should ideally behave the same way every time it sees the same repository state.&lt;/p&gt;

&lt;p&gt;That is why I prefer a deterministic scanner for the CI decision and AI for the explanation layer.&lt;/p&gt;

&lt;p&gt;The two approaches complement each other.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical release checklist
&lt;/h2&gt;

&lt;p&gt;Before App Store submission:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ ] PrivacyInfo.xcprivacy exists where expected

[ ] Required-Reason API signals have been reviewed

[ ] Manifest categories and reason arrays have been reviewed

[ ] Dependency lockfiles have been checked

[ ] SDK privacy requirements have been reviewed

[ ] Preflight passes in CI

[ ] JSON report is archived with the workflow run

[ ] Final built product is still reviewed separately
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The last item is important.&lt;/p&gt;

&lt;p&gt;Repository evidence is valuable, but it should not be confused with final binary validation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try the repository preflight
&lt;/h2&gt;

&lt;p&gt;AccessVerdict provides the same repository preflight through the web and CLI:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://accessverdict.dev/app-store-preflight?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=privacy_preflight_ci" rel="noopener noreferrer"&gt;https://accessverdict.dev/app-store-preflight?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=privacy_preflight_ci&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Or run it locally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;--yes&lt;/span&gt; @accessverdict/cli@0.2.3 scan &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a stricter CI gate:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;--yes&lt;/span&gt; @accessverdict/cli@0.2.3 scan &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;--strict&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And for automation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;--yes&lt;/span&gt; @accessverdict/cli@0.2.3 scan &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;--json&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important part is not adding another tool to the release process.&lt;/p&gt;

&lt;p&gt;It is moving privacy-manifest review earlier, when the repository evidence is still easy to inspect and fix.&lt;/p&gt;




&lt;p&gt;AccessVerdict is an independent developer tool and is not affiliated with Apple.&lt;/p&gt;

&lt;p&gt;A clean preflight result does not guarantee App Store acceptance. Always review current Apple requirements and the final application before submission.&lt;/p&gt;

</description>
      <category>ios</category>
      <category>githubactions</category>
      <category>devops</category>
      <category>appstore</category>
    </item>
    <item>
      <title>How to Catch PrivacyInfo.xcprivacy and Required-Reason API Gaps Before App Store Submission</title>
      <dc:creator>이대겸</dc:creator>
      <pubDate>Tue, 03 Nov 2026 15:42:57 +0000</pubDate>
      <link>https://dev.to/_9bf2089fc277e31aa5979/how-to-catch-privacyinfoxcprivacy-and-required-reason-api-gaps-before-app-store-submission-1opc</link>
      <guid>https://dev.to/_9bf2089fc277e31aa5979/how-to-catch-privacyinfoxcprivacy-and-required-reason-api-gaps-before-app-store-submission-1opc</guid>
      <description>&lt;p&gt;Apple's privacy-manifest requirements have added a new release checklist for iOS teams. A repository can contain app-owned code that uses a Required-Reason API, one or more &lt;code&gt;PrivacyInfo.xcprivacy&lt;/code&gt; files, and third-party SDKs that have their own privacy-manifest or signature requirements.&lt;/p&gt;

&lt;p&gt;The painful time to discover an obvious gap is after preparing a release.&lt;/p&gt;

&lt;p&gt;This guide shows a bounded, repeatable way to check repository evidence before App Store Connect upload. It does not replace Apple's final build validation or App Review.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should you check before upload?
&lt;/h2&gt;

&lt;p&gt;For a privacy-manifest preflight, three questions are especially useful:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Does app-owned native source contain signals for Apple's Required-Reason API categories?&lt;/li&gt;
&lt;li&gt;Do the scanned &lt;code&gt;PrivacyInfo.xcprivacy&lt;/code&gt; files appear to cover those categories without obvious structure gaps?&lt;/li&gt;
&lt;li&gt;Do dependency files contain SDKs on Apple's commonly used SDK list that deserve version-specific privacy-manifest/signature review?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Common App Store Connect messages developers search for include &lt;code&gt;ITMS-91053&lt;/code&gt; and &lt;code&gt;ITMS-91056&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Find app-owned Required-Reason API signals
&lt;/h2&gt;

&lt;p&gt;A simple example is app-owned use of &lt;code&gt;UserDefaults&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight swift"&gt;&lt;code&gt;&lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="nv"&gt;defaults&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;UserDefaults&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;standard&lt;/span&gt;
&lt;span class="k"&gt;let&lt;/span&gt; &lt;span class="nv"&gt;isFirstLaunch&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;defaults&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;bool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;forKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"hasLaunchedBefore"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A static preflight can recognize that source signal as the category:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;NSPrivacyAccessedAPICategoryUserDefaults&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If the bounded repository scan finds that signal but does not find a relevant category declaration in the scanned privacy manifests, it can flag the file and line for review.&lt;/p&gt;

&lt;p&gt;That is more useful than a generic warning because the developer gets repository evidence to inspect.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Review PrivacyInfo.xcprivacy structure
&lt;/h2&gt;

&lt;p&gt;A privacy manifest can exist while still containing an obvious declaration gap.&lt;/p&gt;

&lt;p&gt;A typical accessed-API entry has both the API category and a reasons array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;NSPrivacyAccessedAPITypes&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;array&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;dict&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;NSPrivacyAccessedAPIType&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;string&amp;gt;&lt;/span&gt;NSPrivacyAccessedAPICategoryUserDefaults&lt;span class="nt"&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;NSPrivacyAccessedAPITypeReasons&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;array&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;string&amp;gt;&lt;/span&gt;CA92.1&lt;span class="nt"&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/array&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/dict&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/array&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The reason code above is only an example for a specific Apple-defined UserDefaults use case. Do not copy a reason code merely because it makes a warning disappear. Confirm that the selected Apple-approved reason matches the app's actual behavior.&lt;/p&gt;

&lt;p&gt;A repository preflight can flag obvious structure gaps, such as an accessed API type that appears to be missing a corresponding reasons declaration. The final built product remains authoritative.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Inventory Apple-listed SDK dependencies
&lt;/h2&gt;

&lt;p&gt;Privacy-manifest work is not limited to app-owned Swift or Objective-C.&lt;/p&gt;

&lt;p&gt;Useful dependency evidence can appear in files such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Podfile&lt;/code&gt; and &lt;code&gt;Podfile.lock&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Package.swift&lt;/code&gt; and &lt;code&gt;Package.resolved&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;pubspec.yaml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;package.json&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A preflight can inventory names that appear on Apple's commonly used SDK list, such as Firebase modules, Flutter, hermes, Alamofire, Kingfisher, Lottie, RealmSwift, and others.&lt;/p&gt;

&lt;p&gt;This should be treated as a review signal, not proof that a submission is broken. The exact dependency version packaged into the final app determines whether the expected privacy manifest and, when applicable, SDK signature are present.&lt;/p&gt;

&lt;h2&gt;
  
  
  Run the same preflight locally
&lt;/h2&gt;

&lt;p&gt;If you want to check a repository without connecting it to a web service, run the AccessVerdict CLI locally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @accessverdict/cli scan &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For machine-readable output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @accessverdict/cli scan &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;--json&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For CI, &lt;code&gt;--strict&lt;/code&gt; makes review-only findings return a non-zero exit code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @accessverdict/cli scan &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="nt"&gt;--strict&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The CLI scans repository text files on your machine and does not upload repository source code to AccessVerdict. Its optional anonymous usage telemetry contains only a random installation id, CLI version, outcome class, and whether &lt;code&gt;--json&lt;/code&gt; or &lt;code&gt;--strict&lt;/code&gt; was used. It does not send repository names, paths, filenames, source code, or finding text. Set &lt;code&gt;DO_NOT_TRACK=1&lt;/code&gt; or &lt;code&gt;ACCESSVERDICT_TELEMETRY=0&lt;/code&gt; to disable it.&lt;/p&gt;

&lt;p&gt;You can also try the CLI against the five synthetic cases in the companion GitHub repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  Put the preflight in GitHub Actions
&lt;/h2&gt;

&lt;p&gt;A minimal CI check can run the same public CLI on pull requests:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;App Store privacy preflight&lt;/span&gt;

&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;pull_request&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;

&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;privacy-preflight&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;DO_NOT_TRACK&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;1"&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v4&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/setup-node@v4&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;node-version&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;24&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npx --yes @accessverdict/cli scan . --strict&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The companion repository runs a live version of this workflow and verifies both a clean fixture and an expected blocker fixture:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/tzlee123/ios-privacy-manifest-preflight-cases/actions/workflows/accessverdict-cli-demo.yml" rel="noopener noreferrer"&gt;https://github.com/tzlee123/ios-privacy-manifest-preflight-cases/actions/workflows/accessverdict-cli-demo.yml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The demo disables telemetry so automated example runs do not get counted as real CLI usage.&lt;/p&gt;

&lt;h2&gt;
  
  
  A deterministic repository preflight
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://accessverdict.dev/app-store-preflight?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=privacy_preflight" rel="noopener noreferrer"&gt;AccessVerdict&lt;/a&gt; runs bounded, read-only repository checks and reports file-level evidence.&lt;/p&gt;

&lt;p&gt;Its current preflight focuses on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;PrivacyInfo.xcprivacy&lt;/code&gt; presence and obvious structure gaps;&lt;/li&gt;
&lt;li&gt;app-owned Required-Reason API source signals;&lt;/li&gt;
&lt;li&gt;category coverage in scanned privacy manifests;&lt;/li&gt;
&lt;li&gt;common Apple-listed SDK dependency inventory;&lt;/li&gt;
&lt;li&gt;repository-scope uncertainty.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The scanner does not execute customer code and does not claim to reproduce App Review.&lt;/p&gt;

&lt;p&gt;The useful workflow is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Scan the repository.&lt;/li&gt;
&lt;li&gt;Review the file-level finding.&lt;/li&gt;
&lt;li&gt;Confirm the requirement in Apple's documentation.&lt;/li&gt;
&lt;li&gt;Fix the project locally.&lt;/li&gt;
&lt;li&gt;Run the same preflight again.&lt;/li&gt;
&lt;li&gt;Confirm the final Xcode privacy report and built product before submission.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Five small cases you can inspect
&lt;/h2&gt;

&lt;p&gt;A companion public repository contains five minimal synthetic cases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;missing privacy manifest;&lt;/li&gt;
&lt;li&gt;required-reason API category missing from an existing manifest;&lt;/li&gt;
&lt;li&gt;obvious manifest reasons-structure gap;&lt;/li&gt;
&lt;li&gt;Apple-listed SDK dependency review;&lt;/li&gt;
&lt;li&gt;clean preflight case.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Browse the cases on GitHub: &lt;a href="https://github.com/tzlee123/ios-privacy-manifest-preflight-cases" rel="noopener noreferrer"&gt;ios-privacy-manifest-preflight-cases&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not just ask an AI assistant?
&lt;/h2&gt;

&lt;p&gt;AI is useful for explaining Apple documentation and helping write a fix.&lt;/p&gt;

&lt;p&gt;A release gate has a different job: run the same bounded checks every time and return repeatable evidence. The two workflows complement each other.&lt;/p&gt;

&lt;p&gt;Use an assistant to understand or edit. Use a deterministic preflight to rerun the release check.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final checklist
&lt;/h2&gt;

&lt;p&gt;Before an App Store upload:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;inspect app-owned Required-Reason API usage;&lt;/li&gt;
&lt;li&gt;review the privacy-manifest evidence in the repository;&lt;/li&gt;
&lt;li&gt;inspect the exact third-party SDK versions used by the build;&lt;/li&gt;
&lt;li&gt;rerun the same preflight after changes;&lt;/li&gt;
&lt;li&gt;confirm the final Xcode-generated privacy report and submitted build.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can run the repository preflight at &lt;a href="https://accessverdict.dev/app-store-preflight?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=privacy_preflight" rel="noopener noreferrer"&gt;accessverdict.dev&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;AccessVerdict is an advisory static-analysis tool and is not affiliated with Apple. A clean repository scan is not a guarantee of App Store approval.&lt;/p&gt;

</description>
      <category>ios</category>
      <category>swift</category>
      <category>privacy</category>
      <category>appstore</category>
    </item>
  </channel>
</rss>
