Reputation: 1642
This is driving me nuts.
My app was running normally and then I don't know what I did but any changes I now make in the storyboard/
IB/
Xibs
etc are not updating when I run the app either on real device or simulator. For instance, I changed the textColor
of UILabel
but when I run the app, the old color still shows both on device or simulator. I am using Xcode Version 7.3.1.
Please help. Thanks
Upvotes: 8
Views: 7447
Reputation: 35
for me stopping the running scheme and then again pressing the start the running scheme solved the problem
Upvotes: 0
Reputation: 787
This solution had worked for me:
Just delete that storyboard in which changes are not reflecting and take new storyboard instead it will start reflecting changes.
Upvotes: 5
Reputation: 47
Try removing all constraints from the changes you made and then reapply them. That is what worked for me.
Upvotes: 0
Reputation: 11
When my Main.storyboard was not saving (its file icon remained grey after clean+build), I found that running git add -u
and git commit -m "//your comment"
in my terminal would change the Main.storyboard file icon to yellow again (not grey)
Upvotes: 0
Reputation: 181
Hopefully to save someone some frustration, I had this same problem and figured out that I must have accidentally hit Command+d while trying to copy something and duplicated the scene. The duplicate was laid perfectly over the original so I couldn't tell I was editing the duplicate instead of the actual scene linked to my navigation controller. I was so focused on the problem I didn't notice the new warning for an unreachable scene in my storyboard.
Upvotes: 5
Reputation: 532
When you have the simulator open.
(nb: when using device to run app, I would delete it from app as well)
Then Go back to Xcode
I've tried to simulate the issue you're having but unable to, however, when I have any issues on running my apps, the above seems to work.
[ Sometimes Xcode can be a bit slow, so I tend to wait a few seconds to confirm it / Xcode has actioned it, as I sometimes used the keyboard too fast for it to keep up.]
Hope this helps!
Upvotes: 5