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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org

This email sent to [EMAIL PROTECTED]


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to