-
Notifications
You must be signed in to change notification settings - Fork 114
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
Make the app compatible with Xcode 14 #7371
Conversation
You can test the changes from this Pull Request by:
|
The test failures on this PR is a bit strange... UI tests on iPhone and iPad pass on my own mac, whereas they fail reliably on CI. Unit tests fail on my own mac too, but more than just the two cases on CI. |
Similar to wordpress-mobile/WordPress-iOS#19119, I'll summarize the status of UI and unit tests. I'll come back once next beta is out.
|
This issue is fixed in beta 5. |
@crazytonyli I am updating the milestone dates for WCiOS & WCAndroid. Since this PR is currently a draft, I removed the |
@oguzkocer No problem. Thanks for the reminder. I should've removed the milestone when I turned this PR to draft. |
This issue is fixed in Xcode 14 beta 6. Given Apple is about to release iOS 16 next week, I doubt the other two issues are going to be fixed in Xcode 14 GM. I'll start working on a fix. |
cae7d48
to
284d890
Compare
Just commenting to note that this PR has changes that will also fix #7091, thanks @crazytonyli. |
On iOS 16, `DateFormatter` returns a different localized string for template format 'MMM d, h:mm a', compared to previous iOS versions. Feeback to Apple: FB11335645.
7bec1b4
to
112beec
Compare
112beec
to
2a36b11
Compare
Hi @mokagio , this PR is ready for review. Thanks! |
Spooky that the unit tests failed in CI. I retried them and they failed again, in the same way. Trying to replicate locally... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Here are the fixed required for the project to run on Xcode 14:
DateFormatter
's output for a specific date format has changed in iOS 16, the workaround is changing the assertion based on the OS version.Testing instructions
No test required, as this PR goes to the
xcode-14
branch.