简体   繁体   中英

Xcode building “old” code after a pull

I have a single view App. very basic not much going on right now besides networking code.

Earlier in the day I committed changes to the main view (added buttons, text fields, styling). I did this by copy+paste -ing from an old project. Everything worked as I expected.

Now, I am on a different machine and pulled the changes in. The App is building with the "old" view (just a single button). Why is it not showing the changes that I made, and were working, earlier?

EDIT: its not just the view that isnt updating. Its running all of the old code from my previous commit. Again, the problem is that I have all up to date files.

this is a Swift app, if it matters.

删除项目目录中的build文件夹解决了我的问题。

It sounds like your changes didn't get committed/pushed for some reason. Maybe the XIB/storyboard isn't under source control.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM