react-native-swift-socketio icon indicating copy to clipboard operation
react-native-swift-socketio copied to clipboard

Objective-C Bridging Header not found

Open vinceprofeta opened this issue 8 years ago • 2 comments

cannot find Objective-C Bridging Header after code has been added

vinceprofeta avatar Jun 21 '16 13:06 vinceprofeta

try this,you need create a swift file. and then you can find it .

This gives you a step by step. Just follow steps 4 and 5 http://www.learnswiftonline.com/getting-started/adding-swift-bridging-header/

Navigate to your project build settings and find the “Swift Compiler – Code Generation” section. You may find it faster to type in “Swift Compiler” into the search box to narrow down the results. Note: If you don’t have a “Swift Compiler – Code Generation” section, this means you probably don’t have any Swift classes added to your project yet. Add a Swift file, then try again. Next to “Objective-C Bridging Header” you will need to add the name/path of your header file. If your file resides in your project’s root folder simply put the name of the header file there. Examples: “ProjectName/ProjectName-Bridging-Header.h” or simply “ProjectName-Bridging-Header.h”.

look this ~ https://github.com/gcrabtree/react-native-socketio/issues/4

GabrielchenCN avatar Aug 08 '16 15:08 GabrielchenCN

Someone on Stackoverflow had the exact same issue and managed to fix it.

http://stackoverflow.com/questions/38071929/objective-c-bridging-header-section-not-found

ciriac avatar Nov 16 '16 15:11 ciriac