‘Project Name’ was compiled with optimization – stepping may behave oddly; variables may not be available

Trying to step into AFNetworking code generates following warning: [Project Name] was compiled with optimization – stepping may behave oddly; variables may not be available. And of course I’m not able to debug the code. To be specific I’m trying to debug UIImageView+AFNetworking category which seems impossible. Changing the code has no effect (tried NSLog, … Read more

How to trap on UIViewAlertForUnsatisfiableConstraints?

I’m seeing an error appear in my debugger log: Will attempt to recover by breaking constraint <NSLayoutConstraint:0x191f0920 H:[MPKnockoutButton:0x17a876b0]-(34)-[MPDetailSlider:0x17a8bc50](LTR)> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful. How do I trap on that call? It does not … Read more

The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

I am facing the Problem when I have updated my Xcode to 7.0 or iOS 9.0. Somehow it started giving me the Titled error “The resource could not be loaded because the App Transport Security policy requires the use of a secure connection” Webservice Method: -(void)ServiceCall:(NSString*)ServiceName :(NSString *)DataString { NSURLSessionConfiguration *sessionConfiguration = [NSURLSessionConfiguration defaultSessionConfiguration]; [sessionConfiguration … Read more