Skip to content

null/undefined check added #1804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2016
Merged

null/undefined check added #1804

merged 1 commit into from
Jun 6, 2016

Conversation

enchev
Copy link
Contributor

@enchev enchev commented Jun 6, 2016

Related to ##1734

@rosen-vladimirov
Copy link
Contributor

In case cocoadpodVer is null/undefined, the following line will fail as well:
https://github.com/NativeScript/nativescript-cli/pull/1804/files#diff-054de9ebd89900812d117a4a095f7e5fR53
Can you add the check there as well:

let shouldUseXcproj = cocoapodVer && !!(semver.lt(cocoapodVer, "1.0.0") && ~helpers.versionCompare(xcodeVersion, "7.3.0")),

@vakrilov
Copy link

vakrilov commented Jun 6, 2016

💯

@hshristov
Copy link

I though we cannot install CLI if there is no CocoaPod installed. Right?

@rosen-vladimirov
Copy link
Contributor

@hshristov
Cocoapods are not mandatory (or at least by 2.0.1 they have not been mandatory for NativeScript CLI).

@rosen-vladimirov
Copy link
Contributor

👍 after green build

@hshristov
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants