Swift Bridging Header import issue

2019-01-03 23:21发布

Following instructions, I've created a bridging header and added to my project. Unfortunately, the following error occurred:

:0: error: could not import Objective-C header '---path--to---header/....h'

Screenshot 1

In build settings I added header search path string to the location of bridging header, but nothing helped.

Has anyone experienced this problem?

19条回答
三岁会撩人
2楼-- · 2019-01-04 00:04

Set Precompile Bridging Header to No fix the problem for me.

查看更多
登录 后发表回答