Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(deps): adopt Xcode 15 / iOS 17 in CI #7357

Closed
wants to merge 2 commits into from
Closed

Conversation

mikehardy
Copy link
Collaborator

Description

  • update our device type / os definitions to be iPhone 15 / iOS 17.0

This is to match with the current new installation values you get when installing Xcode 15 - iPhone 14 / iOS 16.4 are not available by default and you have to install them manually if you want them

  • update CI xcode from xcode-current to 15

Note that this may not work, I'm not sure what Xcode is actually available in the current runner images, so this is a little speculative and the CI run log will need examination

  • update Detox with patch to handle slightly different error message for terminateApp when app was not running - Xcode 15 apparently changed it

Release Summary

conventional commit, won't trigger a release

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan

Tested locally and everything appears to work except some timing-related flakiness on remote-config onConfigUpdated that I also saw on the old Simulator - so I'm curious how it goes in CI

Nabeel also mentioned a compile issue that required a new build flag but I was not able to reproduce a need for this locally. Detailed as:

All I had to do was adding the ld64 flag in Other Linker Flags in the Xcode project settings

If it reproduces in CI I'll adopt that change in this PR


Think react-native-firebase is great? Please consider supporting the project with any of the below:

@vercel
Copy link

vercel bot commented Sep 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-firebase ❌ Failed (Inspect) Sep 20, 2023 4:08pm
react-native-firebase-next ❌ Failed (Inspect) Sep 20, 2023 4:08pm

- update our device type / os definitions to be iOS 17.0

This is to match with the current new installation values you get when installing
Xcode 15 - iOS 16.4 is not available by default and you have to install
them manually (taking a lot of disk space...) to use it. You will still need to
manually create an iPhone 14 device though

- update CI xcode from xcode-current to 15
…emulators

the list at https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#installed-simulators
does not appear to be accurate as a test run is returning simulator not found on a tuple that should work
@mikehardy
Copy link
Collaborator Author

superceded by #7374

@mikehardy mikehardy closed this Oct 10, 2023
@mikehardy mikehardy deleted the @mikehardy/xcode-15 branch October 10, 2023 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Workflow: Needs Review Pending feedback or review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant