-
-
Notifications
You must be signed in to change notification settings - Fork 197
Executing tns platform add ios
throws incorrect exception when XCode is not installed
#290
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
Comments
Hi @leebailey88,
It looks like there's something strange when we try to check your XCode version and see if it is supported one (min supported version is 6.0) |
ah, that's the first issue. I only have command line tools installed--not Xcode itself. I didn't see that as a prerequisite in the docs. Though that may be obvious to seasoned app developers, newbies like me who barely know what Xcode is should probably be explicitly told to DL it before starting here. |
@leebailey88 , you can check the system requirements here http://docs.nativescript.org/setup/ns-cli-setup/ns-setup-os-x.html#system-requirements |
tns platform add ios
throws exceptiontns platform add ios
throws incorrect exception when XCode is not installed
Thanks for the quick responses. Renamed issue and downloading Xcode now |
I see from the link that Xcode is clearly listed as a requirement so this was definitely a case of user error. A better error message would help greatly though. I tend to skip straight to the enumerated steps when using getting started guides which is how I missed it here. |
I got the same error though Xcode 7.3 beta & the command line tools are installed |
Same error here.
MacOSX version 10.11.5 (15F34) (El Capitan) |
Resolved here: #1782 |
This is not fixed yet. i seem to be getting a similar error as from what i can see in this commit : This only adds exception for try catching the error . Although the best option would be to do a regex on the version string. :) |
@ickata @rosen-vladimirov or @enchev any guidance on how to overcome this error ? |
i have fixed this for now by hardcoding the version number although best approach would be to use regex. i will send the pull request on this later. cheers, |
Ok, I just got this issue after I updated Xampp on my osx. I followed instructions mentioned here https://discourse.nativescript.org/t/version-strings-are-not-in-the-same-format/756/16 to rename HEAD utility in xampp bin folder, I renamed to 'xhead', apache is working fine and I can add platform with no issue. |
This is from the getting started guide. This should be the most critical bug as potential users like me are instantly turned off and may not revisit the project if we can't even get the hello world app running.
The text was updated successfully, but these errors were encountered: