JK3Y / asepsis

a solution for .DS_Store pollution
http://asepsis.binaryage.com
Other
72 stars 3 forks source link

Breaks DesktopServicesPriv.framework #14

Closed raxod502 closed 5 years ago

raxod502 commented 5 years ago

Since installing this fork of Asepsis, opening several applications just gives me the following error:

dyld: Library not loaded: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
  Referenced from: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
  Reason: no suitable image found.  Did find:
    /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: mach-o, but wrong architecture
    /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: stat() failed with errno=45
    /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: mach-o, but wrong architecture

This didn't happen with vanilla Asepsis pre-Mojave. Reinstalling the OS fixes the issue, but also of course uninstalls Asepsis.

JK3Y commented 5 years ago

Please try the updated code in the repository. DesktopServicesPriv has been updated to fix these issues.

woutgg commented 5 years ago

First of all, thanks for forking and maintaining this wonderful program!

I'm also seeing this issue, also with the most recent commits. (Actually, steam was crashing like in #16, which is the same error if I'm not mistaken, in fact all 32-bit apps seem to break).

So I tried uninstalling asepsis, which was troublesome due to xcodebuild being broken (by this same issue I think), but a reboot seems to fix this. After that, everything seems back to normal.

I haven't investigated this at all, but I'd be happy to test things if you like.

D-an-W commented 5 years ago

I am getting this issue with several programs even after using the updated build.

Install Adobe Flash Player and Cydia Impactor are two programs that won't launch with Asepsis installed, after updating to 10.14.5 Beta (18F118d) which naturally breaks Asepsis I tested them both before running the install_wrapper command and they worked fine but not after.

`Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x2] Wrong architecture

Application Specific Information: dyld: launch, loading dependent libraries

Dyld Error Message: Library not loaded: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv Referenced from: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox Reason: no suitable image found. Did find: /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: mach-o, but wrong architecture /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: stat() failed with errno=1 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: mach-o, but wrong architecture`

dactylo commented 5 years ago

This is closed, but it's probably because Xcode 10 doesn't support 32 bit. The last version that does is 9.4.1.

I had the same issue, downgraded to 9.4.1, set the deployment target as 10.13, added i386 as a valid architecture, rebuilt asepsis, and now my old Adobe apps work.