alexw Posts

January 11, 2010 / / iPhone
Debugging on device. Freaking finally.
Debugging on device. Freaking finally.

UPDATE: There’s a new method for iOS4 but they’re pretty similar anyway.

So it’s been a while, but now that I’m on break again and have some time, I’m doing a bit of iPhone development again. That means I’m going to need to debug on-device (or at least load my app to it to have fun in the real world with my handiwork). This time, the procedure’s a little different though.

Vital stats:
iPhone OS 3.1.2
Xcode version 3.2.1, 64 bit
Mac OSX 10.6.2 Snow Leopard

Let’s do it.

UPDATE: Corrected a problem with the run script build phase: corrected the directory names for the new version and copied the new phase that doesn’t include “resource_rules.plist.”

UPDATE 2: Somehow I forgot the add an identity step. It’s now #1 below. Sorry guys. Also, while this whole thing should apply to iPhoneOS 4, I’m going to officially text it/repost with 4.01 soon.

October 15, 2009 / / General Rambling
August 7, 2009 / / Uncategorized
ARG! It's stuck!
ARG! It’s stuck!

So maybe this is the dumbest, easiest thing in the world and I’m the only one who didn’t know, but when I upgraded to the iPhone OS 3.0 SDK, I couldn’t for the life of me get the simulator to launch in ACTUAL OS 3.0 mode. You can change the version on the fly with the Hardware>Version menu, but every time I reran my app from Xcode, it’d revert back to 2.2.1. This finally became a problem when I needed to test an app with features unique to 3.0. Luckily, the fix isn’t all that hard.

August 3, 2009 / / Gluten Free
July 28, 2009 / / Gluten Free
July 21, 2009 / / General Rambling
Heavily redacted, mostly just because I like the Gaussian Blur filter.
Heavily redacted, mostly just because I like the Gaussian Blur filter.

No, I don’t actually plan to write a Gmail/Google Voice productivity tip every day. However, today I just happen to have one. Parts of this actually came from a good friend, @jamesconnors (his site).  He told me his system for inbox management: he has his inbox, a “follow up” folder, an I believe another folder for stuff he just wants to keep around. Anything in his inbox that he can’t quickly respond to in a minute or two when he sees it, he puts in his follow up folder. Every so often, maybe once every day or two, he goes through his follow up folder and takes care of everything he can. 

July 18, 2009 / / Electronics
Yay bench power!
Yay bench power!

WARNING WARNING WARNING! Switching power supplies have many BACs (beefy-ass capacitors) that can hold lots of juice long after you’ve unplugged the unit. Do not crack one open like I did without knowing what you’re doing, it could seriously injure you or at least be really uncomfortable when you shock the crud out of yourself. I’m not responsible if you do just that, don’t say I didn’t warn you. I have a cable I made with a brush at the end that grounds everything it touches, I use it to brush the back of all power electronics before I work on them. You should too.

This is a pretty common one, but I like to add flair. I needed a bench power supply. Sadly, bench power supplies are very expensive, and I’m a poor college student. What I do have are computers. Lots of computers. In fact, I just brought to the recyclers about 100lbs of computer waste from machines that are too slow for even my standards. Luckily, one thing computers have going for them is very refined, VERY powerful power supplies.