Xcode 7 doesn't autocomplete if using bridging header

前端 未结 4 344
天涯浪人
天涯浪人 2020-12-25 09:21

So, the problem is that when I import anything in the Xcode 7 using Bridging Header Xcode doesn\'t autocomplete my code, no matter if I import given framework, header file i

相关标签:
4条回答
  • 2020-12-25 09:50

    The solution that worked for me is to make sure you put an individual path for each framework you include in your project as in the screenshot below.

    0 讨论(0)
  • 2020-12-25 09:52

    Obj c. Importing .h files into other .m files in the same project.

    For time being i am type casting as work around.

    0 讨论(0)
  • 2020-12-25 10:00

    The Facebook SDK frameworks weren't showing up in code completion for me. What finally worked was copying the framework files into the Project directory, though the Facebook official instructions recommend using references to the 'Documents' folder.

    I tried the solutions from Morgan and Van Du in adding specific directories to the framework search paths, and doing recursion, but no dice for me. Had to fully copy into project directory (running Xcode 7).

    0 讨论(0)
  • 2020-12-25 10:03

    after I have tried every solution at stackoverflow I remove all custom plugins – and this was it. Xcode -> Windows -> Package Manager (in my case it was something about hightailing strings)

    0 讨论(0)
提交回复
热议问题