react-native-photos-framework icon indicating copy to clipboard operation
react-native-photos-framework copied to clipboard

TypeError: Cannot read property 'pbxprojPath' of null

Open ghost opened this issue 7 years ago • 7 comments

I got this error during the installation

image

ghost avatar Nov 21 '17 19:11 ghost

Hi, have you been able to resolve this?

MaximeTroiano avatar Mar 09 '18 23:03 MaximeTroiano

any help here ?

SMSwiti avatar Apr 04 '18 09:04 SMSwiti

Also getting this error.

dave4jr avatar Apr 05 '18 19:04 dave4jr

✋

dadisigursveinn avatar Apr 25 '18 23:04 dadisigursveinn

Try to run react-native upgrade

MoezAbid avatar May 07 '18 08:05 MoezAbid

@MoezAbid thank you this worked. Do you know why this worked?

sethjdev avatar May 08 '18 04:05 sethjdev

@sethjdev Glad it worked for you. As you may have noticed, when you run that command, the ios and Android folders will appear in your project's root directory. So when you link the libraries to your project, they will have a "target" folder to be linked to whether it's the android folder or the ios folder. This is done to make adding features to your app easier because not all the apps use native capabilities. My answer might not be 100% correct, but I hope it gave you some insight on why that worked. Visit https://facebook.github.io/react-native/docs/linking-libraries-ios.html for more information.

MoezAbid avatar May 08 '18 14:05 MoezAbid