Skip to content
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

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

Open
erikkerber opened this issue Apr 2, 2024 · 0 comments

Comments

@erikkerber
Copy link

erikkerber commented Apr 2, 2024

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.

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

No branches or pull requests

1 participant