Isha Balla
Isha Balla

Reputation: 763

How to bridge Objective-C in Xcode 7 beta 6 (7A192o) using swift 2.0?

I am trying to create a bridge header file in order to use certain objective c libraries. But I did not find the Objective-C Bridging Header option in the build settings in Xcode 7. enter image description here

enter image description here

Upvotes: 2

Views: 1039

Answers (2)

Paras Nath Chaudhary
Paras Nath Chaudhary

Reputation: 876

Based on your screenshot, instead of selecting "Basic", Select "All ", you should be able to see the Objective-C Bridging Header Setting. You can then set your_header_file.h as value. enter image description here

Upvotes: 2

mvien
mvien

Reputation: 237

"Objective-C Bridging Header" is under "Swift Compiler - Code Generation". Go to targets > Build Settings > and/or do a search for "Swift Compiler - Code Generation"

Upvotes: 0

Related Questions