olofd/react-native-photos-framework

Build fails using RN 0.45.1

Closed this issue · 3 comments

I had an existing RN project using 0.43.3 and RNPhotosFramework worked fine. I updated to the latest (0.45.1) and now I cannot build my project unless I comment out line 3 on PHChangeObserver.m shown below.

I also created a new 0.45.1 project and it builds fine up until I add react-native-photos-framework and link it. Here are some screenshots of the issues -

screen shot 2017-06-19 at 6 51 18 pm
image

Try deleting your DerivedData folder - worked for me. It was using an older version of React despite a fresh install.

@jasongaare thanks. With your suggestion I tried deleting DerivedData via File->Project Setting but I've had no luck.

I removed react-native-photos-framework and reinstalled it after deleting DerivedData completely but I still have issues. Any other suggestions?

olofd commented

Just did a fresh install on 0.47.2 and it worked. If you need support for older versions you will ave to fork or submit and PR. Reopen if this is still an issue!