Skip to content

Commit

Permalink
Ignore the File Scrubbing error in Buck (facebook#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
xianwen committed May 17, 2021
1 parent a511b1c commit f2865fe
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -31,14 +31,16 @@ public OsoSymbolsContentsScrubber(ImmutableMap<Path, Path> cellRootMap) {
}

@Override
public void scrubFile(FileChannel file) throws IOException, ScrubException {
public void scrubFile(FileChannel file) throws IOException {
if (!Machos.isMacho(file)) {
return;
}
try {
Machos.relativizeOsoSymbols(file, cellRootMap);
} catch (Machos.MachoException e) {
throw new ScrubException(e.getMessage());
// This is a known issue that happens when compiling iOS extensions on arm64 iphonesimulator.
System.err.println(e.getMessage());
System.err.println("This is a known issue that happens when compiling iOS extensions on arm64 iphonesimulator.");
}
}
}

0 comments on commit f2865fe

Please sign in to comment.