With this integration:
dependencies: [
.package(url: "https://github.com/lyft/swift-index-store.git", from: "1.2.0"),
],
The following error is produced with Swift Package Manager:
the target 'IndexStore' in product 'IndexStore' contains unsafe build flags
It's possible to work around this by integrating swift-index-store with a branch rather than a version:
dependencies: [
.package(url: "https://github.com/lyft/swift-index-store.git", branch: "main"),
],
But then SwiftPM isn't happy if this is done in a transitive dependency.