Last active
September 19, 2025 01:31
-
-
Save Kyle-Ye/4ad1aa92df3a31bd812487af65e16947 to your computer and use it in GitHub Desktop.
Revisions
-
Kyle-Ye revised this gist
Jul 1, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -58,4 +58,4 @@ Reboot and open Xcode. That's all. Done. If this is not work for you, you can also give a look at [unixzii's solution](https://gist.github.com/unixzii/6f25be1842399022e16ad6477a304286) If you are interested in eligibilityd, you can also take a look at https://github.com/Kyle-Ye/eligibilityd -
Kyle-Ye revised this gist
Jul 1, 2024 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,4 +56,6 @@ Reboot and open Xcode. That's all. Done. - [Lakr233](https://github.com/Lakr233) and [unixzii](https://github.com/unixzii) If this is not work for you, you can also give a look at [unixzii's solution](https://gist.github.com/unixzii/6f25be1842399022e16ad6477a304286) - https://github.com/Kyle-Ye/eligibilityd -
Kyle-Ye revised this gist
Jun 17, 2024 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,4 +49,11 @@ Lock the `eligibility.plist` file to prevent `eligibilityd` changing it again. Reboot and open Xcode. That's all. Done. > Click the "Predictive code completion" on Xcode and then it will tirgger a popup to download the LLM model. ### Acknowlegement - [Lakr233](https://github.com/Lakr233) and [unixzii](https://github.com/unixzii) If this is not work for you, you can also give a look at [unixzii's solution](https://gist.github.com/unixzii/6f25be1842399022e16ad6477a304286) -
Kyle-Ye revised this gist
Jun 16, 2024 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,11 @@ csrutil disable ### Step 1 ``` # Remove IDEModelAccessOnDeviceAvailabilityOverride if you have watched my tweet before defaults delete com.apple.dt.Xcode IDEModelAccessOnDeviceAvailabilityOverride ``` ``` # Clear old eligibilityd cache sudo rm -rf /private/var/db/eligibilityd -
Kyle-Ye revised this gist
Jun 16, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ > [!Warning] > The following guide need to disable SIP to work. > > Please confirm the risk of disabling the SIP by yourself. > -
Kyle-Ye revised this gist
Jun 16, 2024 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,10 @@ > [!Warning] > The following guide need SIP disable to work. > > Please confirm the risk of disabling the SIP by yourself. > > Another solution which does not require disabling SIP is currently under investigation. ### Step 0 Reboot into Recovery OS + Disable SIP -
Kyle-Ye revised this gist
Jun 16, 2024 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,6 +23,8 @@ sudo vim /private/var/db/os_eligibility/eligibility.plist # You need to change them to 1, 4, 3, 3 ``` > For the meaning of the numbers, you can check out https://x.com/KyleSwifter/status/1802405373133099475 or eligibilityd repo which I will open source later. ### Step 2 Lock the `eligibility.plist` file to prevent `eligibilityd` changing it again. -
Kyle-Ye created this gist
Jun 16, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,38 @@ ### Step 0 Reboot into Recovery OS + Disable SIP ``` csrutil disable ``` ### Step 1 ``` # Clear old eligibilityd cache sudo rm -rf /private/var/db/eligibilityd # Lauch Xcode to tirgger a new record /Applications/Xcode-16.0.0-Beta.app/Contents/MacOS/Xcode ``` Use vim in terminal or VSCode to change eligibility.plist (Need root permission) ``` sudo vim /private/var/db/os_eligibility/eligibility.plist # Go to OS_ELIGIBILITY_DOMAIN_XCODE_LLM field # The normal value are 1, 2, 3, 2 # You need to change them to 1, 4, 3, 3 ``` ### Step 2 Lock the `eligibility.plist` file to prevent `eligibilityd` changing it again. 1. `cd /private/var/db/eligibilityd && open .` 2. ⌘+I on `eligibility.plist` file 3. In `Sharing & Permissions` section, unlock and then set system's privilege to "Read only" too. ### Step 3 Reboot and open Xcode. That's all. Done. > Click the "Predictive code completion" on Xcode and then it will tirgger a popup to download the LLM model.