I integrated React Native in a swift project. I followed the steps in the following link https://github.com/Microsoft/react-native-code-push#ios-setup to integrate code push to the project.
As there is no Libraries folder in my project, i created one folder and imported CodePush.xcodeproj to that folder.
Since being a swift project, I added the line #import "CodePush.h" to the bridging header file. But when i try to build my project it says 'CodePush.h file not found' error. Any help on this?
I Fixed the issue by following the steps. (Using Pod)
npm install --save react-native-code-push
pod 'CodePush', :path => './node_modules/react-native-code-push'
pod install
#import "CodePush.h"
CodePush.bundleURL()