保存运行后Xcode项目代码更改未更新100% [英] Xcode Project Code Changes Not Updating 100% After Save-Build-Run
问题描述
当我使用Xcode对我的iPhone游戏项目进行代码更改,然后执行CMD-B + Enter时,我希望该项目可以被保存,构建并在最新版本的模拟器上运行.不过,有时候发生的是,除非我清理项目然后进行构建,否则它不会做出我所做的小改动.
When I make code changes to my iPhone game project in Xcode, and then do CMD-B + Enter, I expect the project to be saved, build and run on the simulator with the latest. What is happening though, sometimes, is that it doesn't pick up a small change I make unless I clean the project and then build.
我是Java的老手,并且刚接触基于C的语言,并且它是编译器.有人可以向我解释在执行此操作的每个版本之后缓存了什么,以及如何更改我的项目设置以避免每次都要清理?还是告诉我这是C开发的一部分的坏消息?不试图打击它-我也经常在Java中将编译的JSP卡在工作缓存中. :P
I'm a long time Java person and newish to C-based languages and it's compiler. Can someone explain to me what is cached after each build that does this and how to change my project settings to avoid having to clean every time? Or tell me the bad news that this is part of C development? Not trying to bash it - I get compiled JSPs stuck in the working cache often in Java, too. :P
更新:这与我的构建的位置有关吗?从构建配置的角度来看,这是我唯一想到的更改.
UPDATE: Does this have to do with the location of my builds at all? That's the only thing I can think of that's changed from a build config perspective.
推荐答案
遇到类似的问题,我在iPhone模拟器中重置了内容和设置
Had a similar problem, I reset content and settings in the iPhone simulator
这篇关于保存运行后Xcode项目代码更改未更新100%的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!