0

I'm getting the following error when trying to integrate Twitter via the Fabric installation (cocoapods):

Value of type 'module<Twitter>' does not conform to expected element type 'AnyObject'

Error screenshot

Version of Xcode: 7.1 I imported the Twitter module, of course, cleaned the project and cleaned Derived Data as well.

Dani Pralea
  • 4,545
  • 2
  • 31
  • 49

1 Answers1

1

The fix was to import TwitterKit, and not import Twitter (as in Fabric's setup instructions)

The same issue is when installing Crashlytics. They are instructing to import Fabric and Crashlytics module, but not TwitterKit module, and at the same time they are initializing Fabric with Twitter as well.

Dani Pralea
  • 4,545
  • 2
  • 31
  • 49
  • Mike from Fabric and Crashlytics here. Can you let me know where you saw this sample code so that I can correct it? – Mike Bonnell Jan 04 '16 at 19:39