videogen/apps/mobile/PLAN-STORE-RESUBMIT-BLOCKED.md
caelum0x d56639a594
Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Menivor — open source release (MIT), free to use and fork
Paid, hosted product at menivor.com, now retired as a company project.
Fresh squashed history of the cleaned working tree (secret-scanned,
no .env, no customer data, no outreach logs). Built on
MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2026-12-04 02:10:26 +03:00

23 KiB
Raw Permalink Blame History

Menivor mobile — owner-gated blocker (2026-10-16)

What's blocked: eas build --platform ios --profile production cannot run non-interactively yet

This EAS project (79893b07-95ca-4a15-a5b0-478bc476266e) has never had a successful EAS cloud iOS build. eas whoami is authenticated (arhansuba / subasiarhan3@gmail.com), and eas.json's submit.production.ios already points at the right ASC app (ascAppId: "6809286411", team 947G2G2JXJ) — that part is correct and unchanged.

The blocker is credentials, not config. Confirmed two independent ways in, both owner-only:

  1. eas build --non-interactive (and --non-interactive is implied whenever stdin isn't a real TTY, so piping answers doesn't help): EAS has no remote iOS credentials for this project yet, so it needs to either validate/create a Distribution Certificate itself — which requires logging into the Apple Developer account with 2FA — or be handed local credential files. Tried yes |, tried an expect script auto-answering y/n prompts: every path reaches ? Apple ID: and stops there. I did not enter any Apple ID/password — aborted the process the moment it asked, per the no-2FA-without-owner rule.

  2. Local p12 export as a workaround: this Mac already has a valid Apple Distribution identity in the login keychain (cert id 43QC6LNDQ4, team 947G2G2JXJ, valid to 2027) and a matching fresh App Store provisioning profile (re-pulled today via fastlane + the ASC API key into fastlane/signing/, non-interactive, no Apple ID needed — that part worked fine). But turning that keychain-resident private key into a .p12 file (so EAS could use credentialsSource: "local" and skip Apple-account validation entirely) requires security export -t identities -f pkcs12, which macOS gates behind a one-time GUI "Allow access to this item?" dialog — confirmed it hangs indefinitely waiting for a click, even with </dev/null and backgrounding. No way to click that dialog headlessly.

eas build --local was considered and rejected: this repo's own store/STORE-LISTING.md says local builds need >25GB free, and this Mac is currently at ~2GB free / 85% full — not safe to attempt (this is the same recurring disk-pressure issue noted elsewhere; running a local Xcode archive on top of it risks another full-disk lockup).

What the owner needs to do (one time, ~2 minutes)

Either:

  • (a) Run cd ~/products/videogen/apps/mobile && eas build --platform ios --profile production interactively once, say yes to "log in to your Apple account", complete 2FA. EAS stores the validated credentials remotely after that, and every future build (mine or scheduled) can use --non-interactive for real.
  • (b) Or just click through the one keychain export dialog: open Keychain Access, find "Apple Distribution: Umut Arhan Suba (947G2G2JXJ)", right-click → Export, allow the access prompt once. After that, security export stops hanging and I can wire up credentialsSource: "local" myself, no Apple login needed at all.

Either unblocks eas build --platform ios --profile production --non-interactive --no-wait going forward. I did not touch ASC submission state and will not until this is unblocked and the orchestrator runs its centralized App Store version/metadata/submission flow.

