added custom key to info.plist, when I access from playground in Swift, it is nil
<p>Using Xcode 7.2 (on Yosemite), I can't seem to access  custom key from my info.plist from a playground:</p>

<pre><code>import UIKit
var str = "Hello, playground"
let app_id = NSBundle.mainBundle().infoDictionary?["MyAppID"] as? String
</code></pre>

<p>Using the above code, app_id is nil.  I expected it to be the String "TEST"</p>

<p>I included it in my info.plist like this:</p>

<p><a href="https://i.stack.imgur.com/jTOJt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jTOJt.png" alt="enter image description here"></a></p>

<p>Is there some limitation to playgrounds that I haven't read about?</p>

<p>If I print all of the keys, my custom key is missing:</p>

<pre><code>let dict = NSBundle.mainBundle().infoDictionary!
for k in dict.keys {
  print("\(k)")
}
</code></pre>

<p>prints the following:</p>

<pre><code>DTSDKName
CFBundleIdentifier
CFBundleSupportedPlatforms
CFBundleInfoDictionaryVersion
LSRequiresIPhoneOS
CFBundleNumericVersion
DTPlatformName
CFBundleShortVersionString
CFBundleVersion
UIViewControllerBasedStatusBarAppearance
UIRequiredDeviceCapabilities
UIStatusBarHidden
CFBundlePackageType
UIDeviceFamily
CFBundleExecutable
CFBundleInfoPlistURL
LSBackgroundOnly
CFBundleName
CFBundleDevelopmentRegion
</code></pre>

<p>If I look at the Bundle name, like this: </p>

<pre><code>let name = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleName") as? String
</code></pre>

<p>I see the name of my playground, not the name of the workspace.  Can I get at the info.plist for the project?</p>