title: Setting cachePolicy of a parse query crashes application
body: <p>I'm developing in Swift using the latest version of Parse from the website. I am attempting to set my cache policy to the NetworkElseCache value, which is displayed below:</p>
  
  <pre><code>let userRelation = User.currentUser()?.relationForKey("friends")
  let userQuery = userRelation!.query()
  userQuery.cachePolicy = .NetworkElseCache
  userQuery.findObjectsInBackgroundWithBlock {
      (users, error) -&gt; Void in
      print("Success")
  }
  </code></pre>
  
  <p>The error occurs on the line:</p>
  
  <pre><code>userQuery.cachePolicy = .NetworkElseCache
  </code></pre>
  
  <p>and if the line is removed, the application runs fine, the error produced is:</p>
  
  <pre><code>*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', 
  reason: 'Method not allowed when Pinning is enabled.'
  </code></pre>
  
  <p>I really don't have any idea what to do from here, I only started iOS development about a week ago using Parse and Swift, so I'm a bit on the lost side. I don't understand the callstack either, or how it will help me find my problem. </p>