Skip to content

Commit 728d295

Browse files
committed
Merge pull request #640 from NativeScript/totev/fix-itunes-doctor
Removed detection for iTunes
2 parents 54e668e + f881fb3 commit 728d295

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/services/doctor-service.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,9 @@ class DoctorService implements IDoctorService {
4848
+ "To be able to build for iOS and run apps in the native emulator, verify that you have installed Xcode." + os.EOL);
4949
result = true;
5050
}
51-
if (!sysInfo.itunesInstalled) {
52-
this.$logger.warn("WARNING: iTunes is not installed.");
53-
this.$logger.out("You will not be able to work with iOS devices via cable connection." + os.EOL
54-
+ "To be able to work with connected iOS devices," + os.EOL
55-
+ "download and install iTunes from http://www.apple.com" + os.EOL);
51+
if (!this.$hostInfo.isDarwin) {
52+
this.$logger.warn("WARNING: You can work with iOS only on Mac OS X systems.");
53+
this.$logger.out("To be able to work with iOS devices and projects, you need Mac OS X Mavericks or later." + os.EOL);
5654
result = true;
5755
}
5856
if(!sysInfo.javaVer) {

0 commit comments

Comments
 (0)