react-native-unity-view
react-native-unity-view copied to clipboard
Not support React Native 0.6 or higher.
React Native 0.6 has been changed to CocoaPods integration by default.
react-native-unity-view 1.3.3 not supports that. (lots of errors.)
Do you have an update plan?
We've been using this in a cocoapods project with react native 0.8+. If you provide more specifics about your issue we might be able to help out.
We've been using this in a cocoapods project with react native 0.8+. If you provide more specifics about your issue we might be able to help out.
Description
@mtostenson I have clean react-native: 0.60.4 project where I'm trying to add this library.
I've manually merged project pods with UnityConfig, i.e passed this step successfully.
However, I'm experiencing following error in Xcode:

Steps to reproduce
- react-native init
cd ios/ && pod installnpm i react-native-unity-view && react-native-link react-native-unity-view- Add UnityConfig
cd ios/ && pod install- issues.- Merge manually pods into UnityConfig (solution that worked)
- Dead code stripping to YES.
- Edit main.m
- Build Unity for iOS
- See screenshot
UPDATE:
I fixed the issue by adding $(SRCROOT)/../../../ios/Pods/Headers/Public to library header search path.
NEXT ISSUE:
See https://github.com/f111fei/react-native-unity-view/issues/136 if you're interested in forking this library and making it CocoaPods compatible.
Save yourself the hassle by using https://www.npmjs.com/package/react-native-unity-view-reinvented