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 956 forks source link

Running on M1 Mac fails #526

Closed danipralea closed 7 months ago

danipralea commented 2 years ago

Describe the bug Integrated the framework and tried running the project

Expected behavior Run on M1 Mac

Screenshots image

iOS Device:

IhorShevchuk commented 2 years ago

It looks like you should provide more details on how you integrate CropViewController to resolve this issue. I wasn't able to reproduce this issue. However, based on your screenshot, I guess you have set the EXCLUDED_ARCHS option in your project to contain 'arm64' architecture in order to resolve issues with some other libraries.

TimOliver commented 7 months ago

Sorry for the delay! I just tested this with the SPM integration and it was working fine. Like @IhorShevchuk said, it might be some Xcode configuration issue. Thanks!