Swift import statement failing

后端 未结 3 1994
抹茶落季
抹茶落季 2021-02-11 05:15

UPDATED with answer at bottom

I am using the TwitterKit framework as installed with Twitter\'s new Fabric platform. This code in ViewController.sw

3条回答
  •  耶瑟儿~
    2021-02-11 05:53

    I was facing the same problem. My project was swift based and there were no objective C code. I wanted to add 3rd party framework and on import facing same error "no such module". I solved it by adding a bridging-header file in swift and just import framework there. It works for me.

提交回复
热议问题