SpotCompiled / SpotilifeC

Compiled Spotilife IPA's.
https://spotcompiled.github.io/
707 stars 27 forks source link

Remove dependency on Preferences.framework #34

Open gzz2000 opened 10 months ago

gzz2000 commented 10 months ago

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)