Post

Replies

Boosts

Views

Activity

Need help to resolve error "using bridging headers with framework targets is unsupported"
Hi, I have added swift file to existing framework project. In swift code I want to access sqlite3 data base.Now to import sqlite header file in swift I have followed below steps.1) Created Bridging header file and added into project target.2)Added import statement to header file "#import <sqlite3.h>"3) This header is marked as public in Build Phases4) Added header file name with path in "Objective-C Bridging Header" in project target build setting under "Swift Compiler - Code Generation"Now when I build project I get compilation error as<unknown>:0: error: using bridging headers with framework targets is unsupportedCommand /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1Does any one faced simiral kind of issue earlier?Any one aware about fixing this xcode compiler issue.Thanks in Advance.
5
1
26k
Jul ’15