swift-index-store
swift-index-store copied to clipboard
Unsafe flags prevent versioned using with SwiftPM
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.
hrm, yea i wonder what we can do in this case besides vendor the dylibs we're referencing? I believe I saw some conversation about loosening this restriction in Swift PM
is there any update on this ?