hnvn/flutter_image_cropper

Image Cropper Conflict with TOCropViewController error

Opened this issue · 1 comments

  CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/3.16.0/FlutterMacOS.podspec.json exists! Returning local because
  checking is only performed in repo update
[!] CocoaPods could not find compatible versions for pod "TOCropViewController":
  In snapshot (Podfile.lock):
    TOCropViewController (= 2.6.1, ~> 2.6.1)

  In Podfile:
    image_cropper (from `.symlinks/plugins/image_cropper/ios`) was resolved to 0.0.4, which depends on
      TOCropViewController (~> 2.7.4)


You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `TOCropViewController` inside your development pod `image_cropper`.
   You should run `pod update TOCropViewController` to apply changes you've made.
hnvn commented

try to use following commands:

cd ios
pod deintegrate
rm -rf Podfile.lock
pod install --repo-update