Ziyo Shamisiddini

Results 30 comments of Ziyo Shamisiddini

@gustavobuttenbender Yes you need `UnityConfig.xconfig` because it contains needed flags for compiler. The thing you don't need is to link the library manually. Linking is taken care by podspec.

@gustavobuttenbender You don't do anything else with that file besides the steps in the docs.

@gustavobuttenbender In `UnityConfig` file you should have a line that includes you `pods`. Open that file and you should see something like this: ``` #include "../Pods/Target Support Files/Pods-YOU-PROJECT-NAME/Pods-YOU-PROJECT-NAME.debug.xcconfig" ```

Since you guys are pretty active, maybe you can help. I have an unsolved issue mentioned in #114 . Does anyone know why that happens?

For folks who are using latest Unity, i can confirm that https://github.com/asmadsen/react-native-unity-view package works very well with minimal effort.

Make sure you are using `2018.2.17` version. Download from here: https://unity3d.com/get-unity/download/archive

I didn't have time to try the solution given in stackoverflow https://stackoverflow.com/questions/58373425/react-rctdefines-h-file-not-found-rn0-61/58398989#58398989 Wondering if you guys have tried the solution?!

> I didn't have time to try the solution given in stackoverflow https://stackoverflow.com/questions/58373425/react-rctdefines-h-file-not-found-rn0-61/58398989#58398989 > > Wondering if you guys have tried the solution?!

@marlon-wiprud I tried adding .podspec but I get other errors that are in `/UnityExport` folder. I don't know how to reference them. But, @alisherakb 's answer actually works.

I decided to go with @alisherakb 's answer. I created this little shell script that runs as part of my npm builds. ``` sed -i '.bak' -e 's/react-native\/React/\.\.\/ios\/Pods\/Headers\/Public/g' node_modules/react-native-unity-view/ios/RNUnityView.xcodeproj/project.pbxproj ```...