• 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: is LSEnvironment working with Leopard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is LSEnvironment working with Leopard?


  • Subject: Re: is LSEnvironment working with Leopard?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Tue, 26 Aug 2008 11:38:59 +0200

It' works on Leopard, but only as the documentation states:

“These environment variables are set only for applications launched through Launch Services. If you run your executable directly from the command line, these environment variables are not set.”

And unfortunately, Xcode does not uses Launch Services to launch applications. Try to launch your application from the Finder.



Le 26 août 08 à 10:47, Half Activist a écrit :

Hello everyone,

The subject sums it up: Is the LSEnvironment plist key still supported in Leopard?
I've been trying to set an environment variable this way with no luck.
I've read about the /var/db/.AllowDYLDEnvironmentVariables trick, and thought it might enable LSEnvironment, but didn't work either.
I know about ~/.MacOSX/environment.plist but didn't want to add a "global" environment variable.

Does anybody know if there are other possibilities?

Regards.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >is LSEnvironment working with Leopard? (From: Half Activist <email@hidden>)

  • Prev by Date: Re: CIRotatingCubeTransition
  • Next by Date: Re: Core Data Entity object
  • Previous by thread: is LSEnvironment working with Leopard?
  • Next by thread: [ANNOUNCE] SQLite Persisted Objects for Cocoa
  • Index(es):
    • Date
    • Thread