-
-
Notifications
You must be signed in to change notification settings - Fork 197
tns device does not show ios devices on MacOS 11 (Big Sur beta) #5342
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
Anyone looking at this? It's also an issue on NS7. |
Looking for solution too. |
Any update or work around for this? |
Also looking for an update. Does anyone know if this is due to a missing component within Big Sur that was present in Catalina, or is this just a case of using the wrong set of tooling within the CLI packages themselves? |
I don't have Big Sur installed yet because of this, but from what I understand from looking at the code is that { NS } relies heavily on iTunes to search for its devices, which makes sense. With Big Sur Apple removed iTunes in favour of Apple Music so { NS } needs to migrate over to account for that. |
Does anyone test with new 7.0 cli? |
It's the same... Doesn't work on the latest CLI and macOS. |
Same here on Big Sur with latest ns cli blocks device deployment during testing i.e. WorkaroundWorkaround for people who need to deploy to device in these tough times:
How to disable that error message
else if (this.$hostInfo.isDarwin) {
const coreFoundationDir = "/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation";
const mobileDeviceDir = "/System/Library/PrivateFrameworks/MobileDevice.framework/MobileDevice";
if (!this.isiTunesInstalledCore(coreFoundationDir, mobileDeviceDir)) {
// commented this out
// return ITunesValidator.NOT_INSTALLED_iTUNES_ERROR_MESSAGE;
}
return null;
}
return ITunesValidator.UNSUPPORTED_OS_ERROR_MESSAGE;
Note I wouldn't normally suggest modifying a Relevant link about this change from elsewhere on the web that suggest why this has changed: https://www.reddit.com/r/MacOSBeta/comments/hfknpa/is_corefoundation_missing_for_everyone_on_big_sur/ |
Well since Big Sur has just been released this issue is going to start becoming a roadblock to lots of people very quickly. |
Same here can you release an update to solve it instead of a workaround. |
@OPADA-Eng it's in progress.... |
Thanks @rigor789 |
Pushed a temp fix for this - and it's now available in npm i -g nativescript@next |
Is this going to get patched in Nativescript CLI 6 as well?It still exists in 6.8.0 |
@chuckmitchell no plans - latest CLI is able to run ns6 apps, so no need to backport fixes to old CLI versions. |
@rigor789 ok thank you! I was not aware... |
HI @rigor789 ns version = 7.1.2 I removed the old tns-ios version like so FYI: I cannot fully migrate to ns7 because some of the ns plugins are not yet up to date. This is unfortunately causing lots of headaches as this has caused me to miss some deadlines :( |
Environment
Describe the bug
tns devices shows no ios devices, even though devices are connected and detected in xcode.
tns devices reports "iTunes is not installed. Install it on your system and run this command again." iTunes is long deprecated AFIAK.
To Reproduce
Run "tns devices"
Expected behavior
List of connected ios devices.
The text was updated successfully, but these errors were encountered: