I am getting the following error:

> 
> error: The operation couldn’t be completed. (NSURLErrorDomain error
>  -1012.)
> 
> 
> 

This error appears in the console when I press the 'Log in with Twitter' button, which is created like so (exactly as it appears in the app):

```
    TWTRLogInButton* logInButton = [TWTRLogInButton buttonWithLogInCompletion:^(TWTRSession* session, NSError* error) {
        if (session) {

            NSLog(@"signed in as %@", [session userName]);

        } else {
            NSLog(@"error: %@", [error localizedDescription]);
        }
    }];

```

I don't see the NSLog for the error or 'signed in as %@'.

The error occurs when running the app on the iPhone 6S running iOS 9.1.

Fabric is up to date, version 1.12.0. However I have the following warnings:

> 
> Umbrella header for module 'TwitterKit' does not include header
>  'TWTRDefines.h'
> 
> 
> Umbrella header for module 'TwitterKit' does not include header
>  'TWTRSession.h'
> 
> 
> 

I am unsure if they are causing the problem - but skeptical as it runs on simulator and other devices.

In developer settings on the phone I have set 'Allow HTTP Services' to ON and in my.plist file I have set the key Allow Arbitrary Keys to YES as this appeared to solve the problem before.

Any advice would be appreciated as I am truly lost.