Hi. Debugging my app is slow. It takes 35 seconds from build, installing, and finally debugging the app. I have cocos2d, 0.8.1v, and OpenFeint 2.1v, I am just starting with my game, don't have much classes, objects, etc. Is there any optimization I have left out. I have thump compilation off. My app is 5.3 MB as of now.
Debugging in XCode 3.2
(7 posts) (4 voices)-
Posted 2 years ago #
-
r u debugging using the simulator or the device?
Posted 2 years ago # -
Device. iPhone 3G.
Posted 2 years ago # -
It takes a while to install the application on the device once it's finished building. 35 seconds sounds normal.
Posted 2 years ago # -
Ok. Thats cool, was just wondering. I have 3 more apps, and they take only 8 seconds to install, but they don't have this 2 frameworks installed.
Posted 2 years ago # -
Are you seeing that behavior only with your first time build or every time? OpenFeint has about 300-400 files included for compiling (maybe even more) and it usually takes time for first build, but after that those files aren't recompiled again. Also OpenFeint has about 3-4 MB of images that needs to be transferred to device on first run. After that all should be fast enough. I have apps with cocos2d, OpenFeint, AdMob, Adwhirl (before they were acquired by AdMob) and after first debug/run it only take a few seconds to build/run again with small code modifications. Of course if you Clean your project everything starts from beginning. And if you delete your app on the device, all the resources need to be transferred again...
Posted 2 years ago # -
Every build. I mean small changes. Like changing a position of a sprite, If I am just testing without changing any code, it runs quickly, since no installation is involved.
Posted 2 years ago #
Reply
You must log in to post.