Does "LSEnvironment" work
Does "LSEnvironment" work
- Subject: Does "LSEnvironment" work
- From: "Dieter Oberkofler" <email@hidden>
- Date: Wed, 25 May 2005 20:29:51 +0200
I'm having
problem to set environment variables in the "Info.plist" configuration file
of my C++ application build with XCode. I have stored the
attached "Info.plist" file in the "Contents" folder of my application
bundle but the application does not seem to have find variable
"TEST_ENV_KEY" when using the stdc function getenv. Other environment variables
that are set in the ".MacOSX/environment.plist" configuration file of the user
can be retrieved properly by my application.
What am i
missing?
-Dieter
<?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>XVTSampleApplication</string>
<key>CFBundleIdentifier</key>
<string>com.apple.myCarbonApp</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSEnvironment</key>
<dict>
<key>TEST_ENV_KEY</key>
<string>TEST_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