Godot 4.7.2 on the Mac App Store: Every Local Check Passed, Then Apple Rejected the Upload With 90264 and 90983

The lane's local checks had passed on this export preset: a valid installer signature, a valid app signature for both architectures, the exact sandbox entitlements, the right embedded profile, and a minimum macOS version declared for arm64 and x86_64. Apple's upload validation rejected it with errors 90264 and 90983. The next upload was accepted, and the only commit between the two added one key in one line of export_presets.cfg.

That was the third time on 2026-10-16 that a check passed and the next layer found something anyway. The game is Orbitilt, my own Godot game, exported with a pinned Godot 4.7.2.stable.official through a scripted lane: build, check and upload commands around tools/release_macos.py. The lane was built in AI coding sessions under review, so below I say "the lane" and "review found". Each section has the same shape: what passed, what the next layer found, and the change.

1. Fake Apple tools passed, the first real import did not

The lane arrived with a test suite that replaces godot, codesign, pkgutil, security, lipo and xcrun with one fake script on PATH. The fake Godot writes a zip in the shape of an installer, and the tests check that the lane refuses a wrong certificate, a changed entitlement, a dirty checkout, and an upload without its approval flag. The first commit had 16 of them; the pull request ended with 18, because two were written after what happened next.

Then the lane ran for real at a clean commit. It exports a git archive of HEAD into a temporary directory, so nothing ignored by Git comes along, including Godot's import cache. The game's translations are tracked as translations/ui.csv; the .translation resources the game loads are not tracked. On the first import of that fresh copy, Godot logged the English and Korean resources as missing. The lane's rule at that commit was that any ERROR: in the import or export log stops the build before it writes its success records:

for name in ("import.log", "export.log"):
    require(
        not re.search(r"(^|\s)(SCRIPT ERROR|ERROR):", (RELEASE / name).read_text()),
        f"Godot errors; see {RELEASE / name}",
    )

So the first native build failed on a state the fake Godot never produced: its import always succeeded. The original log was not available when I wrote this, so I quote no line from it. The shape of the errors is recorded in the fix, which imports twice and tolerates exactly two message forms, each for the English and the Korean resource, on the first pass:

def check_godot_log(log, bootstrap=False):
    errors = re.findall(r"(?:^|\s)((?:SCRIPT ERROR|ERROR):[^\n]*)", log.read_text())
    # A fresh CSV import generates these two files after startup tries to read project translations.
    missing_translation = re.compile(
        r"ERROR: (?:Cannot open file 'res://translations/ui\.(?:en|ko)\.translation'\.|"
        r"Failed loading resource: res://translations/ui\.(?:en|ko)\.translation\.)"
    )
    require(all(bootstrap and missing_translation.fullmatch(error) for error in errors), f"Godot errors; see {log}")

The comment is the project's explanation of the mechanism; I did not check it against Godot's source. The second import and the export must still be free of errors.

The same commit changed more than this. The pull request says native verification also corrected the generated installer localization and minimum-OS metadata, the architecture ordering, and the certificate extraction syntax. Two of those are visible in the diff as assumptions the fake tools had encoded. The expected installer listed hostArchitectures="x86_64,arm64" in one fixed order, and the check now accepts either order. The lane called codesign --extract-certificates <prefix> with a space, and now calls --extract-certificates=<prefix>. The fake codesign had accepted the first form; after the fix it fails on it. A fake tool agrees with whatever the code that calls it already believes.

2. The re-signed copy ran, and the comparison skipped the executable

The checked package still could not be launched. macOS refused the distribution-signed app on my development Mac before a window appeared, and the note records error -413, No matching profile found. The route I approved was a separate copy: extract the package payload, sign that copy with a development certificate and a development profile for this one Mac, and run it in the sandbox. The copy launched, completed games, and kept its settings and best score across a fresh process.

To credit those results to the store package, the validation compared the copy with the original. Seven files matched byte for byte, the signed entitlements were identical, and the original package hash had not changed. The three files that differed were excluded: the code signature resources, the embedded profile, and the executable.

An automated review on the pull request flagged the third exclusion. In its words, "a changed executable can also be re-signed and pass codesign --verify", so matching everything else "does not prove the tested copy contains the checked package's executable code". Every piece of evidence so far would have been the same for a substituted binary.

The follow-up comparison parsed both 64-bit Mach-O slices and compared every byte before each LC_CODE_SIGNATURE payload. Re-signing changes the size of the signature, so two fields legitimately differ: the signature's datasize and the __LINKEDIT segment's filesize. Only those two were normalized, and only after requiring that both regions end exactly at the slice boundary. The note records the result in a table; these are its values, laid out as text:

x86_64  86494416 bytes compared  sha256 6111f94134983d37643d81ee40975932e9ce84e2cdb5694f260858d87e8f95d9
arm64   82260672 bytes compared  sha256 80c89acedb9d12d0bf5ed6bdad5e1a5cdbfb10a5d8ef58916d5528dc8059961e

The two signatures differ by 16 bytes per slice. Before the real files were compared, the checker was given an in-memory copy with one byte changed at offset 65536, for each architecture, and had to reject it with Non-signature executable bytes differ. That order matters more than the hashes: a comparison that has never failed has not shown that it can.

The fix commit for this finding changed documentation only. The checker script was kept in an evidence directory outside the repository, and I could not re-read it for this article, so the description above is the note's, not the code's.

3. Every local check passed, and Apple rejected the upload

After I authorized an upload for internal testing, the lane transferred the package with xcrun altool. Apple rejected it with errors 90264 and 90983. The project record gives the cause as a missing common LSMinimumSystemVersion key in the generated Info.plist, which declared architecture-specific minimums only. The upload log was not available either, and I found no public Apple page for either number, so I cannot quote Apple's wording or say which number means what.

