We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 221f49d commit 1bd0b30Copy full SHA for 1bd0b30
lib/services/xcproj-service.ts
@@ -39,7 +39,7 @@ class XcprojService implements IXcprojService {
39
let cocoapodVer = this.$sysInfo.getSysInfo(this.$staticConfig.pathToPackageJson).wait().cocoapodVer,
40
xcodeVersion = this.$xcodeSelectService.getXcodeVersion().wait();
41
42
- if(!semver.valid(cocoapodVer)) {
+ if(cocoapodVer && !semver.valid(cocoapodVer)) {
43
// Cocoapods betas have names like 1.0.0.beta.8
44
// These 1.0.0 betas are not valid semver versions, but they are working fine with XCode 7.3
45
// So get only the major.minor.patch version and consider them as 1.0.0
0 commit comments