Skip to content

Commit

Permalink
Disable sandboxing for XibCompile actions.
Browse files Browse the repository at this point in the history
Fixes #2189.

The other idea of making the path that ibtoold wants to write to read-write in the sandbox strategy didn't seem to help (but I don't know why) - it randomly works or doesn't work, with or without that change.

--
PiperOrigin-RevId: 142553982
MOS_MIGRATED_REVID=142553982
  • Loading branch information
philwo authored and iirina committed Dec 21, 2016
1 parent c8c15c8 commit 669e13f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ private void registerConvertXibsActions(ObjcProvider objcProvider) {
.setCommandLine(ibActionsCommandLine(archiveRoot, zipOutput, original))
.addOutput(zipOutput)
.addInput(original)
// Disable sandboxing due to Bazel issue #2189.
.disableSandboxing()
.build(ruleContext));
}
}
Expand Down

0 comments on commit 669e13f

Please sign in to comment.