Author Topic: macOS - libbass.dylib for 64bit  (Read 878 times)

marciod

  • Posts: 10
macOS - libbass.dylib for 64bit
« on: 12 Dec '22 - 13:42 »
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

  • Administrator
  • Posts: 26083
Re: macOS - libbass.dylib for 64bit
« Reply #1 on: 12 Dec '22 - 14:00 »
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

  • Posts: 10
Re: macOS - libbass.dylib for 64bit
« Reply #2 on: 12 Dec '22 - 14:19 »
Error in attachment.

Ian @ un4seen

  • Administrator
  • Posts: 26083
Re: macOS - libbass.dylib for 64bit
« Reply #3 on: 12 Dec '22 - 15:07 »
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

  • Posts: 10
Re: macOS - libbass.dylib for 64bit
« Reply #4 on: 12 Dec '22 - 17:22 »
Thanks for the wonderful help as always.

dbaxter

  • Posts: 83
Re: macOS - libbass.dylib for 64bit
« Reply #5 on: 24 May '23 - 04:37 »
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

  • Administrator
  • Posts: 26083
Re: macOS - libbass.dylib for 64bit
« Reply #6 on: 24 May '23 - 16:52 »
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

  • Posts: 83
Re: macOS - libbass.dylib for 64bit
« Reply #7 on: 29 May '23 - 05:44 »
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!