Debugging app upload

I’ve had some recent troubles trying to upload a build in Xcode. These involved getting a really unhelpful error from Xcode: “No identities were available.” Unfortunately, I was stuck there for two days. It turns out that you can get Xcode to log more information on the handshake with the portal. Quit Xcode, then run […]

On Frameworks

A coworker sent me a link to this posting on the state of libraries on iOS. I sent back a quick reply, with the intent to write a blog post on the subject later. I’ve since decided that this replay says almost everything I wanted to say, so I decided to just edit it a […]

Restart Xcode now

If you’re a heavy user of Xcode, you’ve probably had it go sideways on you. Thankfully, the crashes that plagued previous versions are mostly gone. But in its place are some awkward debugger connection failures, long delays and such. Here’s how I created a shortcut key to relaunch Xcode. You may find Programmer’s KillSwitch more […]

Use a Build Phase to validate XML

My application includes some XML files that are used while running to map data from a web service. This has drastically simplified the code I needed to write to parse data from the web service, since I can describe how to decode all of the types of object the web service interacts with simply. If […]

I’ve changed my mind about Xcode snapshots

In the recent past, I’ve mocked Xcode’s snapshots. They were sluggish and not especially reliable. I’d like to say they were inefficient, too, but the truth is that they were so slow and so unreliable I never bothered to find out. Recent versions of Xcode have been a lot better. I’m not sure when archives […]

Xcode tip: Renaming files shared by projects

What if you want to rename a file that’s used in multiple Xcode projects? Well, previously I’d rename the file in one project, then open each project in series and correct broken references. But I discovered today that this is unnecessary. If you open all of your projects first, Xcode will fix the references across […]