My XCode project has two targets, a main SwiftUI application, and a helper command line program written in C++. How do I include the helper program in my application bundle, and what would be the path to the helper executable? I want to do something like this in my application:
let process = Process()
process.executableURL = URL(fileURLWithPath: "/pathToHelper/helper")
try process.run()
What is "pathToHelper" and is it different when running from XCode and when running the installed application?