I have an Mac Application, and when I launch it the first time, a file should be copied. Is there a way to do this?
I can do a "Build Phase" in Xcode that looks like this:
Type: Copy files
Destination: Absolute Path
Subpath: /Local/Targetfolder
But this does not seem to copy the desired file, when running the app. If possible I don't want to create an Installer for my Application.
Edit: I should note that my Application depends on the copied file (Yes, yes I know!). So I can't do this in Code because the App would crash otherwise.