spotify-adblock
spotify-adblock copied to clipboard
How can I compile this on Apple silicon?
Currently its giving me following error on compilation:
Compiling spotify-adblock v1.0.2 (/Users/kashyap/Development/spotify-adblock) error: linking with
cc
failed: exit status: 1 | = note: "cc" "-Wl,-exported_symbols_list,/var/folders/7q/vh5ypp2x7zv1p_m0lt2y6g1h0000gn/T/rustcmexsbh/list" "-arch" "arm64" "/var/folders/7q/vh5ypp2x7zv1p_m0lt2y6g1h0000gn/T/rustcmexsbh/symbols.o" "/Users/kashyap/Development/spotify-adblock/target/release/deps/spotifyadblock.spotifyadblock.9543d71a-cgu.0.rcgu.o" "-L" "/Users/kashyap/Development/spotify-adblock/target/release/deps" "-L" "/opt/homebrew/Cellar/rust/1.64.0/lib/rustlib/aarch64-apple-darwin/lib" "/opt/homebrew/Cellar/rust/1.64.0/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-9ba449e7b506e8b4.rlib" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/opt/homebrew/Cellar/rust/1.64.0/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/kashyap/Development/spotify-adblock/target/release/deps/libspotifyadblock.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" = note: Undefined symbols for architecture arm64: "_cef_string_userfree_utf16_free", referenced from: _cef_urlrequest_create in spotifyadblock.spotifyadblock.9543d71a-cgu.0.rcgu.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
The adblock is clearly NOT for apple silicon, but if you found I way, you can share it
We recently launched SpotX for macOS it's not fully optimized yet, but already working https://github.com/jetfir3/SpotX-Bash
This has already been discussed in #4. It's currently not possible to use it on macOS and I suspect that it never will be unfortunately.