-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
react-native use in Swift ,follow up yoga.h not found . #12294
Comments
facing the same issue in swift 3.0 project. |
I also have this issue. |
Same problem here. Does someone have any suggestions? |
Solution from @julienfouilhe You don't need all the above fixes anymore, remove your patch function in your Podfile, remove the postinstall script in your package.json, just put the master branch of react-native in your dependencies and add yoga as a pod dependency and it should work package.json: "react-native": "facebook/react-native#master" react_path = '../node_modules/react-native' pod 'React', :path => react_path, :subspecs => [ |
See #11781 |
Same issue with |
When i use react in swift with cocoapods , found if use_frameworks in podfile, make error : yoga/yoga.h not found .
so i change podfile with :
can work on ObjC, but ObjC file must use .mm,
so i guess , cpp cause this problem .
don't work on Swift, even make ObjeC file to middle file.
Description
swift can't use react , cstdint not found
cocopods 1.2.0 use_frameworks
swift 3.0
react-native 0.40.0
The text was updated successfully, but these errors were encountered: