• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Relative paths in Xcode scheme.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relative paths in Xcode scheme.


  • Subject: Relative paths in Xcode scheme.
  • From: Motti Shneor <email@hidden>
  • Date: Tue, 01 Mar 2016 13:51:57 +0200

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.

Here’s the link: http://lists.apple.com/archives/xcode-users/2014/Jul/msg00284.html

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.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Relative paths in Xcode scheme.
      • From: Jens Alfke <email@hidden>
  • Next by Date: Bundle build setting that renames or compresses storyboards, xibs and nibs
  • Next by thread: Re: Relative paths in Xcode scheme.
  • Index(es):
    • Date
    • Thread