rules_swift icon indicating copy to clipboard operation
rules_swift copied to clipboard

"Operation not permitted" when switching to `-swift.emit_swiftsourceinfo`, `swift.emit_swiftdoc`

Open erikkerber opened this issue 1 year ago • 0 comments

Using the two opt-out features via #1179, builds may fail if not cleaned before opting out of these features:

build --features=-swift.emit_swiftsourceinfo
build --features=-swift.emit_swiftdoc
<unknown>:0: error: error opening 'bazel-out/ios_sim_arm64-dbg-ios-sim_arm64-min15.0-applebin_ios-ST-7bcb8661e3b5/bin/Modules/Data/Icon/Icon.swiftdoc' for output: Operation not permitted
<unknown>:0: error: error opening 'bazel-out/ios_sim_arm64-dbg-ios-sim_arm64-min15.0-applebin_ios-ST-7bcb8661e3b5/bin/Modules/Data/Icon/Icon.swiftsourceinfo' for output: Operation not permitted

I'm not sure off the top of my head if this can be managed, or if it's just going to need to be a papercut to be dealed with. But this will make it difficult to switch between these options on CI.

erikkerber avatar Apr 02 '24 16:04 erikkerber