diff --git a/src/com/facebook/buck/cxx/toolchain/objectfile/OsoSymbolsContentsScrubber.java b/src/com/facebook/buck/cxx/toolchain/objectfile/OsoSymbolsContentsScrubber.java index 4c66710912e..73b1193f4eb 100644 --- a/src/com/facebook/buck/cxx/toolchain/objectfile/OsoSymbolsContentsScrubber.java +++ b/src/com/facebook/buck/cxx/toolchain/objectfile/OsoSymbolsContentsScrubber.java @@ -31,14 +31,16 @@ public OsoSymbolsContentsScrubber(ImmutableMap 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."); } } }