Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Objective-C Bridging Header section not found

I'm working on a React Native app and I'm trying to use a module called react-native-socketio.

In order to proceed with the app, I will need to bridge the objective C header in Xcode but the related section is missing.

According to the tutorial According to the tutorial

Xcode

I have also noticed that the section Swift Compiler – Code Generation is also missing from Xcode.

Why?

like image 989
J.Doe Avatar asked Feb 07 '26 05:02

J.Doe


1 Answers

I have resolved this matter by first adding a new swift file to the project, then the respective section appeared.

As you can probably tell, I now have an empty Swift file just sitting inside my project folder and options to bridge my header file.

enter image description here

Thanks for the help everyone.

like image 51
J.Doe Avatar answered Feb 09 '26 01:02

J.Doe