Objective-C Bridging Header section not found

后端 未结 2 764
遥遥无期
遥遥无期 2021-01-22 09:20

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 bridg

相关标签:
2条回答
  • 2021-01-22 09:58

    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.

    Thanks for the help everyone.

    0 讨论(0)
  • 2021-01-22 09:59

    Looks like you have created an ObjectiveC project instead of Swift (I can see the AppDelegate.h & AppDelegate.m). ObjC project wont have Swift Compiler section. Select Swift as language while creating project

    0 讨论(0)
提交回复
热议问题