macOS - libbass.dylib for 64bit

Started by marciod,

marciod

Where can I download libbass.dylib for 64bit macOS?

There is this message when trying to put the program in the App Store, with the latest library from this site:
Asset validation failed (90240)
Unsupported Architectures. Your executable contained the following disallowed architectures: '[i386 (in XXX.pkg/Payload/XXX.app/Contents/MacOS/libbass.dylib)]'. New apps submitted to the Mac App Store must support 64-bit starting January 2018, and Mac app updates and existing apps must support 64-bit starting June 2018. (ID: 227da1f1-ad55-4605-82ab-fab28ad4c2a2)

Ian @ un4seen

The macOS BASS libraries include both 32-bit (i386) and 64-bit (x86_64 + arm64) support. You can remove the 32-bit support using the makefile in the BASS package (run "make 64bit").

marciod

Error in attachment.

Ian @ un4seen

That looks like you ran the "make" command on Windows. It needs to be run on macOS because it uses macOS's "lipo" tool.

marciod


dbaxter

When I try that I get an error "No rule to make target '64bit'". Unzipped everything into a folder, so hopefully not missing any files. First time I've ever used 'make'. Is there something else that needs to be set before using it? thank you.

Ian @ un4seen

The Terminal being in the wrong folder could result in that error. You can open a Terminal directly in the correct folder by right-clicking on the folder in Finder and selecting "New Terminal at Folder". If it's still not working, please confirm what files are in the folder with "ls -l".

dbaxter

Got it to build using the Lipo tool directly. "lipo libbass.dylib -remove i386 -output libbass.64". And then renaming libbass.64.
Thanks, as always!