Skip to content

test(ios): correct testing app bundle id to io.invertase.testing - #9131

Open
russellwheatley wants to merge 7 commits into
mainfrom
fix/testing-app-bundle-id
Open

test(ios): correct testing app bundle id to io.invertase.testing#9131
russellwheatley wants to merge 7 commits into
mainfrom
fix/testing-app-bundle-id

Conversation

@russellwheatley

@russellwheatley russellwheatley commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary

  • The testing app's iOS bundle id (com.invertase.testing) is not registered on the team's Apple Developer Portal, only io.invertase.testing is, so Xcode cannot provision/build the app for on-device testing.
  • Updates PRODUCT_BUNDLE_IDENTIFIER in tests/ios/testing.xcodeproj/project.pbxproj, the keychain-access-groups entitlement, and the Google Sign-In URL scheme in Info.plist to match.
  • Re-downloads GoogleService-Info.plist for the io.invertase.testing Firebase iOS app so Firebase/Google Sign-In config matches the corrected bundle id.
  • Updates the two iOS-specific com.invertase.testing references in tests/e2e/firebase.test.js (simulator app-container/listapps checks). Android identifiers are untouched since the Android applicationId/package namespace is a separate, unaffected value.

com.invertase.testing is not registered on the team's Apple Developer
Portal (io.invertase.testing is), so Xcode cannot provision the app.
Updates the Xcode project's PRODUCT_BUNDLE_IDENTIFIER, keychain-access-groups
entitlement, and the Google Sign-In URL scheme, and re-downloads
GoogleService-Info.plist for the io.invertase.testing Firebase iOS app so
Firebase/Google services keep working under the corrected bundle id.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@russellwheatley russellwheatley changed the title fix(tests, ios): correct testing app bundle id to io.invertase.testing test(ios): correct testing app bundle id to io.invertase.testing Jul 30, 2026
@russellwheatley russellwheatley changed the title test(ios): correct testing app bundle id to io.invertase.testing fix(tests, ios): correct testing app bundle id to io.invertase.testing Jul 30, 2026
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.96%. Comparing base (2a360ac) to head (a0e5942).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9131      +/-   ##
============================================
+ Coverage     66.13%   66.96%   +0.84%     
============================================
  Files           497      363     -134     
  Lines         39153    28413   -10740     
  Branches       5799     4356    -1443     
============================================
- Hits          25889    19024    -6865     
+ Misses        11793     8691    -3102     
+ Partials       1471      698     -773     
Flag Coverage Δ
android-native ?
e2e-ts-android ?
e2e-ts-ios 63.05% <ø> (+0.11%) ⬆️
e2e-ts-macos 49.76% <ø> (-0.23%) ⬇️
ios-native 63.05% <ø> (+0.11%) ⬆️
jest 50.40% <ø> (+0.41%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

….plist

The iOS bundle id change in this PR regenerated GoogleService-Info.plist
with a new GOOGLE_APP_ID, but tests/globals.js still had the old value
hardcoded, causing app.e2e.js config assertions and App Check token
tests to fail in CI.
…esting bundle id

testing.entitlements now grants keychain-access-groups for io.invertase.testing
(not com.invertase.testing), so the e2e test must request the matching
YYX2P3XVJ7.io.invertase.testing group or useUserAccessGroup() fails with
auth/keychain-error.
The config-switch e2e case re-enabled the debug provider without a
debugToken on iOS, so exchangeDebugToken could not use the shared CI
token after App Attest failed.
Keep CI/local simulator cleanup aligned with the testing app bundle id
change from com.invertase.testing.
…sting

Match triage notes and benign Detox noise examples to the corrected
testing app bundle identifier.
@russellwheatley russellwheatley changed the title fix(tests, ios): correct testing app bundle id to io.invertase.testing test(ios): correct testing app bundle id to io.invertase.testing Jul 31, 2026
Post-suite simctl get_app_container still used the Android applicationId
after the iOS testing bundle id change, so CI failed after Jet passed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant