Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions docs/misc/apple-intelligence.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,36 @@ defaults delete com.apple.CloudSubscriptionFeatures.optIn "545129924"

1. <a href="x-apple.systempreferences:com.apple.Siri-Settings">Access Apple Intelligence settings from macOS UI</a>
2. Toggle "Apple Intelligence" value

## END USER NOTE:
After a few other post release updates, it appears the "patchID / code" for Apple Intelligence (referenced above)
seems to CHANGE after updates. I am using the following technique to "extract" this code using simple bash, and THEN apply
the aforementioned update:
(NOTE TO AUTHOR: apologies in advance, I did not know where this information wouold best be structured on your
original page format. Please feel free to adjust or advise me where this should be structured)


```
patchID=""
tmpres=`defaults read com.apple.CloudSubscriptionFeatures.optIn`
IFS=$' \n\t'
myarr=($tmpres)
for item in "${myarr[@]}"; do
# Only care about lines that ONLY contain digits
if [[ "$item" =~ [^0-9] ]]; then
continue
fi
# If $patchID is empty, we fill it in with the value that is "only digits"
# We only care about first entry, so we break loop when done
if [[ -z $patchID ]]; then
patchID=$item
break
fi
done

echo "Patch ID is: $patchID"
defaults write com.apple.CloudSubscriptionFeatures.optIn ${patchID} -bool false
defaults write com.apple.CloudSubscriptionFeatures.optIn auto_opt_in -bool false
defaults read com.apple.CloudSubscriptionFeatures.optIn
```