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

Commit b1289ea

Browse files
author
Jeff Verkoeyen
committed
Ensure that deprecations are treated as warnings, not errors, when building with CocoaPods.
1 parent 800b299 commit b1289ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Podfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ post_install do |installer|
1717
target.build_configurations.each do |configuration|
1818
configuration.build_settings['SWIFT_VERSION'] = "3.0"
1919
if target.name.start_with?("Motion")
20-
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"
20+
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"
2121
end
2222
end
2323
end

Podfile.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PODS:
22
- CatalogByConvention (2.2.0)
33
- MotionAnimator (2.1.1):
44
- MotionInterchange (~> 1.2)
5-
- MotionInterchange (1.2.0)
5+
- MotionInterchange (1.3.0)
66

77
DEPENDENCIES:
88
- CatalogByConvention
@@ -15,8 +15,8 @@ EXTERNAL SOURCES:
1515
SPEC CHECKSUMS:
1616
CatalogByConvention: 5df5831e48b8083b18570dcb804f20fd1c90694f
1717
MotionAnimator: f306d8ee1a6600b039345c548cb543ebaa9cdec4
18-
MotionInterchange: 499c98e7628a8a078905749734dbfedbfae54cca
18+
MotionInterchange: 988fc0011e4b806cc33f2fb4f9566f5eeb4159e8
1919

20-
PODFILE CHECKSUM: 3c50d819e57d8329e39f3f5677139bf93ac34b8b
20+
PODFILE CHECKSUM: 3537bf01c11174928ac008c20fec4738722e96f3
2121

2222
COCOAPODS: 1.3.1

0 commit comments

Comments
 (0)