SpotilifeC icon indicating copy to clipboard operation
SpotilifeC copied to clipboard

Remove dependency on Preferences.framework

Open gzz2000 opened this issue 2 years ago • 0 comments

This works great on my iOS devices. I also tried installing this on my M1 Mac using PlayCover but it failed there. Judging from the error logs, it seems the reason is that Spotlife.dylib contains a dependency to a framework (Preferences.framework) that does not ship with the MacOS iOS compatibility layer.

dyld[33766]: Library not loaded: /System/Library/PrivateFrameworks/Preferences.framework/Preferences
  Referenced from: <154757D6-6B83-3D9E-ABFC-95B9AB839336> /Users/user/Library/Containers/io.playcover.PlayCover/Applications/com.spotify.client.app/Frameworks/Spotilife.dylib
  Reason: tried: '/System/iOSSupport/System/Library/PrivateFrameworks/Preferences.framework/Preferences' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/iOSSupport/System/Library/PrivateFrameworks/Preferences.framework/Preferences' (no such file), '/System/iOSSupport/System/Library/PrivateFrameworks/Preferences.framework/Preferences' (no such file, not in dyld cache), '/System/Library/PrivateFrameworks/Preferences.framework/Preferences' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/PrivateFrameworks/Preferences.framework/Preferences' (no such file), '/System/Library/PrivateFrameworks/Preferences.framework/Preferences' (no such file, not in dyld cache), '/System/Library/Frameworks/Preferences.framework/Preferences' (no such file, not in dyld cache)

gzz2000 avatar Jan 01 '24 15:01 gzz2000