Skip to content

Commit f881fb3

Browse files
committed
Removed detection for iTunes
Add OS detection Warn users that to develop for iOS, they need OS X Maverics or later Implements #615
1 parent 54e668e commit f881fb3

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)