简体   繁体   中英

How to find path of Bridging-Header.h - Swift, Xcode

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,

  2. Then search Swift in in the search box

  3. After that you will find a Objective C Bridging Header option in Swift Compiler Code Generation Area

  4. Add the bridging header path for this Objective C Bridging Header Option

  5. Path should be Given as

Also you can find below the screen shot for the reference.

项目名称/项目名称桥接Header.h

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM