lexical or preprocessor issue file not found occurs while archiving?

Few things to try, Ensure the Framework and all it’s headers are imported into your project properly. Also in your Build Settings set YES to Always search user paths, and make sure your User header paths are pointing to the Framework. Finally, Build->Clean and Restart Xcode. Hope this helps ! UPDATE: According to SDWebImage’s installation, … Read more

Can I disable autolayout for a specific subview at runtime?

I had the same problem. But I have resolved it. Yes, you can disable auto layout at runtime for a specific UIView, instead of disabling it for the whole xib or storyboard which is set by default in Xcode 4.3 and later. Set translatesAutoresizingMaskIntoConstraints to YES, before you set the frame of your subview: self.exampleView.translatesAutoresizingMaskIntoConstraints … Read more

How to create a .gitignore file

If you’re using Windows it will not let you create a file without a filename in Windows Explorer. It will give you the error “You must type a file name” if you try to rename a text file as .gitignore To get around this I used the following steps Create the text file gitignore.txt Open … Read more

“Thread 1: stopped at breakpoint” error when initializing an NSURL object

You’re stopped at a breakpoint. That’s a debugging tool, not an error. See the blue arrow/tab in the left margin, where the line numbers are? Drag that away and drop it anywhere (you’ll see a “poof”) to remove it, then run your project again. You can also deactivate all breakpoints by typing ⌘–Y, the key … Read more