Skip to content

Support index-import on all Xcode 16.x versions #3162

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

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

luispadron
Copy link
Contributor

@luispadron luispadron commented Apr 1, 2025

Similar to: bazelbuild/rules_swift#1504

Part of #3160

This PR updates the index-import dependency to include both version 5.8 and 6.1 as the hash algorithm changed in Swift 6.1.
To make this change backwards compatible we switch to the 5.8 version on Xcode 16.2 and under.

@luispadron luispadron force-pushed the luis/update-index-import branch 2 times, most recently from b3ce998 to c182181 Compare April 1, 2025 17:21
@luispadron luispadron force-pushed the luis/update-index-import branch from c182181 to 7cfde82 Compare April 1, 2025 20:05
@luispadron luispadron force-pushed the luis/update-index-import branch 3 times, most recently from 31dbb15 to b65ce61 Compare April 3, 2025 20:19
@luispadron luispadron changed the title Update index-import for Xcode 16.3+ Support index-import on all Xcode 16.x versions Apr 3, 2025
@luispadron luispadron force-pushed the luis/update-index-import branch from efdb014 to 91ac284 Compare April 3, 2025 23:14
@luispadron luispadron marked this pull request as ready for review April 3, 2025 23:39
@luispadron luispadron requested review from a team as code owners April 3, 2025 23:39
@luispadron
Copy link
Contributor Author

@luispadron
Copy link
Contributor Author

Fix for rules_ios: bazel-ios/rules_ios#942, ill actually make a release soon and re-enable rules_ios CI here

luispadron added a commit to bazel-ios/rules_ios that referenced this pull request Apr 4, 2025
In bazelbuild/rules_swift#1504 the index-import
repository name was changed. rules_ios depends on the old name and thus
breaks builds. It looks like these deps are unused (probably after we
got rid of xcodeproj rules).

This fixes builds in rules_xcodeproj:
MobileNativeFoundation/rules_xcodeproj#3162
@luispadron luispadron force-pushed the luis/update-index-import branch 4 times, most recently from 2590343 to ea693fe Compare April 4, 2025 02:36
@luispadron luispadron marked this pull request as draft April 4, 2025 04:05
@luispadron luispadron removed request for a team April 4, 2025 04:05
@luispadron luispadron force-pushed the luis/update-index-import branch from ea693fe to 97c5c3c Compare April 4, 2025 04:09
@luispadron luispadron changed the base branch from main to luis/bazel-head-fixes April 4, 2025 04:10
@luispadron luispadron force-pushed the luis/bazel-head-fixes branch from c3883f6 to 02a9914 Compare April 4, 2025 14:33
@luispadron luispadron force-pushed the luis/update-index-import branch from 97c5c3c to 89decdb Compare April 4, 2025 14:33
@luispadron luispadron marked this pull request as ready for review April 4, 2025 14:36
@luispadron luispadron requested review from a team April 4, 2025 14:36
Base automatically changed from luis/bazel-head-fixes to main April 4, 2025 16:32
@luispadron luispadron force-pushed the luis/update-index-import branch 5 times, most recently from dc87ee7 to f676c07 Compare April 5, 2025 15:58
@luispadron luispadron requested a review from brentleyjones April 5, 2025 15:58
Copy link
Contributor

@aaronsky aaronsky left a comment

Choose a reason for hiding this comment

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

leaving my stamp for whatever it's worth. thank you for heading this up

@luispadron luispadron force-pushed the luis/update-index-import branch from 00d9fa4 to 4fb5c19 Compare April 7, 2025 14:57
@luispadron luispadron requested a review from brentleyjones April 7, 2025 15:16
Similar to: bazelbuild/rules_swift#1504

Part of #3160

This PR updates the index-import dependency to include both version 5.8 and 6.1 as the hash algorithm changed in Swift 6.1.
To make this change backwards compatible we switch to the 5.8 version on Xcode 16.2 and under.

Signed-off-by: Luis Padron <[email protected]>
@luispadron luispadron force-pushed the luis/update-index-import branch from 4fb5c19 to 683fb75 Compare April 7, 2025 15:46
@luispadron luispadron enabled auto-merge (squash) April 7, 2025 15:47
@luispadron luispadron merged commit b579b6c into main Apr 7, 2025
12 checks passed
@luispadron luispadron deleted the luis/update-index-import branch April 7, 2025 15:48
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.

4 participants