I get the following error:
Error: The operation could not be completed. (Error NSURLErrorDomain -1012.)
This error appears on the console when I click the "Sign in with Twitter" button, which is created in the same way (exactly as it appears in the application):
TWTRLogInButton* logInButton = [TWTRLogInButton buttonWithLogInCompletion:^(TWTRSession* session, NSError* error) { if (session) { NSLog(@"signed in as %@", [session userName]); } else { NSLog(@"error: %@", [error localizedDescription]); } }];
I do not see NSLog for error or "signed as% @".
Error starting application on iPhone 6S running iOS 9.1.
Cloth updated, version 1.12.0. However, I have the following warnings:
Umbrella header for TwitterKit module does not include 'TWTRDefines.h' header
Umbrella header for TwitterKit module does not include 'TWTRSession.h' header
I'm not sure if they cause a problem, but are skeptical of the simulator and other devices.
In the developer’s settings on the phone, I set “Allow HTTP services” to ON, and in the my.plist file I set the Allow Arbitrary Keys key to YES, as this turned out to resolve the problem earlier.
Any advice would be appreciated as I am truly lost.