About this project

This repository documents the process of publishing the Instant Hub app (an app marketplace) to the Apple App Store using Capacitor, without relying on the Xcode GUI. It includes prerequisites for the App Store Connect API key (.p8), a complete build script: archive, export, and upload via xcodebuild and xcrun altool, with API key authentication. It addresses known issues: 1) incorrect timezone breaking the "Open Now" status — solution by forcing Intl.DateTimeFormat to "America/Cuiaba"; 2) failed parsing of business_hours entered by the merchant — defensive solution returning false (store closed) instead of true; 3) outdated Lovable preview — requires "Sync with GitHub" or manual "Pull". Useful for teams automating mobile CI/CD with Capacitor/iOS.