Xcode
Treat Warnings as Errors
It’s good to keep things clean from the start, whether you are running a simple test, writing a large scale enterprise app or building anything in between. With that in mind, I highly recommend you always configure project settings so the compiler treats warnings as errors – in other words, a warning will result in [...]
Creating .ipa File for Ad Hoc Distribution in Xcode 4
If you’ve ever tried to provide an Ad Hoc build to a tester using a Windows machine, you know the frustration involved with sending a .app file. Reason being, this file type is an “application bundle” which is a conglomeration of files and directories packaged as a single file. Windows doesn’t know how to deal [...]
Rename Project in Xcode 4
I previously wrote about Renaming Xcode Projects, however, things are a little different with Xcode 4. In Xcode 4 to rename a project click once on the project name in the Project navigator and enter the new name:
Xcode 4 : Show Invisibles to Find Tabs and Spaces
Every now and again I experience some rather odd code formatting behavior when I copy/paste from Xcode into another editor, an email or this blog. I’m never quite sure just where the weirdness originates, most likely an errant tab that was inadvertently introduced somewhere on the way. For example, this screenshot from Xcode looks rather [...]
Xcode 4 : Related Files List
With Xcode 4 you can quickly access an assortment of files related to your project through the Related Files option in the Jump Bar. The screenshot below shows the related files based on the file that is open in the editor pane – the red box in the upper left highlights the icon to open [...]
Xcode 4 : Jump Bar Tips and Tricks
The Jump Bar is the navigation area at the top of the source editor pane, which is highlighted in red in the figure below:
Xcode 4 : Select and Edit All Variables in Scope
Xcode offers a nice way to highlight all references of a variable within the current scope. First, make sure you have the setting shown below enabled within the Text Editing tab in the Xcode Preferences:
XCode 4 : Project Modernization
When opening projects that were created in an earlier version of Xcode, you can update (modernize) project files to ensure projects are stored with the latest Xcode file formats and are in line with the most current features in Xcode. To update a project (if Xcode does not notify you when opening a project): – [...]
Xcode 4 : Fonts and Color Themes
Xcode includes a nice assortment of built-in themes that manage fonts and color selections. To view the available themes: > Xcode – Preferences > Select Fonts and Colors tab (across the top) > Select a theme on the left menu Below are screenshots of the Default, Sunset and Midnight themes. There is also a Presentation [...]


