Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Ensure that deprecations are treated as warnings, not errors, when bu…
Browse files Browse the repository at this point in the history
…ilding with CocoaPods.
  • Loading branch information
Jeff Verkoeyen committed Nov 9, 2017
1 parent 800b299 commit b1289ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ post_install do |installer|
target.build_configurations.each do |configuration|
configuration.build_settings['SWIFT_VERSION'] = "3.0"
if target.name.start_with?("Motion")
configuration.build_settings['WARNING_CFLAGS'] ="$(inherited) -Wall -Wcast-align -Wconversion -Werror -Wextra -Wimplicit-atomic-properties -Wmissing-prototypes -Wno-sign-conversion -Wno-unused-parameter -Woverlength-strings -Wshadow -Wstrict-selector-match -Wundeclared-selector -Wunreachable-code"
configuration.build_settings['WARNING_CFLAGS'] ="$(inherited) -Wall -Wcast-align -Wconversion -Werror -Wextra -Wimplicit-atomic-properties -Wmissing-prototypes -Wno-sign-conversion -Wno-unused-parameter -Woverlength-strings -Wshadow -Wstrict-selector-match -Wundeclared-selector -Wunreachable-code -Wno-error=deprecated -Wno-error=deprecated-implementations"
end
end
end
Expand Down
6 changes: 3 additions & 3 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PODS:
- CatalogByConvention (2.2.0)
- MotionAnimator (2.1.1):
- MotionInterchange (~> 1.2)
- MotionInterchange (1.2.0)
- MotionInterchange (1.3.0)

DEPENDENCIES:
- CatalogByConvention
Expand All @@ -15,8 +15,8 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
CatalogByConvention: 5df5831e48b8083b18570dcb804f20fd1c90694f
MotionAnimator: f306d8ee1a6600b039345c548cb543ebaa9cdec4
MotionInterchange: 499c98e7628a8a078905749734dbfedbfae54cca
MotionInterchange: 988fc0011e4b806cc33f2fb4f9566f5eeb4159e8

PODFILE CHECKSUM: 3c50d819e57d8329e39f3f5677139bf93ac34b8b
PODFILE CHECKSUM: 3537bf01c11174928ac008c20fec4738722e96f3

COCOAPODS: 1.3.1

0 comments on commit b1289ea

Please sign in to comment.