Skip to content
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

M1 MacBook Air on macOS Ventura shows as unsupported device #584

Closed
lukecharters opened this issue Jun 21, 2024 · 2 comments
Closed

M1 MacBook Air on macOS Ventura shows as unsupported device #584

lukecharters opened this issue Jun 21, 2024 · 2 comments

Comments

@lukecharters
Copy link

Device: MacBook Air (M1, 2020)
macOS version: 13.2.1
Nudge version: 2.0.0.81644

When testing Nudge 2.0.0.81644 with requiredMinimumOSVersion:latest and utilizeSOFAFeed:true on macOS Ventura, M1 MacBook Airs show as unsupported devices.

Logs:

2024-06-20 13:26:36.263116+1000  localhost Nudge[1037]: [com.github.macadmins.Nudge:sofa] SOFA Matched OS Version: 14.5
2024-06-20 13:26:36.263152+1000  localhost Nudge[1037]: [com.github.macadmins.Nudge:sofa] SOFA Assets: ["J132AP", "J137AP", "J140AAP", "J140KAP", "J152FAP", "J160AP", "J174AP", "J180dAP", "J185AP", "J185FAP", "J213AP", "J214KAP", "J215AP", "J223AP", "J230KAP", "J274AP", "J293AP", "J313AP", "J314cAP", "J314sAP", "J316cAP", "J316sAP", "J375cAP", "J375dAP", "J413AP", "J414cAP", "J414sAP", "J415AP", "J416cAP", "J416sAP", "J433AP", "J434AP", "J456AP", "J457AP", "J473AP", "J474sAP", "J475cAP", "J475dAP", "J493AP", "J504AP", "J514cAP", "J514mAP", "J514sAP", "J516cAP", "J516mAP", "J516sAP", "J613AP", "J615AP", "J680AP", "J780AP", "Mac-1E7E29AD0135F9BC", "Mac-63001698E7A34814", "Mac-937A206F2EE63C01", "Mac-AA95B1DDAB278B95", "VMA2MACOSAP", "VMM-x86_64"]
2024-06-20 13:26:36.263301+1000  localhost Nudge[1037]: [com.github.macadmins.Nudge:sofa] Assessed Model ID: J313
2024-06-20 13:26:36.263312+1000  localhost Nudge[1037]: [com.github.macadmins.Nudge:sofa] Assessed Model ID found in SOFA Entry: false

On macOS Ventura 13.2.1, target-sub-type reports back J313:

/usr/libexec/PlistBuddy -c "print IORegistryEntryChildren" /dev/stdin <<< "$(ioreg -a -c "IOPlatformExpertDevice" -d 2)" | grep -a J313
        IORegistryEntryName = J313AP
        compatible = J313APMacBookAir10,1AppleARM
        target-sub-type = J313
        target-type = J313

M1 MacBook Airs on Sonoma 14.5 and Sequoia 15.0 beta 1 report target-sub-type as J313A.

If I had any other models on Ventura I'd test if they also report back the wrong target-sub-type but I don't, sorry.

@erikng
Copy link
Member

erikng commented Jun 26, 2024

Please try the new build.

@erikng
Copy link
Member

erikng commented Jul 1, 2024

I had to add an additional safeguard, but I'm confident in the code now with 921a087

@erikng erikng closed this as completed Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants