0
votes

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?

1
You should create bridging file using this link.Pls make sure your Objective-c File include in bridging class and Bridging file are set in your target. stackoverflow.com/questions/24002369/…. - Renish Dadhaniya
My case is in a framework not on a app - Hola Soy Edu Feliz Navidad

1 Answers

1
votes

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