Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Method requires Pinning enabled.'*** First throw call stack:
  2. (
  3. 0 CoreFoundation 0x0000000106665c65 __exceptionPreprocess + 165
  4. 1 libobjc.A.dylib 0x00000001062febb7 objc_exception_throw + 45
  5. 2 CoreFoundation 0x0000000106665b9d +[NSException raise:format:] + 205
  6. 3 MigraineAlert 0x00000001053e5fad -[PFQuery fromPinWithName:] + 65
  7. 4 MigraineAlert
  8.  
  9. //and so on..
  10.  
  11. class AppDelegate: UIResponder, UIApplicationDelegate {
  12.  
  13. var window: UIWindow?
  14.  
  15. func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
  16.  
  17.  
  18. // Override point for customization after application launch.
  19. //-----------------Parse customizations------------------------------
  20.  
  21.  
  22. // Enable storing and querying data from Local Datastore.
  23. // Remove this line if you don't want to use Local Datastore features or want to use cachePolicy.
  24. Parse.enableLocalDatastore()
  25.  
  26. // ****************************************************************************
  27. // Uncomment this line if you want to enable Crash Reporting
  28. // ParseCrashReporting.enable()
  29. //
  30. // Uncomment and fill in with your Parse credentials:
  31.  
  32. //This one is for the MigraineAlert Parse App
  33.  
  34. MyModel.registerSubclass()
  35.  
  36.  
  37. // This the main App
  38. Parse.setApplicationId("8iWXnvwyf6dgVwxJzTNo7rEtfWmcBPOpY48SgCR9", clientKey: "cy5PGk0f3oB0lh93mfVrfWDSXdzafKUhn5gfWhks")
  39.  
  40. //This is the test app
  41. Parse.setApplicationId("cU11IZ0vyexp7tD23qYN3R0TH1FOQFupYbfhT1h0", clientKey: "Zvkk0MFbEWUqt34KpY2Gr8hLtCiOAAGmjL4YDnWR")
  42.  
  43. //Note: Only one of the above should be enabled, not both
  44. //In this instance, I forgot to uncomment the first resulting in the error message.
  45.  
  46.  
  47. //and so on..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement