Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ThaBunny

macrumors newbie
Original poster
Aug 2, 2008
10
0
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

macrumors newbie
Aug 2, 2008
23
0
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

macrumors member
Apr 9, 2008
76
8
San Francisco, CA
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

macrumors G3
Jul 29, 2003
8,141
1,384
Silicon Valley
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

macrumors newbie
Original poster
Aug 2, 2008
10
0
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

macrumors regular
Jan 18, 2006
133
0
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

macrumors 6502
Jan 16, 2006
294
0
New York, NY
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

macrumors newbie
Jul 8, 2008
18
0
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

macrumors newbie
Original poster
Aug 2, 2008
10
0
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

macrumors 65816
Jun 30, 2004
1,145
156
Scotland
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

macrumors 65816
Jun 30, 2004
1,145
156
Scotland
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.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
It's a problem for me too. Can anyone confirm if the 2.0.1 update fixes this?

Edit: no improvements here.
 

slycrel

macrumors newbie
Jul 11, 2008
29
0
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

macrumors 65816
Jun 30, 2004
1,145
156
Scotland
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

macrumors newbie
Jul 8, 2008
18
0
confirmed... deleting other apps speeds up deployment time. With 8 appStore apps, 3:40. With 0, 1:18.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.