LSEnvironment
LSEnvironment
- Subject: LSEnvironment
- From: Dieter Oberkofler <email@hidden>
- Date: Sun, 5 Nov 2006 18:22:10 +0100
I'm trying to set some environment variables in an Carbon application
bundle using the LSEnvironment key but the environment of the
application does not seem to change at all.
I checked the Apple documentation and it seems as if this should work.
Any help is appreciated.
Cheers,
Dieter
The dump of my Info.plist file looks like this:
---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Environment Debug</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.Environment</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Environment Debug</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSEnvironment</key>
<dict>
<key>MY_ENV_KEY</key>
<string>MY_ENV_VALUE</string>
</dict>
</dict>
</plist>
---
_______________________________________________
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