Skip to content

Finish with problems #38

Closed
Closed

Description

@moebis

What happened

I ran the default preset and got this:

Image

Output of removemacai status

• Spatial Photos models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
    "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive" =     {
        "63E77B10-8305-405D-A14B-43EC2111DAF5" = 1;
    };
}}

macOS version and build

27.2 beta 3

How you installed it

Homebrew

Activity

  1. omlahore commented on Oct 9, 2026

    @omlahore
    Owner

    Hey, thanks for the output. That error comes from Apple's asset service when something on the system still has the model set open. Running removemacai off again cleared it in #15. A restart should release the lock too, but I haven't tested that one. If status still lists Spatial Photos after that, paste it here.

  2. bit-blit commented on Oct 14, 2026

    @bit-blit
    1. Hey, thanks for the output. That error comes from Apple's asset service when something on the system still has the model set open. Running removemacai off again cleared it in #15. A restart should release the lock too, but I haven't tested that one. If status still lists Spatial Photos after that, paste it here.

    What is the way (either CLI or GUI) to get the status so I can check mine - I received the same error (actually 3 separate but similar errors). Although, In the Apple Intelligence header under "Models" I get this:

    Image

    I am assuming when I rebooted it solved the problem, but want to be sure from someone who is more well-versed in these things. Thanks.

    And thanks for making the greatest macOS utility in the history of mankind! I can't believe this was worked up so quickly after macOS 27 dropped. Amazing!

  3. omlahore commented on Oct 14, 2026

    @omlahore
    Owner

    hey, thank you, that's really kind 🙂
    you can check with removemacai status in Terminal, it lists each model set and how much of it is still on disk
    in the app it's the same Models list you screenshotted
    if Spatial Photos shows nothing left there then the reboot cleared it and you're all good
    if it still lists something, paste the status output here and i'll take a look

  4. elgipsy commented on Oct 14, 2026

    @elgipsy

    After having installed/removed RemoveMacAI several times, I installed it again and also got the Finished with problems warning.

    The output is the following:

    • Image and Genmoji models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.FM.Visual: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
    "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.FM.Visual" = {
    "CD12FBC6-1929-443D-A004-9E8C57EDC8AD" = 1;
    };
    }}

    • Spatial Photos models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
    "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive" = {
    "A0C08C20-6C57-406F-B561-9A420690A08E" = 1;
    };
    }}

    Image

    macOS version and build

    27.2 public beta 3

    How you installed it

    zip file in Applications

  5. bit-blit commented on Oct 14, 2026

    @bit-blit

    3. hey, thank you, that's really kind 🙂
    you can check with removemacai status in Terminal, it lists each model set and how much of it is still on disk
    in the app it's the same Models list you screenshotted
    if Spatial Photos shows nothing left there then the reboot cleared it and you're all good
    if it still lists something, paste the status output here and i'll take a look

    When I type removemacai status in Terminal, I get an error that says command not found.
    I installed my version from the zip file and just dragged it into the Applications folder - Is it still possible to execute this command in terminal as I really want to cross reference my results from the GUI version.

    Thanks so much!

  6. omlahore commented on Oct 15, 2026

    @omlahore
    Owner

    @elgipsy that's the same lock error as above, so can you try a restart and then apply again? if status still lists them after that, paste it here
    @bit-blit the zip version doesn't add the removemacai command, but the same program is inside the app so you can run this in Terminal and it prints the same thing 🙂
    /Applications/RemoveMacAI.app/Contents/MacOS/RemoveMacAI status

  7. elgipsy commented on Oct 15, 2026

    @elgipsy

    @omlahore

    Instructions unclear, do you mean uninstalling RemoveMacAI (reverting the changes first), reboot and install RemoveMacAI , then apply the changes again ?

    By the way here is the Terminal status

    Image

    I'm using Photos Clean Up so kept that one on

    PS: I think the "Finished with problems" card shows up if you have installed RemoveMacAI, removed it then installed it again before the Apple Intelligence is actually back on the Mac. I'm currently testing this and will report back but downloading Apple Intelligence takes ages

  8. bit-blit commented on Oct 15, 2026

    @bit-blit

    6. @elgipsy that's the same lock error as above, so can you try a restart and then apply again? if status still lists them after that, paste it here
    @bit-blit the zip version doesn't add the removemacai command, but the same program is inside the app so you can run this in Terminal and it prints the same thing 🙂
    /Applications/RemoveMacAI.app/Contents/MacOS/RemoveMacAI status

    @elgipsy : Thanks! That's exactly the command line I needed - much appreciated!

  9. omlahore commented on Oct 16, 2026

    @omlahore
    Owner

    @elgipsy no need to uninstall anything 🙂
    your status looks fine, everything's gone except the photos clean up models and that's just because you kept that one on
    so the lock error didn't leave anything behind
    and yeah your theory could be it, i haven't tested reinstalling before apple intelligence is back so if the warning shows up again once it's done downloading paste it here

  10. elgipsy commented on Oct 17, 2026

    @elgipsy

    @omlahore

    I got tired of waiting, Apple Intelligence never fully downloaded again and was at 11.58 GB when it should have been 13.5 GB. I ran RemoveMacAI again and got the "finished with a few problems". Instead of having two problems as above, I now have three:

    • Apple Intelligence foundation models: com.apple.UnifiedAssetFramework -1 com.apple.modelcatalog: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
    "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.modelcatalog" = {
    "C7B3E3D8-770E-4E3F-8D58-87B7BFEA512B" = 1;
    };
    }}

    • Image and Genmoji models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.FM.Visual: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
    "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.FM.Visual" = {
    "E6ED76FE-89B5-44AD-A101-31DB0704BC0F" = 1;
    };
    }}

    • Spatial Photos models: com.apple.UnifiedAssetFramework -1 com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive: Error Domain=com.apple.UnifiedAssetFramework Code=-1 "Could not eliminate as there are current locks" UserInfo={NSLocalizedDescription=Could not eliminate as there are current locks, NSLocalizedFailureReason=Could not eliminate as there are current locks, currentLockUsage={
    "manager in com.apple.UnifiedAssetFramework locking latest version of com.apple.MobileAsset.UAF.Photos.SpatialPhotosRelive" = {
    "F55A4E2E-F2D9-45F4-8666-267F0AE5BD40" = 1;
    };
    }}

    So Apple Intelligence foundation models is now one of the problems but like I said in the intro Apple Intelligence didn't download fully so that could explain it.

    Here is the status from Terminal

    Image

    You mention in the "Retry model removal and explain it when macOS reports "current locks"" issue thread that what would help is the following:

    • detect the lock error in Models.remove (Sources/removemacai/System.swift) instead of printing the whole userInfo

    This is unclear to me, how to get to Sources/removemacai/System.swift ?

    • try the removal again a couple of times after a short wait

    Again, sorry, but unclear because when you have Installed RemoveMacAI you cannot try the removal again unless you roll back the changes before and start from scratch... or am I missing something?

    • if it still fails, tell the person in plain words that something is using the models and that restarting and applying again clears it, in both the CLI and the app

    Same comment, could you clarify "applying again clears it"?

    Thank you!!!

  11. omlahore commented on Oct 17, 2026

    @omlahore
    Owner

    sorry, that's on me, #56 was a to-do for whoever changes the code, not steps for you, so you can ignore the System.swift part
    and you don't need to undo anything or start from scratch
    i just put out 1.1.2 which handles this better, when macOS is still holding the models it waits and tries again a couple of times, and if it still can't it tells you to restart instead of dumping that error

    so what i'd do:

    1. download 1.1.2 from https://github.com/omlahore/RemoveMacAI/releases/tag/v1.1.2 and replace the app
    2. restart the Mac
    3. open RemoveMacAI and click Delete the Leftover Models… on the Overview page

    "apply again" just meant that, it only goes after the model sets still on disk and leaves everything else as it is
    the lock means something on the Mac still had those models open, in your case probably the Apple Intelligence download that never finished, and a restart lets go of it
    if they're still there after that, paste the status here

  12. elgipsy commented on Oct 17, 2026

    @elgipsy

    Great support! Let me check and report back

    OK installed 1.1.2 but I can't check if the three problems have been fixed as this will only show if I remove RemoveMacAI and install it again. Here is the latest status; I'm not sure but I guess it's alright?

    Image

    I don't know how to code but maybe a "check for problems" button could be added to the app to check the problems status after having restarted the Mac and clicked the "Delete the Leftover Models". This would either list the problems or show a green checkmark with a "No problems remaining". What do you think?

  13. omlahore commented on Oct 18, 2026

    @omlahore
    Owner

    that status looks good to me 🙂
    everything is off and locked, and the models are gone except Photos Clean Up, which is still on and using 260 MB
    if you want that one gone too, run it again and tick Photos Clean Up, if you use it then it's fine to leave
    and the check you're describing is pretty much what that status screen does, so you can run it after a restart to see where things stand

  14. omlahore commented on Oct 18, 2026

    @omlahore
    Owner

    @moebis @elgipsy 1.1.2 handles the lock error now and the last status looked clean, so i'm closing this 🙂
    if "Finished with problems" shows up again on 1.1.2 or later, paste it here and i'll reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions