Friday, January 20, 2017

can't find ios framework headers in react native module library

Leave a Comment

I've included an iOS framework in the xcode project for the React Native module library I'm creating. Everything compiles fine when I build the ios project in the RN library itself, but once I npm install the library into my main RN project, running react-native link <project-name>, and then build in xcode, the included framework headers are not found.

I checked the normal build settings (Header, Framework, and Library search paths) and they all have $(inherited) listed.

Repo for the react native library that is WIP https://github.com/bsy/react-native-pollfish

2 Answers

Answers 1

Download SDK file from here . May be owner removes the SDK from github.

Answers 2

Please add this line in your package.json file.

"rnpm": {     "ios": {       "sourceDir": "./ios"     }   } 

Also, unable to install your plugin with "npm install".

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment