I have a fairly simple iOS application that was working in Objective-C, and which I've now rewritten in Swift, by rewriting each class and removing the old .m and .h files, and keeping the storyboard. However, it falls over immediately with the console message:

2015-12-24 10:43:40.664 AppName[10464:1086828] Unknown class SearchViewController in Interface Builder file.

After that, it crashes with an uncaught exception (which looks like it's related to the above):

2015-12-24 10:43:40.707 AppName[10464:1086828] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7b83a990> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key activityIndicator.'

Of course, there is an appropriate class called SearchViewController in the application, and it has an outlet activityIndicator, and it's set as the class for one scene. I've cleaned the build folder, but it still happens.

Any wisdom on how to proceed?

John
--
John Brownie, [email protected] or [email protected]
Summer Institute of Linguistics, Ukarumpa, Eastern Highlands Province, Papua New Guinea
Mussau-Emira language, Mussau Island, New Ireland Province, Papua New Guinea
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to