TimOliver / TOCropViewController

A view controller for iOS that allows users to crop portions of UIImage objects
http://www.timoliver.com.au/2015/06/21/tocropviewcontroller-an-open-source-image-cropper-for-ios/
MIT License
4.74k stars 955 forks source link

Fail to build #581

Open satoshinosekai opened 6 months ago

satoshinosekai commented 6 months ago

Describe the bug build fail on obj-c project

To Reproduce Steps to reproduce the behavior:

  1. add pod 'TOCropViewController' to Podfile
  2. run pod install
  3. build the project, got error

@interface TOCropViewController : UIViewController <- Duplicate interface definition for class 'TOCropViewController' @property (nonnull, nonatomic, readonly) UIImage *image; <- Property has a previous declaration

Expected behavior Build success

Screenshots If applicable, add screenshots to help explain your problem.

iOS Device:

Additional context Add any other context about the problem here.

moonakash commented 6 months ago

@satoshinosekai did you solve it?

dearDragon commented 5 months ago

我是使用#import <TOCropViewController/TOCropViewController.h>