Skip to content

Commit df2dbec

Browse files
author
Fatme
authored
Merge pull request #29 from NativeScript/fatme/remove-note-message
Remove unneeded note message
2 parents bb77cd2 + 19cc770 commit df2dbec

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

lib/doctor.ts

+9-7
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,6 @@ export class Doctor implements NativeScriptDoctor.IDoctor {
142142
platforms: [Constants.IOS_PLATFORM_NAME]
143143
})
144144
);
145-
} else {
146-
result.push({
147-
message: "NOTE: You can develop for iOS only on Mac OS X systems.",
148-
additionalInformation: "To be able to work with iOS devices and projects, you need Mac OS X Mavericks or later.",
149-
platforms: [Constants.IOS_PLATFORM_NAME],
150-
type: Constants.INFO_TYPE_NAME
151-
});
152145
}
153146

154147
result = result.concat(
@@ -173,6 +166,15 @@ export class Doctor implements NativeScriptDoctor.IDoctor {
173166
})
174167
);
175168

169+
if (!this.hostInfo.isDarwin) {
170+
result.push({
171+
message: "Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.",
172+
additionalInformation: "",
173+
platforms: [Constants.IOS_PLATFORM_NAME],
174+
type: Constants.INFO_TYPE_NAME
175+
});
176+
}
177+
176178
return result;
177179
}
178180

0 commit comments

Comments
 (0)