简体   繁体   中英

Swift Compiler Error - failed to import bridging header

I'm trying to integrate Actor App for iOS. On compiling, I get this error :

在此处输入图片说明

I checked the path and the ActorClient-Bridging-Header.h is present there.

I have set the proper path to the header file in Build Settings

在此处输入图片说明

And this is the folder structure :

在此处输入图片说明

What might be the reason for this compilation error?

EDIT I tried solving the same as mentioned here : Swift Bridging Header import issue and no luck.

Screenshot of the actual path on my disk : .h路径

Just go to your project's Framework Search Path,which I assume would be empty and add the path of your SDK folder there.
For adding the path correctly, you can just drag and drop your SDK folder here,the correct path from root will be added automatically.
Hope this will help!!

Bridging header file should be placed at root folder.

在此处输入图片说明

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