How to put a Lovable or Bolt app on the App Store without a Mac (Xcode 27, 2027)
Apple's rule change: from April 2027, every App Store upload must be built with Xcode 27. Xcode 27 only runs on Apple silicon Macs. If you build with Lovable, Bolt or any Vite + React stack on Windows, Linux or an Intel
Apple's rule change: from April 2027, every App Store upload must be built with Xcode 27. Xcode 27 only runs on Apple silicon Macs. If you build with Lovable, Bolt or any Vite + React stack on Windows, Linux or an Intel Mac, you can't produce an upload locally anymore.
You don't need to buy a Mac. GitHub's hosted macOS runners already have Xcode 27. Public repos get them free; private repos use Actions minutes, about 15 per iOS build.
Here's the whole path I used to ship a React app to TestFlight from a Windows PC.
1. Wrap the web app with Capacitor
npm i @capacitor/core@^8 @capacitor/cli@^8 @capacitor/ios@^8 @capacitor/android@^8
npx cap init "My App" com.mycompany.myapp --web-dir dist
npm run build
npx cap add ios
npx cap add android
Capacitor 8 creates a Swift Package Manager iOS project, so there's no CocoaPods step and cap add ios works on Windows.
2. Let Apple sign in the cloud
Create an App Store Connect API key (Users and Access > Integrations > Team Keys, role Admin). Put the Key ID, Issuer ID and the base64 of the .p8 file into GitHub secrets. With -allowProvisioningUpdates and that key, xcodebuild creates the certificate and provisioning profile itself. No Keychain, no Mac.
3. The workflow
jobs:
ios:
runs-on: xcode-27 # GitHub's runner label with Xcode 27
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 22 }
- run: npm ci && npm run build && npx cap sync ios
- name: Archive
# env: map ASC_KEY_ID, ASC_ISSUER_ID and ASC_KEY_P8_BASE64 from repo secrets
run: |
echo "$ASC_KEY_P8_BASE64" | base64 -d > key.p8
xcodebuild -project ios/App/App.xcodeproj -scheme App \
-archivePath App.xcarchive archive \
-allowProvisioningUpdates \
-authenticationKeyPath "$PWD/key.p8" \
-authenticationKeyID "$ASC_KEY_ID" \
-authenticationKeyIssuerID "$ASC_ISSUER_ID" \
CURRENT_PROJECT_VERSION=$GITHUB_RUN_NUMBER
# then: xcodebuild -exportArchive with an ExportOptions.plist
# whose destination is "upload", using the same key flags
4. Things that bite
- Set
ITSAppUsesNonExemptEncryptiontofalsein Info.plist, or every build waits on an export compliance question. - Apple rejects "a website in a frame" (guideline 4.2). Add something native: push, haptics, share sheet, offline.
- If users can sign up, they must be able to delete their account in the app (5.1.1(v)).
- New Google Play personal accounts need 12 testers for 14 days before production. Start that on day one.
Want it ready-made?
I packaged the full version as the Ship It Kit: a setup script that does step 1 in one command, the complete iOS + signed Android workflow, a step-by-step guide for every Apple and Google screen, and a rejection checklist.
👉 https://klikron.gumroad.com/l/inciyd/LAUNCH29 ($29 instead of $49 for the first 20 readers)
Questions welcome in the comments. I'll answer every one.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.