BonnierNews / react-native-3d-model-view

A React Native view for displaying 3D models
MIT License
215 stars 57 forks source link

'RCT3DModel-Swift.h' file not found #29

Open Malikkhoja-zz opened 4 years ago

Malikkhoja-zz commented 4 years ago

Hi @johankasperi ,

We tried consuming this library v1.2.0 with latest version of RN(0.61.5). The library works great in Android, however on IOS we are facing 'RCT3DModel-Swift.h' file not found issue.

We tried to install the library using pods and swift version is 5.0.

Can anyone help ?

Thanks in advance

v-vashchenko commented 4 years ago

Hi! I'm fasing the same issue downgrading Swift from 5 to 4.2.

v-vashchenko commented 4 years ago

@Malikkhoja so, for me the solution was to manually link the package

BanshiARIT commented 4 years ago

i am also facing same issue on ios?

BanshiARIT commented 4 years ago

'RCT3DModel-Swift.h' file not found

rgazeredo commented 4 years ago

I have the same issue

Hirurgo commented 3 years ago

same story...

OutcastJJ commented 3 years ago

Any solution? Thanks

v-vashchenko commented 3 years ago

Any solution? Thanks

Try to link package this way https://reactnative.dev/docs/linking-libraries-ios#manual-linking

OutcastJJ commented 3 years ago

Any solution? Thanks

Try to link package this way https://reactnative.dev/docs/linking-libraries-ios#manual-linking

Thanks mate but it's not working.

I found that the .a file in Products folder are in red and there isn't a RCT3DModel-Swift.h in the xcodeproj, would either of them be the problem?

Screenshot 2020-09-20 at 18 43 31

Sorry if I asked any stupid question as I'm a newbie in developing apps. Thanks.

aditya23jaitly commented 3 years ago

Same problem can you provide me solution

Shinxn commented 2 years ago

npx react-native link

CreateStack commented 2 years ago

@Malikkhoja-zz @aditya23jaitly @OutcastJJ Check this out -> https://github.com/BonnierNews/react-native-3d-model-view/pull/57

Muhammad-Usama-lab commented 1 year ago

@malikkhoja so, for me the solution was to manually link the package

How you linked packages please help.