• 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
Info.plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Info.plist


  • Subject: Info.plist
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 27 Jun 2005 11:41:27 +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?

Thank you

-Dieter

---start---
<?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>
---end---



_______________________________________________ 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
  • Follow-Ups:
    • Re: Info.plist
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: What ends up in the "Bundle Resources" group
  • Next by Date: Re: XCode 2.0: what happened to long long?
  • Previous by thread: Re: What ends up in the "Bundle Resources" group
  • Next by thread: Re: Info.plist
  • Index(es):
    • Date
    • Thread