• 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
Is there a way to Specify the exact executable build directory in Xcode 2.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there a way to Specify the exact executable build directory in Xcode 2.1


  • Subject: Is there a way to Specify the exact executable build directory in Xcode 2.1
  • From: "E. Wing" <email@hidden>
  • Date: Tue, 5 Jul 2005 12:01:00 -0700

I have a problem with the new way Xcode 2.1 places built products.
Xcode now places the built products under a subdirectory of its build
configuration name, e.g. Development, Deployment.

I agree this is actually a good thing in general and an improvement,
but I have a program that absolutely *must* have it's resource files
in a directory at or under the executable. Setting a working directory
path or symbolic links will not work (you might call it a kind of a
security feature of the program). The resources are big and sometimes
shared via network mounts with other computers so I don't want to copy
in the resources every time I build.

In previous versions of Xcode, I would use the "Place Build Products
in:" from the Project's Info inspector option to my directory like
/SomePlace/ProjectResources. The resources would already be here and
Xcode would simply place the built copy there.

But with Xcode 2.1, the option is placing the executable in a subdirectory:
/SomePlace/ProjectResources/Development

This is making it impossible for me to run my program from Xcode
because it can't find the resources. I don't think adding a shell
script phase to copy the built product will help me much because I
want to launch from Xcode so I can easily specify command line
switches (for debugging) and also launch the program under the Xcode
debugger directly. As far as I know, Xcode won't launch my copied
version, only the version it builds which is in the wrong directory.

Is there a way I can set/override Xcode to not place the built product
in a subdirectory of the build configuration name?

Thanks,
Eric
 _______________________________________________
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: Is there a way to Specify the exact executable build directory in Xcode 2.1
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: Documentation frustrations
  • Next by Date: Re: Header search path with XCode 2.1
  • Previous by thread: Re: long time saving documents in Xcode 2.1
  • Next by thread: Re: Is there a way to Specify the exact executable build directory in Xcode 2.1
  • Index(es):
    • Date
    • Thread