[xcodeproj] Support Xcode 14.x new index path
mattrobmattrob opened this issue · comments
Xcode 13: .../DerivedData/Foo-xxx/Index/DataStore
Xcode 14: .../DerivedData/Foo-xxx/Index.noindex/DataStore
Based on:
We can likely switch to INDEX_DATA_STORE_DIR
to be version agnostic and it's also probably useful to pass -undo-rules_swift-renames
to index-import
.
@mattrobmattrob I don't have a lot of context on -undo-rules_swift-renames
but based on this IIUC Until Bazel 6.0.0
means that this is useful on older versions of Bazel only right? Meaning that since rules_ios
is now on Bazel 6.x we don't get much from this flag?
Because we have affordances like:
rules_ios/rules/repositories.bzl
Lines 72 to 85 in 5ff9efa
Seems reasonable to make it Bazel 5 & 6 capable where possible. But not sure on that specific flag, was just making sure it was recorded to try to figure it out since it's supported by rules_xcodeproj
. 👍
Resolved here: #661 open to suggestions/feedback if I missed anything.
Awesome job, @thiagohmcruz!