Make sure you are using tabs and not spaces in Xcode