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?
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?
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.
© 2022 - 2024 — McMap. All rights reserved.