Skip to content

Commit 59804d6

Browse files
author
Dimitar Kerezov
committed
Remove semver validation for CocoaPods version string
Latest betas of CocoaPods include 1.0.0.betaX which is not a valid semver string. These versions are the only ones however, which work with Xcode 7.3 out-of-the-box.
1 parent 6c8ceef commit 59804d6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/services/doctor-service.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,6 @@ class DoctorService implements IDoctorService {
8989
}
9090
}
9191

92-
if (sysInfo.cocoapodVer && semver.valid(sysInfo.cocoapodVer) === null) {
93-
this.$logger.warn(`WARNING: Your current CocoaPods version is not a valid semver string.`);
94-
this.$logger.out("You will not be able to build your projects for iOS if they contain plugin with CocoaPod file." + EOL
95-
+ `To be able to build such projects, verify that you have installed a CocoaPods version which is a valid semver string and is at least ${DoctorService.MIN_SUPPORTED_POD_VERSION}.`);
96-
result = true;
97-
}
98-
9992
if (sysInfo.cocoapodVer && semver.valid(sysInfo.cocoapodVer) && semver.lt(sysInfo.cocoapodVer, DoctorService.MIN_SUPPORTED_POD_VERSION)) {
10093
this.$logger.warn(`WARNING: Your current CocoaPods version is earlier than ${DoctorService.MIN_SUPPORTED_POD_VERSION}.`);
10194
this.$logger.out("You will not be able to build your projects for iOS if they contain plugin with CocoaPod file." + EOL

0 commit comments

Comments
 (0)