Skip to content

Commit 799bb76

Browse files
committed
fix: Big Sur - iTunes is not installed
ref #5342
1 parent ca32dc2 commit 799bb76

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

lib/common/validators/iTunes-validator.ts

+15-9
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,22 @@ export class ITunesValidator implements Mobile.IiTunesValidator {
5252

5353
return null;
5454
} else if (this.$hostInfo.isDarwin) {
55-
const coreFoundationDir =
56-
"/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation";
57-
const mobileDeviceDir =
58-
"/System/Library/PrivateFrameworks/MobileDevice.framework/MobileDevice";
59-
60-
if (!this.isiTunesInstalledCore(coreFoundationDir, mobileDeviceDir)) {
61-
return ITunesValidator.NOT_INSTALLED_iTUNES_ERROR_MESSAGE;
62-
}
63-
55+
// Commented out check to get macOS Big Sur working
56+
// by the looks of it - iTunes is no longer used by the CLI
57+
// so we likely want to remove any legacy code related to it
58+
// this is currently in progress
59+
// TODO: remove this comment when no longer relevant.
6460
return null;
61+
// const coreFoundationDir =
62+
// "/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation";
63+
// const mobileDeviceDir =
64+
// "/System/Library/PrivateFrameworks/MobileDevice.framework/MobileDevice";
65+
//
66+
// if (!this.isiTunesInstalledCore(coreFoundationDir, mobileDeviceDir)) {
67+
// return ITunesValidator.NOT_INSTALLED_iTUNES_ERROR_MESSAGE;
68+
// }
69+
//
70+
// return null;
6571
}
6672

6773
return ITunesValidator.UNSUPPORTED_OS_ERROR_MESSAGE;

0 commit comments

Comments
 (0)