Failed to import bridging header

前端 未结 9 1676
逝去的感伤
逝去的感伤 2020-12-01 09:19

I\'ve read a lot of questions and answers that deal with a similar issue, but I have yet to find a solution. If anyone could shed some light, that would be wonderful.

9条回答
  •  生来不讨喜
    2020-12-01 09:54

    The answer is really very simple.

    Make sure you are adding your bridging header path in SWIFT_OBJC_BRIDGING_HEADER under the target section instead of the project section.

提交回复
热议问题