diff options
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | Firebase/Core/FIRLogger.m | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index d68fafc..7dcd62a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,9 +34,7 @@ jobs: - ./scripts/if_changed.sh bundle exec pod install --project-directory=Functions/Example script: - ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM - - # TODO fix os_log deprecation warning in FIRLogger to remove --allow-warnings - - ./scripts/if_changed.sh bundle exec pod lib lint FirebaseCore.podspec --allow-warnings + - ./scripts/if_changed.sh bundle exec pod lib lint FirebaseCore.podspec # TODO - Uncomment subsequent lines once FirebaseCore source repo is in public Specs repo # - bundle exec pod lib lint FirebaseAuth.podspec diff --git a/Firebase/Core/FIRLogger.m b/Firebase/Core/FIRLogger.m index 15c0013..faa0727 100644 --- a/Firebase/Core/FIRLogger.m +++ b/Firebase/Core/FIRLogger.m @@ -101,6 +101,8 @@ void FIRLoggerInitializeASL() { aslOptions = ASL_OPT_STDERR; } +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" // asl is deprecated // Initialize the ASL client handle. sFIRLoggerClient = asl_open(NULL, kFIRLoggerASLClientFacilityName, aslOptions); @@ -237,6 +239,7 @@ void FIRLogBasic(FIRLoggerLevel level, asl_log(sFIRLoggerClient, NULL, level, "%s", logMsg.UTF8String); }); } +#pragma clang diagnostic pop /** * Generates the logging functions using macros. |