Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
- Subject: Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
- From: Jim Fridlund <email@hidden>
- Date: Mon, 21 Jul 2008 21:50:40 -0700
Hey Chris. Thanks for the tip. Will look into it. -- Jim On Jul 21, 2008, at 9:31 PM, Chris Espinosa wrote:
When you invoke Xcode from a login shell, you inherit that login shell's environment variables that you set in the .rc file for that shell in your home directory.
When you launch an app with Launch Services (e.g. Dock or Finder), you don't use a shell, therefore no shell commands are executed, therefore no environment veriables are set.
If you need to have environment variables set in order for a Launch Services-launched app to work correctly, you need to set the .MacOSX/environment.plist to contain the correct environment variables settings, like you did with your shell .rc file.
Chris
|
_______________________________________________
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