Tag Archives: xcode

Xcode 4.2 Doesn’t Show Exception Stack Trace in Console

When using Xcode 4.2 for iOS devel­op­ment there’s an annoy­ing bug where any excep­tions crash to the main.m file instead of high­light­ing the line. Luckily you can set a cus­tom break­point to restore the old and cor­rect beha­viour: Open the Breakpoint nav­ig­ator (CMD + 6) Click the + but­ton in the bot­tom left Select Add Exception Breakpoint  Click […]

Xcode Install Requires iTunes to be Closed

When installing or updat­ing Xcode you need to close iTunes for it to com­plete. If you’ve closed iTunes but still get this mes­sage: Open Activity Monitor and quit iTunes Helper. The install­a­tion will now fin­ish. This mainly seems to hap­pen on beta ver­sions of iTunes. The helper app runs to detect iOS devices being connected […]

Xcode 4: Unable to Select Project / Template Type

When open­ing a new iOS or tem­plate type in Xcode 4 (4.0.2) I was unable to select any of the pro­ject or file tem­plates, turn it out this occurred when tap­ping (not ‘click­ing’) on the items. Using a firm click­ing click or the arrow keys seems to work around this. Tapping just seems to deselect any­thing cur­rently selec­ted. What […]

Xcode iPhone / iPad Apps Screenshot Location

If you’re try­ing to find your iOS app screen­shots you’ve snapped in Xcode dur­ing your app devel­op­ment they’re loc­ated here: ~/Library/Application Support/Developer/Shared/Xcode/Screenshots Enjoy all your lovely iPad and iPhone app sn-apps..

iTunes could not back up the iPhone because the iPhone refused the request — iOS 4

Problem When run­ning iPhone OS 4 beta 1, syncing with iTunes doesn’t backup the iPhone caus­ing the error: Fix Install the iPhone SDK 4 beta with Xcode 3.2.3 (or later), which will update some files in iTunes and enable the backup to com­plete suc­cess­fully. An iTunes update is likely to be released soon to address this and other […]

Debugging on iPhone Requires App Deletion

Problem When run­ning & debug­ging an applic­a­tion on an iPhone / iPod using Xcode you get the error: “A signed resource has been added, mod­i­fied, or deleted.” With the applic­a­tion not being able to be redeployed until it is deleted from the device. Fix Simply turn off Passcode Lock on the device. Update: This might just […]