MacOS edition updated

Discussions related specifically to the Windows, Linux (86), Mac OS-X and Raspberry Pi editions of BB4W and BBCSDL
Richard Russell
Posts: 665
Joined: Tue 18 Jun 2024, 09:32

MacOS edition updated

Post by Richard Russell »

I have updated the MacOS edition of BBCSDL so that when you 'compile' a program to a standalone executable bundle (.dmg file) it automatically allocates it a 'unique' Bundle Identifier. Apparently some newer versions of macOS, specifically macOS Sequoia and later, will not always install an application without a Bundle Identifier - or if installed will not grant certain privileges such as connecting to a device on your local network.

Having stated that the Bundle Identifier is 'unique' - and certainly that is what you hope is the case - in practice the compile utility simply takes the name you enter in the App name: field and creates an ID of the form com.bbcbasic.appname. So if for example you enter as the name of your app 'My Mac App' the bundle ID will be com.bbcbasic.mymacapp which of course is not guaranteed to be unique. :(

I could probably have made a better effort to make it unique, for example by incorporating your User Name in the ID, but I took the easy option! So you would be advised to give your app a name which is not too generic, to reduce the likelihood of a collision with a different app created in BBC BASIC.