保存快照后,我对情节提要进行了更改,现在我的代码编译时不会反映我的更改。我究竟做错了什么? [英] I've made changes to a storyboard after saving a snapshot, now my changes won't reflect when I compile my code. What am I doing wrong?

查看:75
本文介绍了保存快照后,我对情节提要进行了更改,现在我的代码编译时不会反映我的更改。我究竟做错了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个项目上使用xcode 4.2。我在创建项目时启用了本地git存储库,但没有使用快照。我决定进行不确定的更改,因此在更改代码之前先存储了快照。

I'm working with xcode 4.2 on a project. I enabled the local git repository on project creation, but hadn't been using snapshots. I decided to make a change that I wasn't sure I wanted to keep, so I stored a snapshot prior to making the code changes.

进行更改后,正在运行的应用程序在模拟器中似乎保持不变。故事板已更改,将某些组件替换为其他组件,而这些更改甚至没有反映出来。

After making the changes, the running application seems unchanged in the simulator. The storyboard has changed, replacing some components with others, and these changes aren't even reflected.

我尝试过多次提交项目,似乎每次都希望重新提交用户首选项文件,但是我无法让它提交情节提要更改。

I've tried committing the project several times, and it seems to like to recommit my user prefs file each time, however I can't get it to commit the storyboard changes.

有人遇到过吗?我错过了什么吗?

Has anyone encountered this? Am I missing something?

推荐答案

尝试一下对我有用。


  • 转到〜/ Library / Developer / Xcode / DerivedData并删除您的应用程序。 {appname串联{一些随机数}}

  • 重置您的模拟器

  • 清理并重建您的App

这篇关于保存快照后,我对情节提要进行了更改,现在我的代码编译时不会反映我的更改。我究竟做错了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