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

Update to use Xcode 15.2 #837

Merged
merged 4 commits into from
Mar 2, 2024
Merged

Update to use Xcode 15.2 #837

merged 4 commits into from
Mar 2, 2024

Conversation

luispadron
Copy link
Collaborator

@luispadron luispadron commented Feb 29, 2024

This is a prerequisite for Bazel 7 (#795).

Changes:

  • Update xcspecs for Xcode 15.2 (see the second commit for those changes separately)
  • Update CI machines to macOS 14 which includes Xcode 15 machines
  • Update CI to use Xcode 15.2
  • Update default runners for iOS 17.2 since thats now the default installed OS
  • Update macOS xcconfig tests for Xcode 15
  • Update .xcodeproj tests to use arm64 as CI now runs on M1 machines

This was referenced Feb 29, 2024
@luispadron luispadron changed the base branch from master to luis/update-to-bazel-6.5 February 29, 2024 15:58
Base automatically changed from luis/update-to-bazel-6.5 to master February 29, 2024 16:29
luispadron added a commit that referenced this pull request Feb 29, 2024
This is a pre-req to #837 since `visionos` is not in 6.3.x
@luispadron luispadron force-pushed the luis/update-to-xcode-15 branch 3 times, most recently from 9e0020d to 0baee3a Compare February 29, 2024 17:06
luispadron added a commit that referenced this pull request Feb 29, 2024
This is a pre-requisite for Xcode 15+ adoption (#837). Supported
versions are available here: https://developer.apple.com/support/xcode/

Changes:

- Update to add more minimum OS versions
- Update iOS versions <12.0 to use 12.0
- Update macOS versions <10.13 to use 10.13
- Update test host app versions to drop OS < 12.0
@luispadron luispadron force-pushed the luis/update-to-xcode-15 branch 6 times, most recently from b2652c7 to 2948ee4 Compare March 1, 2024 00:31
@luispadron luispadron marked this pull request as ready for review March 1, 2024 00:34
@@ -32,7 +32,7 @@ def xcspec_from_file(path):
eval_bzl_path = sys.argv[4]
xcode = os.path.dirname(os.path.dirname(developer_dir))
xcode_plugins = os.path.join(
xcode, "Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources"
xcode, "Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the new path to XCBSpecifications.ideplugin

with ctxlock:
self.status = -1
self.status = -1
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated but ctxlock is undefined so when a lldb test would fail this would mask the actual error.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes were required after updating xcspecs, they don't really make sense to me but 🤷🏼

@luispadron
Copy link
Collaborator Author

Once this merges i'll mark the 15.2 jobs required in GitHub again

@luispadron
Copy link
Collaborator Author

luispadron commented Mar 1, 2024

@thiagohmcruz Thoughts on why the .xcodeproj tests seem to fail due to an interrupt? Its coming from the gets call in output-processor.rb

@luispadron
Copy link
Collaborator Author

Got past the build failure by updating the sim to use iPhone 15, now just need to update the fixtures for arm64 since macos-14 are M1 machines

@luispadron luispadron merged commit b62d139 into master Mar 2, 2024
7 checks passed
@luispadron luispadron deleted the luis/update-to-xcode-15 branch March 2, 2024 04:50
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.

3 participants