Slow deploy times

Discussion in 'iPhone/iPad Programming' started by ThaBunny, Aug 2, 2008.

  1. macrumors newbie

    Joined:
    Aug 2, 2008
    #1
    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?
     
  2. macrumors newbie

    Joined:
    Aug 2, 2008
    #2
    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.
     
  3. macrumors member

    Joined:
    Apr 9, 2008
    #3
    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.
     
  4. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #4
    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.
     
  5. thread starter macrumors newbie

    Joined:
    Aug 2, 2008
    #5
    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.
     
  6. macrumors regular

    Joined:
    Jan 18, 2006
    #6
    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.
     
  7. macrumors 6502

    Joined:
    Jan 16, 2006
    Location:
    New York, NY
    #7
    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.
     
  8. macrumors newbie

    Joined:
    Jul 8, 2008
    #8
    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.
     
  9. thread starter macrumors newbie

    Joined:
    Aug 2, 2008
    #9
    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.?
     
  10. macrumors 65816

    maverick808

    Joined:
    Jun 30, 2004
    Location:
    Scotland
    #10
    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.
     
  11. macrumors 65816

    maverick808

    Joined:
    Jun 30, 2004
    Location:
    Scotland
    #11
    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.
     
  12. macrumors regular

    Joined:
    Apr 4, 2007
    #12
    It takes me 4 minutes :'( it's always "Maping Application"
     
  13. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #13
    It's a problem for me too. Can anyone confirm if the 2.0.1 update fixes this?

    Edit: no improvements here.
     
  14. macrumors newbie

    Joined:
    Jul 11, 2008
    #14
    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.
     
  15. macrumors 65816

    maverick808

    Joined:
    Jun 30, 2004
    Location:
    Scotland
    #15
    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.
     
  16. macrumors newbie

    Joined:
    Jul 8, 2008
    #16
    confirmed... deleting other apps speeds up deployment time. With 8 appStore apps, 3:40. With 0, 1:18.
     

Share This Page