Development

24 Nov 2010

If you just updated to Xcode 3.2.5 and iOS SDK 4.2, you might find that your existing projects do not compile. This probably doesn't surprise you as it's been the way for every SDK update as far back as the beginning of time (at least in the Jobsian calendar). Thankfully, with Xcode 3.2.5, you can set your base SDK once and for all and it should work for all future releases.

But first things, first, here's the error I received while trying to compile one of the early projects from my iOS SDK workshop: "error: there is no SDK with the name or path 'iphoneos4.1'"

(more...)

Fixing “Base SDK Missing” error with Xcode 3.2.5 and iOS SDK 4.2

How to fix the Base SDK Missing error after upgrading to Xcode 3.2.5 and iOS SDK 4.2.

8 Nov 2010

I was trying to install PhoneGap iOS on my new MacBook Air but got an error when I ran the PhoneGapLibInstaller.pkg installer. It was telling me that I didn't have Xcode installed when, in fact, I did. I just didn't have it installed in the default location (/Developer).

(Since I usually have several versions of Xcode on my machine at the same time, I've taken to installing them off the root in descriptive folders – e.g., Xcode3.2.4iOS4.1, etc.)

(more...)

PhoneGap iOS installer bug (and workaround)

The PhoneGap iOS installer won't work if you don't have Xcode installed in the default location. This post explains the issue and offers a temporary workaround.

8 Nov 2010

I will be teaching my 3-Day Introduction to iOS Development workshop this month, November 24-26, 2010, right after I return from giving the second day opening keynote and teaching a one-day iPhone workshop at Future of Web Design in New York. The venue is the beautiful Lighthouse Arts in central Brighton (UK).

This intensive course will give you a solid foundation in developing with the iOS SDK (for iPhone, iPad, and iPod Touch), Xcode (both 3 & and the upcoming 4), and Objective-C. To see a more detailed outline of the course and get all the juicy details, please see the course's web-site.

(more...)

Introduction to iOS Development workshop (iPhone/iPad), November 2010

I am teaching my iOS (iPhone/iPad) development course again this month in Brighton. Sign up today to take advantage of some cool special offers.

3 Nov 2010

Unable to sleep, I instead spent the last hour porting Feathers from XAuthTwitterEngine to MGTwitterEngine (see my previous post for background).

Here are a few notes to help you for when you decide to the same:

(more...)

Notes on Migrating from XAuthTwitterEngine to MGTwitterEngine

Some notes to help you migrate from XAuthTwitterEngine to MGTwitterEngine.

2 Nov 2010

MGTwitterEngineDemo UIIn March of this year, I created a Twitter library called XAuthTwitterEngine based on Matt Gemmell's awesome MGTwitterEngine library and the excellent work (and with the assistance) of a number of great developers (including Ben Gottlieb, Jon Crosby, Chris Kimpton, and Isaiah Carew, Steve Reynolds, and Norio Nomura). Back then, MGTwitterEngine didn't have oAuth/xAuth support and I built XAuthTwitterEngine as a stop-gap, with the intension of back-porting to MGTwitterEngine at some point.

Well, MGTwitterEngine has had excellent oAuth/xAuth for some time now and I finally got round to checking it out today only to realize just how much progress they've made. It's definitely time to deprecate XAuthTwitterEngine and start using MGTwitterEngine again (so I am back-porting Feathers to MGTwitterEngine at the moment).

(more...)

XAuthTwitterEngine deprecated, use MGTwitterEngine (& new MGTwitterEngine demo app released)

I just released a demo project showing you how to use MGTwitterEngine and I've also deprecated XAuthTwitterEngine as that stop-gap is no longer necessary.