Posted by loudtwitter on July 25, 2008 at 12:09 AM | Permalink | Comments (0) | TrackBack (0)
Posted by loudtwitter on July 24, 2008 at 12:08 AM | Permalink | Comments (0) | TrackBack (0)
Posted by loudtwitter on July 23, 2008 at 12:02 AM | Permalink | Comments (0) | TrackBack (0)

For the third time in 3 days, I've experienced my iPhone 3G locking up hard during or after syncing applications. The first time happened while I was syncing iPhone apps, the second time when downloading an new app while using the built in iTunes App Store on the phone, the third time while syncing an app that iTunes had downloaded an update for.
In each case,the iPhone reboots, and is locked up while displaying the while bootup Apple logo. This display will remain on until your battery runs out if you are not aware of it.
The only solution is force the iPhone into recovery mode and doing a factory reset using iTunes. You do this by plugging the iPhone into the USB port and launching iTunes, turning off the iPhone by holding both home and sleep/wake keys for 10+ seconds to turn off the phone, then let go of the sleep/wake key but continue holding down the home key until the recovery mode screen appears on the iPhone:

Then in iTunes you'll see the corresponding dialogue:

At this point if you continue the iPhone will be restored as if doing a factory reset, which can take 20+ minutes. Then iTunes will ask you if you wish to restore from a backup — unfortunately, almost every time I do this from a backup, iTunes will later report that the restore failed, so I'll have to start over with a factory reset and choose to start from scratch loose all my settings.
This is quite disturbing, and combined with syncing and backups taking so long when you have apps installed, means that I've decided to no longer loading apps on my iPhone 3G for a while, and instead using my old iPhone for playing with apps.
Hopefully Apple will have a 2.01 update with a fix for this soon.
Posted by ChristopherA on July 20, 2008 at 01:15 AM in iPhone | Permalink | Comments (2) | TrackBack (0)
Technorati Tags: app install, boot, factory reset, home, install, iphone, iphone app, iphone application, problems, recovery mode, sleep/wake, sync
Posted by loudtwitter on July 20, 2008 at 12:04 AM | Permalink | Comments (0) | TrackBack (0)
So after quite a bit of work and going through all the property details of my project file, I found the error. As I was suspicious might to true, it was a property that was set by some colleagues at the last iPhone Developer Meeting last week to make the Debug profile work, but the technique broke the Distribution profile. If you have a similar problem, just triple check that all the code signing in your project properties are clear or default — your Distribution profile properties must be only set in the target.
So my simple red:green iPhone app has now been submitted to the iPhone store, and hopefully will be reviewed by Apple and released soon. I'll let you know when it is available!
Posted by ChristopherA on July 19, 2008 at 01:43 PM in iPhone, iPhone Development | Permalink | Comments (3) | TrackBack (0)
Technorati Tags: app store, build, certificate, code sign, code signing, debug profile, distribution profile, green, iPhone, iPhone app, iPhone application, iTunes App Store, provisioning, submission, xcode
I spent most of the day prepping for iPhoneDevCamp 2 and being able to offer the ability to distribute free open source apps to the iTunes store from people who don't wish to use their iPhone Developer account for experimental or free software. I'm also hoping to be able to set up ad-hoc distribution, so that apps for the Hackathon Contest can be shared during the conference.
I decided to offer as my first iPhone application a very simple app called red:green inspired from an idea by Jerry Michalski. It is basically a native version of the red:green web app that I helped some participants with at last year's iPhoneDevCamp.
The application is very simple, it just displays a green screen for approval, and a red screen for dismay. The programming for it probably took an hour or so, and doing some simple polish of the about box and some little things added maybe two.
However, dealing with the code signing issues so that I could test it on the iPhone rather then Simulator, and today to send it to the iTunes App Store have been a nightmare. First at WWDC when I got approved for the iPhone Developer Program, I probably spent 6+ hours just trying to get code signing working for the Debug profile so that Xcode can load applications on my iPhone for testing. A number of Apple employees tried to help, but were unable to get it to work. Finally, another iPhone developer on the show floor was able to help me get it running.
However, several times since then the code signing setup has mysteriously broken, and I've need to reboot my iPhone and my Mac, or even reset up Xcode.
Some of the problem is the arcane, confusing, and poor documentation on how to code sign iPhone apps using Xcode, but most of it is the clunky setup of various keys, certificates, provisioning profiles, build properties, etc. that is required to get things to work. Of course, it is difficult to get help online or from fellow developers because the iPhone SDK is still under NDA (another sore subject.)
Today, after getting everything working with the latest SDK, testing on the simulator and on both the iPhone and iPod Touch, I spent maybe 3-4 hours setting up the Application and Support web pages for the red:green app, as well as all the graphics, text, and icons required for the iTunes App Store.
Then I had to through the whole code signing process again to get the Distribution profile working for the App Store with a whole new set of certificates and provisioning profiles.
Everything was working, and Xcode was reporting that it signed my red:green app without an error. I uploaded all my text and graphics to iTunes. I thought I was home free. However, when I got to the very last step for submission and used the iTunes Application Uploader, it reports "Application red-green.app failed codesign verification". I have no idea what is wrong, as everything seems to be set up right.
I've gone through all the docs again to make sure I didn't miss any trivial thing, but nothing obvious so far. But so many things have been done to my project file to get signing to work, especially since it was originally iPhone SDK Beta 7 that I first got it working for my Debug profile. So tonight before I go to bed I'm going to re-download the final iPhone SDK, delete my old SDK and do a install fresh. Then in the morning I'm going to rebuild my application from scratch using the latest iPhone SDK template, and copy my code by hand over to the new project. Then hopefully the default project settings for a brand new project from the final SDK will all work correctly for me to be able to sign and submit the app to the App Store by the weekend.
If I can't get that to work, I'll have to resort to using one my my precious ADC Support Incidents, which I hate to use on something that should be trivial.
So far, 1 hour coding, 2 hours polish, 1 hour testing, 4 hours for required text graphics & websites — all relatively fun and interesting. Add to that maybe another 10 frustrating hours dealing with code signing which still does not work.
Wish me luck.
Posted by ChristopherA on July 18, 2008 at 12:45 AM in iPhone, iPhone Development | Permalink | Comments (4) | TrackBack (1)
Posted by ChristopherA on July 17, 2008 at 11:59 PM | Permalink | Comments (0) | TrackBack (0)
Posted by loudtwitter on July 16, 2008 at 11:59 PM | Permalink | Comments (0) | TrackBack (0)
I've run out of iPhone home page slots for all of my App Store free apps and purchases, so it is is time to prune them down.
The following iPhone apps I removed from my iPhone today:
More will probably have to go tomorrow, but this is a start.
Posted by ChristopherA on July 16, 2008 at 11:38 PM in iPhone, iPhone App Reviews | Permalink | Comments (0) | TrackBack (0)
Technorati Tags: alarm free, App Store, blip solitaire, bluepulse, bubbles, evernote, hahaha, iPhone, iPhone app, remove, twittervision

Recent Comments