开发者

Stop XCode from embedding build time in executables

开发者 https://www.devze.com 2023-03-29 09:10 出处:网络
XCode4 is putting build time in executables it creates. When I build the same code twice, binaries will differ by few bytes belonging to a unix timestmap.

XCode4 is putting build time in executables it creates. When I build the same code twice, binaries will differ by few bytes belonging to a unix timestmap.

Is there a way to prevent this from happening?

(I'm running expensive tests开发者_高级运维 and benchmarks after each build and cache results based on hash of executables, but ever-changing executables broke my cache and pollute benchmark results with duplicates).


I've worked around this by switching to building project myself "old skool" way with Makefiles & gcc.

0

精彩评论

暂无评论...
验证码 换一张
取 消