Add Xcode 27 Preview to CI & Update tvOS Tests - #973
Open
w-goog wants to merge 15 commits into
Open
Conversation
The raised deployment targets (iOS 15, macOS 12, tvOS 15, watchOS 9) put +archivedDataWithRootObject: and +unarchiveObjectWithData: past their deprecation points on macOS and tvOS, and the project builds with -Werror. The @available(iOS 12.0, macOS 10.13, tvOS 11.0, watchOS 4.0) guards in the NSSecureCoding tests are now always true, so the legacy fallback branches they guarded are dead code; remove the guards and the branches. The AppAuthTV tests called the legacy APIs unconditionally, so convert those call sites to +archivedDataWithRootObject:requiringSecureCoding:error: and +unarchivedObjectOfClass:fromData:error:.
CI pins Xcode 16.4 on macos-15, so it cannot see Xcode 27 breakage at all -- which is why the deployment-target floors went unnoticed until a release testing session. Xcode 27 is available on the preview 'xcode-27' runner image, where Xcode 27 beta is the only (and default) Xcode and the simulator runtimes are the 27.0 generation. Add a job that runs the existing six-scheme matrix there. The image is preview, so the job is continue-on-error and cannot gate a merge; no existing job is touched.
The xcode-27 preview image ships no simulator called plain "Apple TV" -- its only tvOS 27.0 devices are "Apple TV 4K (3rd generation)" and the 1080p variant -- so all three tvOS entries in the Xcode 27 job failed to resolve a destination. Name the 4K device. The xcode-project-test job keeps name=Apple TV: that device does exist on macos-15, where it runs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a non-blocking Xcode 27 job to the CI, to ensure that future changes don't break on that version.