react-native-3d-model-view icon indicating copy to clipboard operation
react-native-3d-model-view copied to clipboard

'RCT3DModel-Swift.h' file not found

Open Malikkhoja-zz opened this issue 5 years ago • 14 comments
trafficstars

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

Malikkhoja-zz avatar Jan 15 '20 08:01 Malikkhoja-zz

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

v-vashchenko avatar Feb 18 '20 08:02 v-vashchenko

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

v-vashchenko avatar Feb 18 '20 10:02 v-vashchenko

i am also facing same issue on ios?

BanshiARIT avatar Mar 04 '20 15:03 BanshiARIT

'RCT3DModel-Swift.h' file not found

BanshiARIT avatar Mar 04 '20 16:03 BanshiARIT

I have the same issue

rgazeredo avatar Sep 07 '20 15:09 rgazeredo

same story...

Hirurgo avatar Sep 19 '20 08:09 Hirurgo

Any solution? Thanks

OutcastJJ avatar Sep 20 '20 07:09 OutcastJJ

Any solution? Thanks

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

v-vashchenko avatar Sep 20 '20 09:09 v-vashchenko

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.

OutcastJJ avatar Sep 20 '20 10:09 OutcastJJ

Same problem can you provide me solution

aditya23jaitly avatar Apr 20 '21 13:04 aditya23jaitly

npx react-native link

Shinxn avatar May 26 '22 19:05 Shinxn

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

CreateStack avatar Jun 04 '22 09:06 CreateStack

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

How you linked packages please help.

Muhammad-Usama-lab avatar Oct 19 '22 11:10 Muhammad-Usama-lab