Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autolinking for react-native >=0.60.0 #28

Open
thehellmaker opened this issue Oct 15, 2019 · 2 comments
Open

Autolinking for react-native >=0.60.0 #28

thehellmaker opened this issue Oct 15, 2019 · 2 comments

Comments

@thehellmaker
Copy link

This library doesn't yet support autolinking for react-native version 0.60.0

@thehellmaker
Copy link
Author

[!] use_native_modules! skipped the react-native dependency 'react-native-iot-wifi'. No podspec file was found.
- Check to see if there is an updated version that contains the necessary podspec file
- Contact the library maintainers or send them a PR to add a podspec. The react-native-webview podspec is a good example of a package.json driven podspec. See https://github.com/react-native-community/react-native-webview/blob/master/react-native-webview.podspec
- If necessary, you can disable autolinking for the dependency and link it manually. See https://github.com/react-native-community/cli/blob/master/docs/autolinking.md#how-can-i-disable-autolinking-for-unsupported-library

@phillyqueso
Copy link

@thehellmaker did you manage to get it working? I disabled it from auto-linking but still get

<my-proj-dir>/node_modules/react-native-iot-wifi/ios/IOTWifi.h:2:9: fatal error: 'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


** BUILD FAILED **

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants