Wednesday, February 4, 2009

XCode & Subversion

I'm back to full-time iPhone development, and I am determined to solve a problem I've been having with Subversion. Our project repo is up on projectlocker.com. I can access it fine via every mechanism (XCode Repository browser, Safari, svn command-line) EXCEPT from within the "Groups & Files" window. It always fails as follows:

Error: 170001 (Authorization failed) Description: PROPFIND request failed on ...
Error: 170001 (Authorization failed) Description: PROPFIND of ... : authorization failed (https://seed1.projectlocker.com)

Oh, this works fine for my partner.

Google has been no help. Nor have the ProjectLocker nor Apple Developer web-sites.

So, I created a new dummy repo, uploaded some dummy code, and ... it works.

Hmm. So it is something with the files in my project repo. Is some path hardcoded maybe? I did demote the code under a "trunk" path at some point..

Oh, I can't believe it.  In Project Info - General, there is an "SCM Repository" field.  It was set to my local file:// repository for some reason.  Probably because that's where I had done my original development.  Not sure why it didn't default to the repo from which it was checked out - Doh!

Anyway, it works now.  Yea!

Thursday, December 11, 2008

iPhone Tips

Check out these iPhone tips.  My tip: learn all 10 of them.

Saturday, September 27, 2008

What to do after you reflash your iPhone

Apple does a good job of keeping backups of your iPhone data, but they don't backup everything.  Here's a list of stuff you have to fix after you reflash your iPhone:
  • Passcode Lock: Settings - General - Auto-Lock, Passcode Lock
  • E-mail: If you leave mail on the server, your iPhone will forget which e-mails you have already read, so you'll have to read or delete them.  A couple of tricks:
    • Reduce the number of messages displayed in your inbox - Settings - Mail... - Show
    • In Mail, hit "Edit", then select a bunch of messages and delete them all at once
I'll keep adding to this list as I remember stuff.

Wednesday, September 24, 2008

Tonchidot - Amazing iPhone app

Seriously, Tonchidot is so amazing I can't believe it isn't a hoax.  

I can't figure out how they figure out orientation of the device - GPS can tell you where it is, but how does it know where it is pointing?  Image recognition?

Tuesday, September 23, 2008

GTD

I'm trying to get serious about planning using Getting Things Done (GTD).  I've tried Remember The Milk and Nozbe, both web-based apps.  I like them fairly well, but each has some limitation that drives me crazy.  So today I downloaded "Things" from Cultured Code.

Things is free (while in Beta) on the Mac, and $10 on the iPhone.  The two can be sync'd via wifi.  I haven't tried the iPhone version, but I really like the Mac version.  The UI just makes sense, and I like the way tags work.  We'll see how it does over time...

OK, that's enough time.  I REALLY like it.  Time to buy the iPhone version...

Easily installed, easily sync'd.  I like the way the sync works - very bluetooth-pairing-like.

For some reason the iPhone app is missing the "Areas" tab - maybe it isn't implemented yet.. yup... patience, patience...

Update 2008.09.23: Lovin' Things.  Again - UI "just makes sense".

Friday, August 8, 2008

iPhone OS 2.0.1

Downloading now - let's see what it fixes...

249MB download - but it went pretty fast.  rebooted, seems to be working...

...2 days later, and so far, so good, but I haven't noticed any noticeable performance or stability improvements.  Seems to work a little better with XCode.

Wednesday, August 6, 2008

Subversion Hosting

I've been looking at hosting my Subversion repository somewhere other than my Mac.  Here's why:
  • my partner gets updates as soon as I make them, rather than waiting for when I have time to deliver a memory stick
  • I get my partners updates the same way
  • we can keep non-Xcode code and documents under revision control, too
  • other tools, e.g. issue tracking and wiki
  • its effectively an off-site backup of our stuff
After a bunch of searching through hosting sites listed on the Subversion site, I chose ProjectLocker's $30/year plan.  Lots of sites have free or close-to-fee hosting, but I liked ProjectLocker's alerts (e-mail, rss and twitter), unlimited monthly data transfers, and disk space.  They also, as many sites do, provide Trac, and uploading of an existing repository.  Seems like a good choice for a small team.