Archive for the ‘iPhone’ Category

New Mac == Certificate Headaches for iPhone Development

January 22, 2010 in iPhone | Comments (0)

If you’re doing any iPhone development, be ready for some headaches if you get a new machine. While the migration assistant does move all of your applications and settings over from your old machine, it doesn’t necessarily copy keychain items, and if you haven’t brought across your private key for your distribution certificate you’re going to be out of luck. Don’t miss these important bits from this Program Portal page:

Saving your Private Key and Transferring to other Systems

It is critical that you save your private key somewhere safe in the event that you need to develop on multiple computers or decide to reinstall your system OS. Without your private key, you will be unable to sign binaries in Xcode and test your application on any Apple device. When a CSR is generated, the Keychain Access application creates a private key on your login keychain. This private key is tied to your user account and cannot be reproduced if lost due to an OS reinstall. If you plan to do development and testing on multiple systems, you will need to import your private key onto all of the systems you’ll be doing work on.

  1. To export your private key and certificate for safe-keeping and for enabling development on multiple systems, open up the Keychain Access Application and select the ‘Keys’ category.
  2. Control-Click on the private key associated with your iPhone Development Certificate and click ‘Export Items’ in the menu. The private key is identified by the iPhone Developer: <first Name> <last Name> public certificate that is paired with it.
  3. Save your key in the Personal Information Exchange (.p12) file format.
  4. You will be prompted to create a password which is used when you attempt to import this key on another computer.
  5. You can now transfer this .p12 file between systems. Double-click on the .p12 to install it on a system. You will be prompted for the password you entered in Step 4.

Happily enough I had done all of this, but there was still a great deal of revoking, requesting, and installing of certificates and provisioning profiles before I finally got App Store builds of my application working on the new machine.


It’s time to pay Apple for the privilege of writing iPhone apps again…

January 21, 2010 in iPhone | Comments (0)

And I still haven’t submitted a single one. I’ve actually only written one, but I keep dragging my feet on submitting it. Perfectionism kicks in… it’s a simple app and doesn’t do much except help you walk through the Getting Things Done processing model for incoming stuff. With as many crappy apps as there are out there I don’t know why I hesitate to just shove this up there, ship something, but either way I pay Apple their $99 every year for the privilege. For some reason I thought I would make money off of iPhone apps, but so far only Apple has profited from my efforts.


iPhone Passcode and Slide to Unlock

June 28, 2009 in iPhone | Comments (0)

I just sent some feedback to Apple about iPhone OS 3.0. My company requires that I run with a passcode set on my phone, and as of version 3.0, Apple has removed the option to set the time interval on the passcode requirement. I used to be able to set it so it only bugged me for the passcode once every fifteen minutes or once every hour, but now I have to type it every single time I turn the phone on. The only passcode option you have is Require Immediately.

Okay. I don’t like it much, but I can live with having to type my passcode in every time. The thing is, the iPhone also presents you with the Slide to Unlock control when you power it on, so I always have to slide to unlock, then I always have to type in my passcode. Seriously, if I always have to type in my passcode, that ought to be enough. The Slide to Unlock bit is redundant and annoying.

If they’re worried that the Emergency Call button could get pressed accidentally then I would suggest that they put that under a slide control if the password is required. Otherwise the Slide to Unlock control should only present itself if you don’t have to enter the passcode.

UPDATE:

I found out that this is only happening on my phone because the Exchange server I connect with appears to be inflicting this limitation on me (a friend of mine who has a Passcode set but does not connect to a corporate server showed me that he still has other options than Require Immediately), so I have to take back at least a little of what I said, but not all of it.

Regardless of the Passcode requirement interval, if the phone is going to insist that you type you Passcode at this power-on, it should not require the Slide to Unlock.

ANOTHER UPDATE:

I was browsing this site to learn how to reset my iPhone 3GS and hopefully escape from the horrible battery life I’ve been experiencing. One of the happy side effects is that now I have the passcode timeout settings available again, so if you have upgraded to iPhone OS 3.0 I might recommend that you do the reset, too.


They know where you live

July 26, 2008 in iPhone | Comments (0)

Tags: , ,

It was odd… when I would hit the Maps icon on my iPhone from inside my house, the application would act like it was triangulating from cell towers (the blue circle would show up and waver, then zoom in), but it always homed in on my old address. We moved six or eight months ago. I had never actually had the iPhone in that house (we moved before I bought it). I thought maybe it was using the old address from my contact record, so I cleaned that out, but it didn’t make any difference (which makes sense… unless I had told the phone to use it, how would it know which one to use?).

So I went digging.

I finally ran across Skyhook. I’ll admit, I didn’t know that this thing was out there, but here’s what it is, in a nutshell:

Similar to Google Streetview, where they drive around with cameras installed on top of cars and take pictures of everything in site and tie them to map coordinates, Skyhook rolls around and collects information on wireless access points (using the MAC address) and hooks those to geographic coordinates. At some point in the past, the friendly Skyhook van rolled through my circle and geocoded my WAP. When my iPhone goes to see where I am, it sees that I’m connected to a wireless access point and uses the MAC address to ask Skyhook where I am. Last time they heard from it, that WAP was in another city, so it takes me to my old address.

So I used their form to submit an access point, which required my address, my MAC address, and an email address so that they can update their database. I have mixed feelings about how much they know about me now, but it’s all becoming so transparent today anyway… everyone knows a lot more about you than you would rather they did, or they can find out easily enough if the mood strikes them.

So, for good or for ill, Skyhook knows where my WAP is sitting now, and within a few days (hopefully) my iPhone will figure it out as well. Skyhook offers a plugin called Loki that will make your notebook computer able to locate itself based on the WAP it’s hitting as well, share that information with friends, etc. Attempting to install Loki didn’t work, though… Firefox 3 claims that the plugin does not provide secure updates, so it told me to take a walk.


iPhone Rollout Articles

July 14, 2008 in iPhone | Comments (0)

Tags:

My iPhone was bricked most of Friday (like everyone else’s) after Apple’s botched iPhone 3G rollout. I was surprised at how few articles about it hit my feeds on Friday, but now they’re starting to show up.

I can’t say it any better than Seth Godin did in this post about Scarcity.

Steve Wozniak purportedly cut in line to get his 3G iPhone.

Here’s one more from Wired Magazine.