Hey Guys,
I am trying to figure out why this line of code works when i have my active executable set to 4.0, but not 3.2:
Code:
NSString *authString = [[[NSString stringWithFormat:@"%@:%@", username, password] dataUsingEncoding:NSUTF8StringEncoding] base64Encoding];
It crashes on 3.2 and the console has this error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSConcreteMutableData base64Encoding]: unrecognized selector sent to instance 0x4c28d20'