Post Build Script - Copy File

I create a Post Build Script to copy a file on the three platforms, beside the application.

I just duplicate the script two times and move them to the targets (so all three are the same).

After a compile, I checked and the macOS (El Capitan) application is alone in its own folder (in the Builds…).

The file was copied into Contents:MacOS:

The application ID is set to App Parent Folder / Subdirectory is empty.

Nota: I have a in the OS X entry (in second place).

What happens ?

Xojo 2015r1.

Apple’s guidelines says that only Mach-O executable files should be in the MacOS folder; you may find that a future version of your application cannot be code signed with non executables in this location. A lot of issues with code signing are Apple clamping down on people not following the guidelines.

Hi Sam,

I was not thinking at that.

The file copy inside the macOS application was not done on purpose thus the question.

Oh okay; sorry I misunderstood, select ‘resources’ instead of app parent.

Thank you Sam, that was it.

That said, Resources Folder in the macOS contents, for me, means…

my.appName.app:Contents:Resources

…apparently now only: the other copied file… already had that :wink:

It is sad to be old…

In ANY Xojo made Mac App “Resources” is always the Resources dir inside the bundle

That is why I do not selected it in the Post Build Strip destination… Boooo… :frowning: