Frage

I have encountered quite a strange bug a few days ago. It turns out that any changes in Interface Builder don't affect actual design anymore when the app is being tested on the device.

Practically it means, that you can go as far, as completely remove all view controllers in Storyboard, but with no effect on the device — the application will look the same. No changes at all.

At the same time, IB still works normally if you run the app in the simulator. New projects also work fine, as well as my other existing apps. So the problem seems specific for this particular project and not easily reproducible.

If anyone has faced with a similar bug or knows its probable reason, please let me know. Any advice will be of great help. Thank you!

p.s. I have installed XCode 5.1 and upgraded my device (iPad 2) to iOS 7.1 just a day or two days before the problem initially occurred. An upgrade might cause the bug, but I haven't seen similar complaints on the web yet.

p.p.s Unfortunately, I had no chance to test this bug on iOS 6.x or <7.1 devices, but I will do it as soon, as I'll get access to one of these devices.

War es hilfreich?

Lösung

This is a bug in XCode. Any changes that wont reflect at runtime, not even doing a Clean Build or even removing the app from the simulator or device.

Fix: rename storyboard to the old name (MainStoryBoard) and suddenly all changes were reflected.

see here

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top