Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Method requires Pinning enabled.'*** First throw call stack:
- (
- 0 CoreFoundation 0x0000000106665c65 __exceptionPreprocess + 165
- 1 libobjc.A.dylib 0x00000001062febb7 objc_exception_throw + 45
- 2 CoreFoundation 0x0000000106665b9d +[NSException raise:format:] + 205
- 3 MigraineAlert 0x00000001053e5fad -[PFQuery fromPinWithName:] + 65
- 4 MigraineAlert
- //and so on..
- class AppDelegate: UIResponder, UIApplicationDelegate {
- var window: UIWindow?
- func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
- // Override point for customization after application launch.
- //-----------------Parse customizations------------------------------
- // Enable storing and querying data from Local Datastore.
- // Remove this line if you don't want to use Local Datastore features or want to use cachePolicy.
- Parse.enableLocalDatastore()
- // ****************************************************************************
- // Uncomment this line if you want to enable Crash Reporting
- // ParseCrashReporting.enable()
- //
- // Uncomment and fill in with your Parse credentials:
- //This one is for the MigraineAlert Parse App
- MyModel.registerSubclass()
- // This the main App
- Parse.setApplicationId("8iWXnvwyf6dgVwxJzTNo7rEtfWmcBPOpY48SgCR9", clientKey: "cy5PGk0f3oB0lh93mfVrfWDSXdzafKUhn5gfWhks")
- //This is the test app
- Parse.setApplicationId("cU11IZ0vyexp7tD23qYN3R0TH1FOQFupYbfhT1h0", clientKey: "Zvkk0MFbEWUqt34KpY2Gr8hLtCiOAAGmjL4YDnWR")
- //Note: Only one of the above should be enabled, not both
- //In this instance, I forgot to uncomment the first resulting in the error message.
- //and so on..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement