Reputation: 6892
I have been using unwind segues in my project for a while without problem. I set them up the way it's supposed to be, and it's been working fine. Then suddenly today in Storyboard, I get this warning "The segue <> action is not defined". I checked my code and the unwind methods are still there in my view controller .m files. Nothing in my code has changed. I still have about 10 unwind segues defined in the .m files, but only 2 of them can be seen now in storyboard.
What is wrong?
Thanks!
Xcode 6.1.1 Objective-C
Upvotes: 2
Views: 717
Reputation: 1
The error I got was "The segue action [unwindAction] is not defined" This was resolved by removing the reference to the viewController.swift file in Xcode and adding it back.
Upvotes: 0
Reputation: 61
Fixed!
I'm not sure what combinations of these things did the trick, if any, but here's what I did:
1. closed Xcode
2. deleted everything under ~/Library/Developer/Xcode/DerivedData/
3. deleted ~/Library/Caches/com.apple.dt.Xcode
4. rebooted the Mac
5. started Xcode
6. opened my project
7. control-dragging to Exit now works
Upvotes: 1