I am now getting this error, that did not appear before, when I open my project with Xcode 5.1.
Two views in the same hierarchy have the same restoration identifier
I tried to change the ids but it's not removing the error. I also tried cleaning my build and deleting my derived data.
I had the same problem, and I fixed it by deleting the restoration IDs.
For reference in case anyone else has this problem, select the error to find out which view on the storyboard is causing the problem. Once the view is selected (for me, it was four reusable cells in a UITableView) select the Identity Inspector. It's the third button from the left on the Utilities panel. Delete the restoration ID in the Identity section.
For me, the four cells in the table view had the word "item" in them. I couldn't find any other cells on my storyboard that had a restoration ID. After deleting the text, the error disappeared and everything worked for me.
I also tried changing the IDs to unique values and that removed the error as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With