Search code examples
iosswiftcontiguous

ContiguousArrayStorage does not implement methodSignatureForSelector


I get this warning:

*** NSForwarding: warning: object 0x3560018 of class '_TtCSs23_ContiguousArrayStorage0000000017DB45E4' does not implement methodSignatureForSelector: -- trouble ahead

Followed by an error

[SwiftObject doesNotRecognizeSelector:]

On line 2 of the following code:

let vcs = [feedTab, channelsTab, signinTab, historyTab, moreTab]
tabBarController.setViewControllers(vcs, animated: true)

Where each of the tabs is an instance of UINavigationController. This only happens on my device, not on the simulator. Any ideas?


Solution

  • The error was being caused by one of the dynamically linked libraries for Google Analytics. I had unlinked them and disabled GA, but the error didn't go away until I did a clean before rebuild.