Xcode Project file git merge conflict

A lot of websites simply suggest to use a .gitattributes file with: *.pbxproj merge=union We’re gonna try this approach before trying to use scripts. If we find any issues I’ll be sure to update this post. Also if anyone else has comments to this approach please include.

Xcode .m vs. .mm

.mm extension stands for Objective-C++, when compiler can process C++ classes. But when using .m extension it will be able to compile only C code, without C++ classes.

Xcode: Delete applications in Organizer/Archives?

In Xcode 4 you can delete an archived application manually. Right click on it, Show in Finder, remove it as any other folder. Xcode will detect the deletion and update the list of archived apps. Archives are just bundles with .xcarchive extension under ${HOME}/Library/Developer/Xcode/Archives. They are organized in folders by date (like 2011-11-11). You can … Read more

Restore/reset default Xcode font color scheme?

Creating a new scheme by pressing the [+] button in the bottom of the list allows you to create a new scheme from a selection of the un-modified templates. So to re-create the original Default scheme, you can just click the [+] button and select Default – it won’t copy the scheme you accidentally modified … Read more