Skip to content

fix(macos): remove-ads IAP is offered on macOS where no ads exist #968

Closed

Description

@wei18

Summary

A survey ahead of the first macOS App Store submission for both apps (Sudoku + Minesweeper) found 4 blockers. Base = main @ 667d65b.

Blocker 1 (most serious) — Remove Ads IAP offered on macOS where no ads exist

GameAppKit/Sources/GameAppKit/MakeGameApp+Helpers.swift:17-21 — bootMonetization is #if !os(iOS) return, since Google ships no macOS AdMob/UMP slice (decision D-v2-03, docs/v2/plan.md:109,258). But GameAppKit/Sources/GameAppKit/SettingsView.swift:163-179 renders the Purchases section / RemoveAdsRow whenever monetizationController != nil, with no platform guard. On Mac this sells an ad-removal IAP that removes nothing — Guideline 2.1 / 3.1.1 exposure.

Also: NSUserTrackingUsageDescription ships in the Mac bundle for an ATT flow that never runs (App/{Sudoku,Minesweeper}/Info.plist).

Blocker 2 — iOS-only Info.plist keys baked into the Mac bundle

App/Sudoku/Info.plist:69-70 and App/Minesweeper/Info.plist:59-60: LSRequiresIPhoneOS = true ships in the macOS bundle. Also UILaunchScreen, UISupportedInterfaceOrientations~ipad ride along inert.

Blocker 3 — app icon name mismatch on macOS (verify before touching)

Project.swift:30-43 sets ASSETCATALOG_COMPILER_APPICON_NAME[sdk=macosx*] = AppIcon-macOS, but both Info.plists declare CFBundleIconName = AppIcon (:11-12). Needs verification against a real built Mac archive before any change.

Blocker 4 — whatsNew build-matching collides across platforms

mise-tasks/tf/asc_whats_new.py:118-129 find_build() filters by app+version with no platform filter; tf:upload <app> all gives iOS and macOS builds the same UTC-minute build number, so a 2-platform run can sync What-to-Test onto the wrong platform's build.

Scope

Fix in fix/macos-submission-blockers, one PR covering all 4 (or a subset if 3 turns out to be a non-issue after verification).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions