prscX / react-native-photo-editor

React Native: Native Photo Editor
Apache License 2.0
1.12k stars 244 forks source link

iOSPhotoEditor.framework: No such file or directory #182

Open VivekkChudasama opened 3 years ago

VivekkChudasama commented 3 years ago

IOS build Issue

@prscX Please help me for resolved this issue.

iOS Prerequisite: Please make sure CocoaPods is installed on your system

  1. After react-native link react-native-photo-editor, please verify node_modules/react-native-photo-editor/ios/ contains Pods folder. It does not exist please execute pod install command on node_modules/react-native-photo-editor/ios/, if any error => try pod repo update then pod install
  2. After verification, open your project and create a folder 'RNPhotoEditor' under Libraries.
  3. Drag node_modules/react-native-photo-editor/ios/pods/Pods.xcodeproject into RNPhotoEditor, as well as the RNPhotoEditor.xcodeproject if it does not exist.
  4. Add the iOSPhotoEditor.framework into your project's Embedded Binaries and make sure the framework is also in linked libraries.
  5. Go to your project's Build Settings -> Frameworks Search Path and add ${BUILT_PRODUCTS_DIR}/iOSPhotoEditor non-recursive.

I'm following the above step for the iOS integration point but facing an error. Anyone, please help me to resolve this point. How to integrate this library in IOS.? This library properly working on android.

image

DeniferSantiago commented 3 years ago

Is your React Native version less than 0.61?

VivekkChudasama commented 3 years ago

@DeniferSantiago No, My React Native version 63.4