PDA

View Full Version : Slow deploy times




ThaBunny
Aug 2, 2008, 10:41 AM
Is it normal for it to take up to 1-2 minutes to deploy an app to the iphone? The compilation time is almost nothing, but the "installing APPNAME.app to iphone..." step seems to take forever, and it's really slowing me down.

I do console development as my day job, and I'm used to waiting 10 seconds or so for an app to deploy, but this seems excessive.

Perhaps I'm doing something wrong. Any ideas?



GregInAZ
Aug 2, 2008, 10:48 AM
It takes about a minute to deploy to mine as well. But I notice that when downloading apps from the App Store from my phone it takes just long, sometimes even longer to do the "installing" part of it.

CarlosH
Aug 2, 2008, 12:01 PM
Is it normal for it to take up to 1-2 minutes to deploy an app to the iphone? The compilation time is almost nothing, but the "installing APPNAME.app to iphone..." step seems to take forever, and it's really slowing me down.

I do console development as my day job, and I'm used to waiting 10 seconds or so for an app to deploy, but this seems excessive.

Perhaps I'm doing something wrong. Any ideas?

I have experienced the same thing. It is the "generating application map" that takes so long. haven't try it, but I guess if you only have the pre-installed applications, it will be a lot faster. I have a lot of apps installed, maybe that is why it takes so long.

firewood
Aug 2, 2008, 02:41 PM
The time to generate the application map depends on how much you have loaded on your device. Use a near empty device (no other apps, media or sync data) for the fastest testing turnaround. Buy another one if you've filled up your iPhone.

ThaBunny
Aug 2, 2008, 04:37 PM
Wow that's pretty shocking. I hope they fix it in a future firmware upgrade. Thanks for the advice though, I might try removing some apps and see if it helps. Failing that, I guess I'll just have to rely on the simulator. It definitely makes me miss the 10 second deploy time with the unofficial toolchain.

white89gt
Aug 2, 2008, 06:12 PM
The time to generate the application map depends on how much you have loaded on your device. Use a near empty device (no other apps, media or sync data) for the fastest testing turnaround. Buy another one if you've filled up your iPhone.

That's not necessarily true. I'm using my iPhone, which happens to be an original model, and my build and go takes less than 20 second from beginning of compilation to the program launching on the device. I have all kinds of stuff on my phone, and I've never noticed a slowdown. I think that the deployment to the 3G iPhones is markedly slower than to the original. So, if you're using a 3G iPhone then that's probably what's causing the slowdown. One user on another forum I read stated that after he jailbroke his 3G that the deployment times for legitimate apps built with Xcode dropped drastically.

johnnybluejeans
Aug 3, 2008, 09:43 AM
Wow.. I would kill for 20 second build+install to my iPhone.

I would say it takes a total of about 4-5 minutes each time I want to build for my 3G. As such I use the simulator about 95% of the time and then build for the phone when I want to do some heavier native testing runs.

It definitely must have to do with the phone as others have said. My build time is equally slow on my iMac as it is with my MacBook.

Also, installing apps from the store is extremely slow with my phone, rendering it nearly useless if something is being installed. The other day I woke up and there were 7 updates for apps I had, I clicked "Install All Updates" and my phone crashed 3 times and it took over an hour to install the 7 updates.

tawpie
Aug 3, 2008, 11:24 PM
hmmm. My gen1 iPhone goes through the "installing xxx on iPhone" phase for a few minutes (never timed it) BUT on the touch I have for testing it's done in 20 seconds or less. Phone has 6 apps on it... touch has 1. Both are "pretty full" of other stuff as well as they double as normal everyday devices when not masquerading as SW test heros...

Consequently I do most of my "load and go" testing on the touch.

Would be nice if it was faster on the iPhone though.

ThaBunny
Aug 4, 2008, 08:38 AM
That's not necessarily true. I'm using my iPhone, which happens to be an original model, and my build and go takes less than 20 second from beginning of compilation to the program launching on the device. I have all kinds of stuff on my phone, and I've never noticed a slowdown. I think that the deployment to the 3G iPhones is markedly slower than to the original. So, if you're using a 3G iPhone then that's probably what's causing the slowdown. One user on another forum I read stated that after he jailbroke his 3G that the deployment times for legitimate apps built with Xcode dropped drastically.

Interesting... I was considering jailbreaking mine and just using ssh to copy the executable across to speed up the deploy. I wasn't sure that this would work with the official SDK though, so I was thinking I'd need a separate config for the open toolchain. Are you sure he was building against the official SDK? Failing that, I don't suppose you have a link to the post in question.?

maverick808
Aug 4, 2008, 03:37 PM
I'm seeing really slow deploys to my first gen iPhone here. The build is quick in Xcode, but deploying to the phone takes ages. If I deploy to the simulator it's almost instantaneous, but deploying to the actual phone results in a very slow deploy, with organizer saying "Generating Application Map" most of the time.

maverick808
Aug 4, 2008, 03:41 PM
Interesting... I was considering jailbreaking mine and just using ssh to copy the executable across to speed up the deploy. I wasn't sure that this would work with the official SDK though, so I was thinking I'd need a separate config for the open toolchain. Are you sure he was building against the official SDK? Failing that, I don't suppose you have a link to the post in question.?

If you jailbreak then yes, you can just ssh official sdk apps over and they work fine. Ridiculous that this method is faster than the official way though.

Garrett
Aug 4, 2008, 04:23 PM
It takes me 4 minutes :'( it's always "Maping Application"

kainjow
Aug 4, 2008, 08:30 PM
It's a problem for me too. Can anyone confirm if the 2.0.1 update fixes this?

Edit: no improvements here.

slycrel
Aug 4, 2008, 11:39 PM
Open the organizer, it will show you what it is doing when uploading the app. Mine is a minute or two as well (usually goes to sleep, so > a minute), most of the time is spent building the application map. If anyone finds a quicker fix without jailbreaking the phone posit it here please.

maverick808
Aug 5, 2008, 04:00 AM
I deleted nearly every app I had installed bar the original ones. Now Xcode deploys MUCH faster, so the deploy speed is affected by the number of apps you have installed, the more you have the slower it is. Very frustrating.

tawpie
Aug 5, 2008, 05:02 PM
confirmed... deleting other apps speeds up deployment time. With 8 appStore apps, 3:40. With 0, 1:18.