您的位置:首页 > 其它

提高xcode编译运行速度

2015-05-14 20:21 253 查看
1、The step is repeated when I stop the application and hit run again, even if no code or other changes have been done to the project. This is frustrating as I'm working on a large codebase and the step takes a long time, killing iteration times.

If anyone has any pointers for where to look to determine why this step is done on every run, it would be appreciated.

xcode
shareimprove
this question
edited Jun
29 '12 at 8:13




ThinkingStiff
25.3k1383187

asked Dec 10 '11 at 6:42





user1090937
100118

 
 
are you "building for testing" or "building for running" or archiving or? And in your scheme, in the "Test" section,
are you testing with the "Release" or "Distribution" version of the app or the "Debug" version of the app? –  Michael
Dautermann Dec
10 '11 at 6:46 
 
I'm building for running, and I'm building and testing the "Debug" version of the app. I'm also running on an actual
device (not the simulator), if that makes a difference. –  user1090937 Dec
10 '11 at 6:54
 
Did you ever figure out if this can be turned off? –  Sam
Washburn Jan
16 '12 at 4:31
add
a comment
activeoldestvotes

up vote
down voteaccepted
In your project's Build Settings, under Build Options there's the Debug Information Format fields for debug and release - change the appropriate one from 'DWARF with dSYM file' to just 'DWARF'. This should cut your build times down, however it is removing the
file that contains debug symbol information about the build.

shareimprove
this answer
answered May 27 '12 at 1:07





fundead
7491813

 add
a comment





up vote2down
vote
I noticed you can launch your app yourself and attach the debugger. This skips that step. My project isn't large enough for this dSYM step to take longer than 2 seconds yet (but I've already noticed it go up to this 2 second mark now that I am linking in a
sizable static library).

Furthermore, here on Xcode 4.6.3, I see an option to run without building. In my limited testing it appears to skip all build-related steps.



shareimprove
this answer
answered Sep 2 '13 at 4:53




Steven Lu
9,9021470

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: