Skip to content

Instantly share code, notes, and snippets.

@hayduke19us
Last active August 29, 2015 14:14
Show Gist options
  • Save hayduke19us/2e789c4de68667f14073 to your computer and use it in GitHub Desktop.
Save hayduke19us/2e789c4de68667f14073 to your computer and use it in GitHub Desktop.

Description

  1. Build is clean
  2. Version is up to date from remotes/origin/master
  3. Xcode is up to date
  4. Simulator run Compiles with no errors
  5. Login screen shows

The request is successful and recieves a 200 from the server. The login form leaves the page as expected and then it hangs on the loading animation.

I think the error is coming from and pertains to the success response.

Session.m

`NSDictionary *response = (NSDictionary *)responseObject;
 NSString *message = response[@"message"];
 BOOL success = [response[@"success"] boolValue];
 if (success) {
 	self.emailaddress = email;
 	self.token = response[@"token"];
	message = nil;
	[self saveToKeychain];
}`

System log

  • Marker - Jan 28, 2015, 8:51:49 AM

Jan 28 08:51:44 Admins-MacBook-Pro.local calaccessd[12486]: table drop: 101 Jan 28 08:52:09 Admins-MacBook-Pro.local lsd[12474]: LaunchServices: Currently 0 installed placeholders: ( ) Jan 28 08:52:19 Admins-MacBook-Pro.local mstreamd[12453]: (Note ) PS: Media stream daemon stopping. Jan 28 08:52:19 Admins-MacBook-Pro.local mstreamd[12453]: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x7ffb59601330>: Shared Streams daemon has shut down. Jan 28 08:52:19 Admins-MacBook-Pro.local mstreamd[12453]: (Warn ) mstreamd: mstreamd shutting down. Jan 28 08:53:36 Admins-MacBook-Pro.local Field Journal[12488]: -[__NSCFArray objectForKeyedSubscript:]: unrecognized selector sent to instance 0x7fe471e7b6b0 agreeJan 28 08:53:36 Admins-MacBook-Pro.local Field Journal[12488]:

*** Terminating

app due to uncaught exception

Error

'NSInvalidArgumentException', reason: '-[__NSCFArray objectForKeyedSubscript:]: unrecognized selector sent to instance 0x7fe471e7b6b0'

  • Marker - Jan 28, 2015, 8:53:59 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment