I stumbled across this in the documentation. I can't seem to get it to return anything for me.
In my Mac app Xcode project I added an executable to a copy files phase and set that phase Destination to "Executables". This seemed like the logical place to do it.
This did not get a url when calling Bundle.main.url(forAuxiliaryExecutable)
I want to pass this url to Process.executableURL
I am able to generate the apropriate URL by calling Bundle.main.bundleURL then .appendPathComponent("Contents/MacOS/excutable") but am just curious about this forAuxiliaryExecutable
Am I misunderstanding what this would be for?
In my Mac app Xcode project I added an executable to a copy files phase and set that phase Destination to "Executables". This seemed like the logical place to do it.
This did not get a url when calling Bundle.main.url(forAuxiliaryExecutable)
I want to pass this url to Process.executableURL
I am able to generate the apropriate URL by calling Bundle.main.bundleURL then .appendPathComponent("Contents/MacOS/excutable") but am just curious about this forAuxiliaryExecutable
Am I misunderstanding what this would be for?