Post

Replies

Boosts

Views

Activity

Implicit Import of Framework Bridging Header deprecation
Just updated to Xcode 8.3, Swift 3.1 today. I have a Swift framework I maintain and use— it's basically all Swift but I do need to use SQLite from within it. I accomplished this by adding a bridging header to the framework which contains only:#ifndef MyFramework_Bridging_Header_h #define MyFramework_Bridging_Header_h #import <sqlite3.h> #endif / MyFramework_Bridging_Header_h */This seemed to work fine. Now however, I am getting the following compiler warning on one of my "import MyFramework" directives:Implicit import of bridging header 'MyFramework-Bridging-Header.h' via module 'MyFramework' is deprecated and will be removed in a later version of Swift.What is the proper way to get rid of this? Is there some way to explicitly import the bridging header?Thanks!
5
1
11k
Mar ’17