fix(ios): remove invalid underscore URL scheme for App Store upload#2431
Conversation
App Store Connect rejects the iOS upload: The following URL schemes found in your app are not in the correct format: [ee.forgr.capacitor_go]. URL schemes need to begin with an alphabetic character, and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only. (90158) CFBundleURLSchemes listed ee.forgr.capacitor_go (underscore), which RFC1738 disallows. It's unused: nothing in src/, capacitor.config.ts, or iOS deep-link handling references it, there's no Android counterpart, and underscores can never have functioned as a scheme. The real custom scheme is 'capgo' (kept). Remove the invalid entry so the upload is accepted.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughiOS app configuration file updates the ChangesiOS URL Bundle Identifier Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Comment |
Merging this PR will not alter performance
Comparing Footnotes
|
|



What
Remove the
ee.forgr.capacitor_goentry fromCFBundleURLSchemesinios/App/App/Info.plist. Keepcapgo.Why
The iOS build compiles, archives, and reaches App Store Connect upload, where altool rejects it (run https://github.com/Cap-go/capgo/actions/runs/26937037211):
ee.forgr.capacitor_gocontains an underscore, which RFC1738 / Apple disallow in URL schemes.It's safe to remove:
src/,capacitor.config.ts, or iOS deep-link handling.https(universal links) +capgo; no reverse-DNS scheme.CFBundleURLNameis alreadyee.forgr.capacitorgo(no underscore); only the scheme string had it.The real custom scheme
capgois preserved.Verification
plutil -lintpasses.main+Build mobile ios: confirm App Store Connect upload is accepted (no 90158 URL-scheme rejection).Summary by CodeRabbit