简体   繁体   中英

Bridging file on Swift framework

I'm creating a Swift framework and I need to use SQLite, when I create a bridging file the compiler gives me the following error: using bridging headers with framework targets is unsupported , however I found this project ( https://github.com/stephencelis/SQLite.swift ) which includes a bridging file. How has he done it?

You cannot use a bridging file within a framework. The solution is to use a map file. See this answer https://stackoverflow.com/a/25422889/4365754

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