title: How Can I Configure A Swift Playground File With a PList?
body: <p>Although Swift playgrounds seems to have support for CoreMotion (gyrometer, accelerometer, and magnetometer alll work), deviceMotion from CoreMotion doesn't seem to be built in. I have run the code as an app and it works perfectly, so I know the device I am using (2018 Wi-Fi Only iPad) has the necessary hardware. From my understanding this can be enabled with a PList in Swift playgrounds. What I want to do is add deviceMotion to a PList file (I copied and pasted a Manifest.plist file from a playground book into the playground package), and have the PList file used so that deviceMotion can work on an iPad.</p>
  
  <p>I have already looked at this question:
  <a href="https://stackoverflow.com/questions/41074149/read-plist-in-swift-3-playground">Read plist in swift 3 playground</a>
  , as well as a few others, but they don't really seem to answer what I specifically want to do.</p>
  
  <pre><code>@objc func update()
  {
      if let deviceMotion = motionManager.deviceMotion {
          print("Device Motion Yaw: \(deviceMotion.attitude.yaw)")
      }
  }
  </code></pre>
  
  <p>As I stated before, I ran the same code in an app and it works perfectly, but when I run it in a playground nothing happens.</p>