问题
Here I'm attaching a screenshot of created header file
I have created a new header file in xcode and named it as (projectname)-Bridging-Header.h. But I am not able to find the path and make it work. How to find the path of the file?
回答1:
First go to project build setting,
Then search Swift in in the search box
After that you will find a Objective C Bridging Header option in Swift Compiler Code Generation Area
Add the bridging header path for this Objective C Bridging Header Option
Path should be Given as
Also you can find below the screen shot for the reference.
来源:https://stackoverflow.com/questions/34627082/how-to-find-path-of-bridging-header-h-swift-xcode