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 {
54
54
public func podspecName( ) -> String {
55
55
return " \( name) .podspec "
56
56
}
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
- }
67
57
}
Original file line number Diff line number Diff line change @@ -48,12 +48,11 @@ enum Push {
48
48
switch destination {
49
49
case . staging:
50
50
return " pod repo push --skip-tests --use-json \( warningsOK) \( stagingLocation) " +
51
- pod . skipImportValidation ( ) + " \( pod. podspecName ( ) ) " +
51
+ " --skip-import-validation " + " \( pod. podspecName ( ) ) " +
52
52
" --sources= \( stagingRepo) .git,https://cdn.cocoapods.org "
53
53
case . trunk:
54
54
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) / " +
57
56
" \( manifest. versionString ( pod) ) / \( pod. name) .podspec.json "
58
57
}
59
58
} ( )
You can’t perform that action at this time.
0 commit comments