• 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
Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Fwd: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings) (From: Jim Fridlund <email@hidden>)
 >Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings) (From: Jim Fridlund <email@hidden>)
 >Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings) (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
  • Next by Date: How to add items with actions to the main menu
  • Previous by thread: Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
  • Next by thread: Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
  • Index(es):
    • Date
    • Thread