Thanks to a headstart from Dennis Birch I'm now able to use an IDE
script to build and bundle my Mac UB app. Thanks for the nice script
Dennis.
After a while I noticed that often there would be only the default
icon shown on the built app and not my custom icon, and then I
discovered that the AppName.icns file was not in the bundle as it
should have been.
It turns out that the IDE does not include icons in UB apps unless
the UB build is enabled in the BuildSettings dialog, eventhough the
script requests a UB build using the BuildApp(8) command.
So to get an icon included in your UB app you need to either make
sure that UB is enabled in the BuildSettings dialog or use something
like this in your IDE Script.
// build UB version
BuildMacMachOUniversal = True
path = BuildApp(8)
Passing the build type to BuildApp eg. BuildApp(8), is insufficient
to get a UB build with an icon.
Not sure if it's a bug, but it's certainly a subtle trap. :-)
http://www.realsoftware.com/feedback/viewreport.php?reportid=yjxlltip
Regards,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>