Xcode 4 with opening brace on new line

XCode 4 uses “code snippets” to do autocompletion, and ships with a built-in library of them: You can view the Code Snippet Library by clicking on the { } icon in the Library Pane, which is probably on the lower right-hand side of your main XCode window. All of XCode 4’s built-in code snippets put … Read more

How do I rename a project in Xcode 5?

Well, the answer is very very very Apple simple in Xcode 5! In the Project Navigator on the left side, click 2 x slowly and the Project file name will be editable. Type the new name. A sheet will appear with a warning and will list all the items Xcode 5 believes it should change. … Read more

Failed to create provisioning profile

Check the schemes menu at the top of the Xcode project window. Look at the destination you’re trying to run in. If you run in the simulator, you don’t need to sign your project. If you run in a device, you need to attach the actual device. It must not say “generic device”.