Everything else in this task is done and real (not blocked)

  • app.json fixed: added description and privacyPolicyUrl (greenlight preflight was flagging both as missing; ASC's store/asc/metadata.json already had both, now app.json matches). Committed as 0f3b57f0.
  • Full test suite (npm run test, 8 vitest configs, 335 tests across wallet/product/features/studio/publishing/billing/release/auth), npm run typecheck, and npm run lint are all green. (The first test run hit ENOSPC from the same disk-pressure issue above — fixed by clearing npm cache + stale Xcode DerivedData, not a real test bug.)
  • greenlight preflight's one remaining CRITICAL ("Tracking SDKs detected without ATT implementation... Found: Google Ads/AdMob") is a confirmed false positive: there is no AdMob/Google Ads/Firebase Analytics/Mixpanel SDK anywhere in this app (checked Podfile.lock, project.pbxproj, app.json plugins, Info.plist — nothing). The scanner is almost certainly keying off GTMAppAuth/GTMSessionFetcher — Google Toolbox for Mac OAuth helper pods pulled in transitively by @react-native-google-signin/google-signin (used only for native Google Sign-In, not ads) — and misreading "GTM" as Google Tag Manager/AdMob. store/PRIVACY-ANSWERS.md already documents this correctly: "Not present: ads SDKs, analytics SDKs, crash reporting SDKs, location, contacts, health, IDFA/ATT." No ATT prompt was added, because adding one with no real tracking would be its own (dishonest) App Review problem.

Not blocked, just not done yet (not this task's job per scope)

  • Screenshots: store/STORE-LISTING.md says outright "Screenshots (phase 2, not made yet)". None exist anywhere in the repo for iOS or Android. Needed before a real App Store submission; the doc already has a documented demo-mode recipe (EXPO_PUBLIC_MENIVOR_DEMO=1) to capture them once there's a build to screenshot. Orchestrator owns ASC metadata/screenshots centrally per the task brief — flagging, not fixing.

2026-10-24 — "Add for Review" 5-error triage (ASC API investigation, no sim/Xcode used)

Confirmed Apple's 5 blocking errors against the live API (app 6809286411, version cb268da6-9a40-47f1-9384-1dc539d0f54a, build 7062e589-a639-4760-a682-e2be5abe709c). Disk was at 4.2GB free / 1.3GB swap — no simulator booted, per the standing disk-pressure rule.

1&2. Screenshots (13" iPad + iPhone Dynamic Island) — still blocked, confirmed no fabrication. Searched the whole videogen tree and ~/products/storeshots/projects/ for any existing Menivor image asset. Found none at usable resolution: .claude/menivor-wave-shots-2026-10-06/* are 1440x900/1440x1775 web-app browser screenshots (wrong device, wrong aspect, too low-res to upscale), and everything else under gtm/ is marketing video/mp4, not device screenshots. There is no storeshots config for menivor at all. Real fix needs an actual device/simulator capture — can't be done safely on this disk right now. Owner/next-session action: once disk has headroom (need the 25GB+ this repo's own docs call out for local builds, or just enough for one simulator), run the EXPO_PUBLIC_MENIVOR_DEMO=1 capture recipe already documented in store/STORE-LISTING.md on an iPad Pro 13" and an iPhone 16/15 Pro (Dynamic Island) simulator.

  1. Export compliance — ALREADY CORRECT, do not touch further. Compared Menivor's build against CalDesk's (6780166477, build ebf0c1d4-a5f1-49f4-9b97-20e6c55332b5, the one Apple actually approved and shipped READY_FOR_SALE): CalDesk's live build has usesNonExemptEncryption: false and zero appEncryptionDeclarations linked or even existing for that app (filter[app]=6780166477 → 0 results). Menivor's pending build (7062e589...) has the exact same usesNonExemptEncryption: false, and its builds/{id}/appEncryptionDeclaration relationship is null — bit-for-bit the same shape as the proven-working CalDesk pattern. The standalone French-storefront declaration (c369e1d1-6802-4b75-a898-928b4ac02f77, state CREATED, builds relationship empty) is an extra, unneeded artifact from earlier troubleshooting; it is not linked to any build and should stay that way — the earlier 409 when trying to link it was Apple's API correctly rejecting a redundant/conflicting second declaration mechanism on a build that already self-declares via the boolean. Do not create another appEncryptionDeclarations record and do not retry linking c369e1d1 to the build — both would be regressions from the already-correct state. If Apple's error list still shows this after a fresh "Add for Review" attempt, it's a stale preflight cache, not a real gap — re-check after items 1/2/4 are fixed rather than touching the build again.

  2. Contact Information section — likely owner-only, no API surface found (same bucket as #4). Checked every candidate resource in the full App Store Connect API schema (1440 operations scanned via magaza__endpoint_ara): appStoreReviewDetail for this exact version (baca9287-b9f5-4ad6-9ad9-c7271cc197f2) already has contactFirstName/contactLastName ("Umut Arhan"/"Subasi"), contactPhone (+905535833387, already in the international +<country><number> format Apple started requiring 2026-08-19), and contactEmail (subasiarhan3@gmail.com) — all filled, matching CalDesk's equivalent. appInfos and apps (PATCH /v1/apps/{id}) have no contact-like attributes at all (accessibilityUrl, bundleId, primaryLocale, subscriptionStatusUrl*, contentRightsDeclaration, streamlinedPurchasingEnabled — nothing else). betaAppReviewDetails (TestFlight, a different resource) is empty but is irrelevant to a production App Store submission. A web search turned up two known web-UI-only, no-API fields that Apple calls "contact information" in other contexts — Korean Trade Representative Contact Info and the EU DSA Trader-status contact — neither has any endpoint in this account's API surface (0 hits for "trade representative"/"trader"/"DSA" across all 1440 operations). Given CalDesk shipped with the identical appStoreReviewDetail-only contact setup, this is most likely the same owner-only, ASC-web-only click as App Privacy (#4), not something fixable here. Owner/next-session action: when in ASC, open App Information → scroll for any contact/trader banner (EU DSA trader status or similar) and fill/confirm it by hand; if nothing appears there once Contact Info is otherwise complete, re-check "Add for Review" after #4 is published, since Apple's checklist UI sometimes bundles unrelated incomplete-profile warnings together.

  3. App Privacy — confirmed owner-only, no API surface. Not re-investigated, per task brief.

2026-10-24 — screenshot capture attempt #2: real device capture achieved, blocked on an unremovable Expo Go debug overlay (no owner action currently known to unblock; documenting for the next session)

Disk was at 7.1GB free (best headroom this session). Followed the disk-safety protocol: booted one simulator at a time (iPad Pro 13-inch (M4), BCF2AB06-61C2-4844-B626-373E5D6FD654), monitored df -h / continuously, aborted and cleaned up the instant a risky threshold was hit. Two real attempts, both honest dead ends — not fabricated, nothing was uploaded to ASC:

Attempt A — Expo Go (store/STORE-LISTING.md's own documented recipe): Booted the iPad sim, ran EXPO_PUBLIC_MENIVOR_DEMO=1 npx expo start --go --ios --port 8102. This worked exactly as documented — demo mode loaded real seeded content (the reel wall: "two minute glow routine", "stop crushing your herbs", "one golden hour in Lisbon", etc.) and xcrun simctl io screenshot captured a real device image at exactly 2064×2752px — Apple's exact required pixel size for APP_IPAD_PRO_3GEN_129 (the "13-inch iPad Display" set). Confirmed real: RevenueCat logged "Expo Go app detected. Using RevenueCat in Browser Mode" (demo mode + Expo Go correctly stub the native purchases SDK instead of crashing).

The blocker: Expo Go itself (not our app) overlays a native "This is the developer menu..." onboarding card across the bottom ~10% of the screen on first connect per project. This is expo-dev-menu's DevMenuOnboardingView (confirmed by reading the actual Swift source from sibling repos' node_modules/expo-dev-menu), chrome belonging to the Expo Go host app, not Menivor. It cannot ship in an App Store screenshot. I could not dismiss it:

  • UserDefaults/defaults write host.exp.Exponent EXDevMenuIsOnboardingFinished -bool true via xcrun simctl spawn ... defaults write — the write verifiably persisted (defaults read confirmed 1 even after a full process kill+relaunch) but the overlay still reappeared on every fresh launch. The actual shipped Expo Go 54.0.7 binary evidently doesn't gate this view on that same key (version drift from the expo-dev-menu source available locally).
  • No tap/click automation is available in this environment: osascript/System Events and cliclick both require the macOS Accessibility permission grant, which needs a one-time GUI checkbox click in System Settings → Privacy & Security → Accessibility — not grantable headlessly. Proved this definitively (not just assumed): pixel-diffed the static banner region of before/after screenshots across multiple click attempts at correctly-computed coordinates (used python3 -c "import Quartz..." to get the real Simulator window bounds without needing Accessibility) — zero pixels changed, confirming clicks never reached the simulator at all. brew install facebook/fb/idb-companion (a non-Accessibility-gated tap tool) was attempted as a workaround — failed on "Command Line Tools are too outdated," itself an owner/GUI Software Update action.

Attempt B — native dev client (npx expo run:ios --device <iPad UDID>): tried this specifically because a custom dev client's expo-dev-launcher has its own onboarding-suppression path that Expo Go's generic one may not share. Monitored disk every 10–15s. It force-did a full clean build (not incremental, despite Pods already being installed) and burned disk fast compiling RN/Fabric Pods — 7.1GB → 2.5GB in under 3 minutes, mid-way through just the Pods step (app target not yet linked). Killed it immediately at the 2.5GB safety margin per the standing rule, before it could reach the documented 2GB floor, then deleted the partial ~/Library/Developer/Xcode/DerivedData/Menivor-* (2.0GB reclaimed). Conclusion: a full native build is not safely completable on this Mac's current disk — it needs several more GB than were available even at this session's best headroom, consistent with store/STORE-LISTING.md's own "local builds need > 25GB free" warning.

Cleaned up fully after both attempts: Expo Go terminated, xcrun simctl shutdown + xcrun simctl delete on the iPad simulator instance (it will need recreating — standard device type, trivial — next time), accidental npx expo@58.0.19 package-manager cache from an unrelated --help check removed. Disk ended at 4.7GB free (started at 7.1GB; net cost was the Expo Go app download itself, ~2GB, which is still installed on iPhone 16e/other untouched simulators' shared runtime but not re-downloaded per-device). iPhone Dynamic Island shot (item #2, APP_IPHONE_61) was not attempted — it would hit the identical Expo Go overlay blocker, so there was no point spending more disk budget on it this session.

What unblocks this (owner-only, pick one)

  • (a) Grant Accessibility once: System Settings → Privacy & Security → Accessibility → enable the terminal/agent-launching app (Terminal, or whatever process runs Claude Code's Bash tool). One checkbox. After that, cliclick/osascript can tap "Continue" on the Expo Go banner and both screenshots (iPad 13" + iPhone Dynamic Island) can be captured in one more short Expo Go session, no native build needed at all.
  • (b) Update Command Line Tools (System Settings → Software Update, or xcode-select --install) so brew install facebook/fb/idb-companion can finish — idb taps via the simulator's own bridge, not macOS Accessibility, so it sidesteps (a) entirely.
  • (c) Free up real disk (not just caches — tens of GB) so a full native expo run:ios build can complete; this also unblocks the actual EAS/local production build this doc's top section already describes as blocked. Any one of these is a single owner action; no further investigation is needed once one is done — just rerun this exact recipe.

2026-10-24 — re-verified, still exactly these 3 owner-only options (no change)

Owner re-reported the same 2 screenshot errors from ASC. Re-checked all three unblock paths before touching anything else: osascript -e 'tell application "System Events" to UI elements enabled' → false (Accessibility still off). brew install facebook/fb/idb-companion → still fails, "Your Command Line Tools are too outdated... Update them from Software Update" (same CLT-for-Xcode-27 gate as before). Disk is at 12GB free (better than the 7.1GB this was last attempted at, but the repo's own docs call for 25GB+ for a safe local/native build) — did not retry the native expo run:ios path given the documented disk-lockup risk at lower headroom last time. No new workaround found.

Update, same session: actually done the native build, with tight disk monitoring, and it worked. Re-read the prior two failed attempts and realized neither had tried a plain xcodebuild against the already-pod install-ed ios/ project (Pods were already on disk from the last expo prebuild) — only expo prebuild --clean + expo run:ios, which forces a full wipe-and-regenerate every time. Built xcodebuild -workspace Menivor.xcworkspace -scheme Menivor -configuration Debug -sdk iphonesimulator -derivedDataPath /tmp/menivor-dd build directly, polling df -h / and du -sh /tmp/menivor-dd every 20-45s with a 3GB hard abort line. Disk went from 11GB free to 6.9GB free over ~4 minutes of real compiling (RevenueCat/RevenueCatUI were the bulk of it) — ** BUILD SUCCEEDED **, never came close to the abort line. Created two throwaway simulators (Menivor-iPad13, Menivor-iPhone16Pro, iOS 26.0 runtime already installed so this cost ~0 disk), installed the built .app, ran Metro with EXPO_PUBLIC_MENIVOR_DEMO=1.

Hit two more real, fixable issues along the way (not owner-gated):

  • The app crashed on launch (useSession must be used within a SessionProvider) because expo-tracking-transparency (added to package.json in yesterday's ATT commit 87cd6895) was never actually installed — this local node_modules/ios/Pods predated that commit. Ran npm install + pod install (adds ExpoTrackingTransparency pod, ~9s, no meaningful disk cost) and rebuilt (incremental-ish; pod install regenerates the Pods project so it recompiled Pods targets again, but still finished in under a minute). This was not a real shipped bug — node_modules/ios/Pods are gitignored and regenerated fresh from package.json on any real CI/EAS build, which already had the dependency committed; it only broke because this one local build environment was stale.
  • The RN dev LogBox toast ("Open debugger to view warnings") doesn't belong in a store screenshot. Added a narrow, demo-gated suppression in app/_layout.tsx: if (process.env.EXPO_PUBLIC_MENIVOR_DEMO === "1") LogBox.ignoreAllLogs(true) — never fires in a real build, only when someone runs the documented demo-capture recipe. Left uncommitted pending the owner's go-ahead to land it (it's a real, reusable fix for every future screenshot session).
  • The simulators defaulted to tr-TR (this Mac's locale), which doesn't match the app's en-US primary ASC locale. Fixed via PlistBuddy on each simulator's .GlobalPreferences.plist (AppleLanguages → en-US, AppleLocale → en_US) before boot.

Captured both required screenshots directly off the real build — not fabricated, not mocked:

  • 13" iPad (APP_IPAD_PRO_3GEN_129): 2064×2752, exact Apple spec.
  • iPhone with Dynamic Island (APP_IPHONE_61, the only enum ASC accepts for this bucket — no separate 6.3" enum exists yet): 1206×2622 (iPhone 16 Pro's native size), exact Apple spec, real Dynamic Island visible in the shot.

Both show the sign-in/reel-wall screen with real seeded demo content (not empty states) — one of store/STORE-LISTING.md's own suggested frames, so no further screens were needed.

Uploaded both to ASC for real via appScreenshotSets_createInstance (one APP_IPAD_PRO_3GEN_129, one APP_IPHONE_61, both on the en-US localization 66d2f000-0ae5-4bfc-87d7-daecf101e851) → appScreenshots_createInstance → PUT the raw PNG bytes to Apple's returned pre-signed upload URL (ETag matched local md5 both times) → PATCH appScreenshots with uploaded: true + the matching sourceFileChecksum. Both confirmed assetDeliveryState.state: "COMPLETE", zero errors, correct imageAsset.width/height on Apple's own side. This part of the original "Add for Review" blocker is genuinely done now, not just attempted.

Also found and fixed a second real gap while re-testing "Add for Review": appStoreVersions attribute usesIdfa was null even though the app now collects the advertising ID (yesterday's ATT feature, 87cd6895). PATCHed it to true — matches reality now.

Still blocked after all of the above — confirmed down to exactly the 2 owner-only items. Retried reviewSubmissionItems_createInstance against submission c49e4d6d-304e-4e71-9158-460f70e3fa7d and still got the same 409 ("not in valid state... check associated errors"), with no error detail exposed through this API wrapper. Given screenshots, export compliance, contact info, and usesIdfa are all now confirmed correct, and App Privacy publish + any DSA/trader contact field are the only remaining items with zero API surface (per the 2026-10-24 triage above), this 409 is almost certainly just those two. Owner/next-session action: open Menivor in the ASC web UI, click "Publish" on the App Privacy tab if prompted, and check App Information for any unfilled contact/trader banner — then re-add the version for review. No further agent-side investigation should be needed; if it still 409s after that, re-pull the exact error list the same way Menivor's original 5-error list was pulled, since the API only gives a generic conflict message.

2026-10-24 — root cause found: wrong reviewSubmission ID, not an owner-only blocker at all. Menivor is now WAITING_FOR_REVIEW.

The repeated 409s above were a self-inflicted bug, not a real Apple blocker: the reviewSubmission id being used (c49e4d6d-304e-4e71-9158-460f70e3fa7d) belongs to RunMap (app 6808745970), not Menivor — it was carried over from an earlier garbled paste and never independently verified against Menivor's own app. Menivor's actual reviewSubmissions are 6f81f959-1f87-4735-ab52-30c914b0d280 and 181e475a-a934-45e3-9551-3b355c2ce417 (fetch via apps_reviewSubmissions_getToManyRelated on app 6809286411 — never trust a reviewSubmission id without this check).

Attaching Menivor's appStoreVersion (cb268da6-9a40-47f1-9384-1dc539d0f54a) to the correct submission (6f81f959-1f87-4735-ab52-30c914b0d280) via reviewSubmissionItems_createInstance worked immediately — no 409, state READY_FOR_REVIEW. Then reviewSubmissions_updateInstance with {"attributes": {"submitted": true}} actually submitted it: state is now WAITING_FOR_REVIEW, submittedDate: 2026-10-24T13:35:56.443Z. Menivor 1.0 is in Apple's queue. Nothing left to do here — do not touch this version again until Apple responds.

The App Privacy / Contact Information "owner-only" theory above was never actually tested against the right submission, so treat it as unconfirmed for Menivor specifically (it may still be real for other apps in this portfolio that show the same symptom, e.g. RunMap below).