File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,4 @@ public struct Pod {
5454 public func podspecName( ) -> String {
5555 return " \( name) .podspec "
5656 }
57-
58- /// The Firebase pod does not support import validation with Xcode 12 because of the deprecated
59- /// ML pods not supporting the ARM Mac slice.
60- public func skipImportValidation( ) -> String {
61- if name == " Firebase " {
62- return " --skip-import-validation "
63- } else {
64- return " "
65- }
66- }
6757}
Original file line number Diff line number Diff line change @@ -48,12 +48,11 @@ enum Push {
4848 switch destination {
4949 case . staging:
5050 return " pod repo push --skip-tests --use-json \( warningsOK) \( stagingLocation) " +
51- pod . skipImportValidation ( ) + " \( pod. podspecName ( ) ) " +
51+ " --skip-import-validation " + " \( pod. podspecName ( ) ) " +
5252 " --sources= \( stagingRepo) .git,https://cdn.cocoapods.org "
5353 case . trunk:
5454 return " pod trunk push --skip-tests --synchronous \( warningsOK) " +
55- pod
56- . skipImportValidation ( ) + " ~/.cocoapods/repos/ \( stagingLocation) / \( pod. name) / " +
55+ " --skip-import-validation " + " ~/.cocoapods/repos/ \( stagingLocation) / \( pod. name) / " +
5756 " \( manifest. versionString ( pod) ) / \( pod. name) .podspec.json "
5857 }
5958 } ( )
You can’t perform that action at this time.
0 commit comments