WordPress-iOS icon indicating copy to clipboard operation
WordPress-iOS copied to clipboard

WIP: Xcode 14.0 support

Open mokagio opened this issue 3 years ago • 2 comments

This is going to be a long running branch to (try to) stay on top of the Xcode 14 betas PRs.

I expected many of you will want to checkout this branch locally to play with it. As such, I think we should keep it alive by merging trunk into it. But, I think once we'll officially switch to Xcode 14 stable, it'll make sense to do a big rebase so the history stays tidy.

I called the branch xcode-14-support. This might give us the option to keep the beta branch stable (🙃 🙂) and work on a new beta support without breaking the "stable" branch. That is, we might have an xcode-14-beta-2 branch in the future.

Ideally, we should implement as many fixes for errors and warnings found here as possible on trunk.

Related PRs

  • #18834

Testing

Download Xcode 14 beta 1 and run this branch 😅 .

Regression Notes

  1. Potential unintended areas of impact – N.A.
  2. What I did to test those areas of impact (or what existing automated tests I relied on) – N.A.
  3. What automated tests I added (or what prevented me from doing so) – N.A.

  • [x] I have completed the Regression Notes.
  • [x] I have considered adding unit tests for my changes. N.A.
  • [x] I have considered adding accessibility improvements for my changes. N.A.
  • [x] I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary. N.A.

mokagio avatar Jun 07 '22 05:06 mokagio

You can test the changes in WordPress from this Pull Request by:

  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr18833-299b627 on your iPhone
If you need access to App Center, please ask a maintainer to add you.

wpmobilebot avatar Jun 07 '22 05:06 wpmobilebot

You can test the changes in Jetpack from this Pull Request by:

  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr18833-299b627 on your iPhone
If you need access to App Center, please ask a maintainer to add you.

wpmobilebot avatar Jun 10 '22 04:06 wpmobilebot

Hi @mokagio , do you think this PR is ready for review now?

crazytonyli avatar Sep 15 '22 00:09 crazytonyli

Hi @mokagio , do you think this PR is ready for review now?

Yes. Clicking the button and getting in touch with the iOS devs.

mokagio avatar Sep 15 '22 04:09 mokagio

👋 Just wanted to chime in that I also tested this in Xcode 14 and didn't spot any major issues compiling WPiOS, JPiOS, and tests. Thanks for the great work! 🙇

twstokes avatar Sep 15 '22 16:09 twstokes

Thanks for testing @pachlava @twstokes

@pachlava about your question

I'm curious why iPhone SE was selected, but not iPhone 14? (I'll measure the execution time differences locally for them - but it's not a blocker, it can be changed in separate).

🤔 I forgot why I didn't pick a newer model, which seems a saner things to do. But I don't think there is any performance impact in choosing different model. To my knowledge, the difference would only be the device frame, like screen size, resolution, notch or notch-less, etc.

crazytonyli avatar Sep 15 '22 21:09 crazytonyli

I don't think there is any performance impact in choosing different model.

Actually, there is a small difference. For several runs on SE the average time was 15:58. For iPhone 14 it was 16:26. So there's a half minute difference between them. I don't know why, though.

We had a project, and a part of it was checking if there's an impact of the selected device on execution speed - and it turns out that SE was the fastest: pdcxQM-RL-p2#comment-788. I forgot about that. So let's keep using SE 👍

pachlava avatar Sep 16 '22 07:09 pachlava