Hello.
I found in the mailing list archive a thread form July 2014, started by Charles Francoise, trying to setup the executable in an Xcode scheme as relative path instead of absolute path.
There were 2 or 3 followups, but unfortunately the mailing-list archive won't show them - only empty entries.
Can anyone shed a little light on this issue ? I really need to resolve this, although for another reason (not just for sharing the scheme).
My issue is this: I have a System Preference Panel (Code bundle) within which (near the binary) I place another executable - a daemon, usually launched by launchd, and which shares code and resources with its “host” bundle - the Preferences Panel.
Now I need means to debug it - to just “Run” it from Xcode scheme. But it can’t run directly from the “Build/Products/Debug” because it won’t find its “bundle” resources etc. I must run the binary from WITHIN the bundle built by another target.
So I try to modify the scheme which builds the preferences panel (that by dependency builds also the daemon, and copies it into its bundle), but to specify the executable BESIDE the normal one - i.e. my daemon binary.
So I must put some kind of relative path there. Also Xcode UI won’t even let me drill into the built Preferences Panel bundle.
Motti Shneor
Thanks for any idea or information. |