Index: testing/iossim/iossim.gyp |
diff --git a/testing/iossim/iossim.gyp b/testing/iossim/iossim.gyp |
index 2c1bd83e54aea74494b67e5f36160da58c69ed08..81334a110bc8600bc140e733c1216f08d02c94dc 100644 |
--- a/testing/iossim/iossim.gyp |
+++ b/testing/iossim/iossim.gyp |
@@ -25,6 +25,13 @@ |
'defines': [ |
'IOSSIM_USE_XCODE_6', |
], |
+ 'xcode_settings': { |
+ # The CoreSimulator.h file generated by class-dump defines a |
+ # property of type |NSString*| and a setter for the property |
+ # that takes a parameter of type |id|. This type mismatch causes |
+ # a compiler warning, so turn off -Werror. |
+ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', |
+ }, |
'actions': [ |
{ |
'action_name': 'generate_dvt_foundation_header', |