What the documentation does establish, as read on 2026-11-13:

  • Apple's page for LSMinimumSystemVersion says "The App Store uses this key to indicate the macOS releases on which your app can run, and to show compatibility with a person's Mac."
  • Apple's page for LSMinimumSystemVersionByArchitecture lists the possible dictionary keys as i386, ppc, ppc64 and x86_64.
  • Godot's export options for 4.7 describe application/min_macos_version_arm64 and application/min_macos_version_x86_64; I found no option for a common minimum on that page.
  • Godot's Info.plist template at tag 4.7.2-stable contains only the per-architecture dictionary.
  • The template on Godot's master branch also has a common key, added by a commit titled "[macOS] Add architecture selector to the export options"; that commit does not mention the App Store.

That the store's validation requires the common key is my inference from the rejection and from what followed, not something those pages state. What followed: one commit separates the rejected source from the accepted one, and it adds the key through Godot's application/additional_plist_content option.

-application/additional_plist_content="<key>ITSAppUsesNonExemptEncryption</key><false/>"
+application/additional_plist_content="<key>ITSAppUsesNonExemptEncryption</key><false/><key>LSMinimumSystemVersion</key><string>11.0</string>"

No generated package was patched by hand; the key goes in before export and signing. The same commit made the lane's metadata check require it:

         wanted = {
+            "LSMinimumSystemVersion": minimum_versions["arm64"],
             "LSMinimumSystemVersionByArchitecture": minimum_versions,

The check already required both preset minimums to be equal, and it passes the same value to the installer check, which expects <os-version min="11.0"/> in the installer's Distribution file. The commit also added two fixture tests, one that removes the key and one that sets it to 10.15; both failed against the old guard before the change. The same commit taught the fake Godot to read the extra plist content from the preset and merge it into its fake Info.plist, so those two tests check the lane against a fake that imitates the merge, and it edited the distribution note. The rebuilt package was transferred, processed as VALID, and installed on this Mac through TestFlight, where it was played directly.

One more point belongs here. The development copy from the previous section was built from a commit before this fix, and it launched and ran. No note records anyone reading that copy's Info.plist for the common key, so that it lacked the key is my inference from the preset at that commit. If the inference holds, running the app locally could not have shown this requirement.

Read the three values from your own build

These commands are adapted from the lane, which reads the same keys with Python's plistlib after pkgutil --expand-full. They were run on 2026-11-13 against the installed copy of a later build, 1.2.0 (2):

plutil -extract LSMinimumSystemVersion raw /Applications/Orbitilt.app/Contents/Info.plist
plutil -extract LSMinimumSystemVersionByArchitecture json -o - /Applications/Orbitilt.app/Contents/Info.plist
lipo -archs /Applications/Orbitilt.app/Contents/MacOS/Orbitilt
11.0
{"arm64":"11.0","x86_64":"11.0"}
x86_64 arm64

If the first command prints an error on a Godot 4.7.2 export, the common key is missing. For the installer, expand the package and read the Distribution file; I had no package on disk, so this one has no output here:

pkgutil --expand-full YourGame.pkg expanded
grep -o '<os-version min="[^"]*"/>' expanded/Distribution

The lane compares the plist values with each other, with the preset and with the installer. It does not read the Mach-O load commands, and those are a separate number:

xcrun vtool -show-build /Applications/Orbitilt.app/Contents/MacOS/Orbitilt
/Applications/Orbitilt.app/Contents/MacOS/Orbitilt (architecture x86_64):
      cmd LC_VERSION_MIN_MACOSX
  version 10.13
/Applications/Orbitilt.app/Contents/MacOS/Orbitilt (architecture arm64):
      cmd LC_BUILD_VERSION
    minos 11.0

I removed the other lines of that output. The Intel slice declares 10.13 while the plist says 11.0, and the store processed this build as VALID with that difference.

Are the fake-tool tests worth keeping?

The case against them is section 1. The first commit added a 419-line tool and 337 lines of fixture tests, and the first real run still needed fixes that the pull request lists as four areas. Two of those were wrong beliefs about native tools that the fakes shared, and every later change to the lane has to keep the fakes in step. The real clean-commit build is what found them, and the store found one more.

The lane keeps both, and its plan states the division: fake tools verify "refusal order, argument routing, and record binding; they do not prove Apple trust or Godot export behavior". Refusals are what a real run cannot exercise cheaply. A test such as test_upload_refuses_without_opt_in needs no real package and no real upload, and the suite runs in CI on an Ubuntu runner, where none of Apple's tools exist. After the rejection, the missing-key case became one more fixture test there. The condition is that a fixture pass is never reported as a build result, and that a change to the lane is followed by a real build and check at a clean commit.

The re-signed copy is the same decision one layer up. It gave runtime evidence before any upload was authorized, and it was worth having, but only for that copy and only after the byte comparison tied its code to the package.

Limits

This is one game, one day, Godot 4.7.2.stable.official, and one Apple silicon Mac mini on macOS 27.0.1. The Intel slice was packaged, and my notes record no execution of it and no run on macOS 11.0, the declared minimum. No physical gamepad was tested in these passes, and the tracking issue was later closed with that check still unverified. The cause of the rejection is the project's record plus the before-and-after of one commit; I have neither Apple's text for 90264 and 90983 nor documentation of them. The first import log and the comparison script were not available when I wrote this, so sections 1 and 2 rest on the commits, the notes and the pull-request discussion. An accepted upload is not App Review approval: this build went to internal TestFlight testing with one tester, me. A later build, 1.2.0 (2), was submitted to App Review on 2026-10-26, and the last status in my notes, from 2026-10-30, was WAITING_FOR_REVIEW.