Renaming projects in Xcode 4

Well, it turned out to be a trivial matter indeed. All you need to do is click twice slowly on the project root in the project navigator and it then becomes editable. After you rename the project and press ‘enter’ it will suggest to automatically change all project-name-related entries and will allow you to de-select … Read more

Xcode 4 can’t locate public header files from static library dependency

Each of the solutions I’ve seen to this problem have either seemed inelegant (copying headers into the application’s project) or overly simplified to the point that they only work in trivial situations. The short answer Add the following path to your User Header Search Paths “$(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts” Why does this work? First, we need to understand … Read more

Xcode duplicate line

Go to this folder which contains dark side of the force: Xcode 4.2 or prior: /Developer/Library/PrivateFrameworks/IDEKit.framework/Resources Xcode 4.3 or later: /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources. Open IDETextKeyBindingSet.plist. Add a new dictionary and a new command item as the screenshot below (name them what you want): That’s: selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward: Restart Xcode and go to Preferences – … Read more

Compile, Build or Archive problems with Xcode 4 (and dependencies)

NB: The steps below will solve 90% of your Xcode archive issues however, from the comments it is suggested you try quitting Xcode first. This may save you hours of setting tweaking. Check the “user header paths” are correct (Add “” to paths for spaces, both in your project and dependencies) Set “Always search user … Read more