1

When I drag the Twitter.xcodeproj into the workspace alongside Smashtag.xcodeproj, the Twitter.frameworkis red-flagged.

When I add

import Twitter

the compiler throws an error saying

Could not build objective-C module "Twitter"

I've seen the suggestions on the previous thread, but

  1. when I try to convert the Twitter.framework to Swift3 when it's open by itself, it says that it already is in Swift3,

or

  1. if I go to Edit -> Convert -> To Current Swift Syntax while in the workspace, the only option I get is the Smashtag.app

I'm certain that both Twitter.framework and Smashtag.app are in Swift3, yet the compiler throws an error saying that it can't build.

Any ideas what is going on?

PeskyPotato
  • 670
  • 8
  • 20
dinosaysrawr
  • 348
  • 2
  • 15
  • which version of Twitter Kit are you using? – Andy Piper Jul 13 '17 at 14:42
  • Nevermind, I figured out how to bypass the errors --> All I had to do was create a plank "twitter.h" file in the Twitter workspace, and all of the "could not build objective-c module" errors and compiled without issues – dinosaysrawr Jul 25 '17 at 05:01
  • Possible duplicate of [Could not build Objective-C module 'TwitterKit'](https://stackoverflow.com/questions/37841804/could-not-build-objective-c-module-twitterkit) – Vitya Shurapov Nov 15 '17 at 11:54

0 Answers0