Skip to content

TOCropViewController 3.0.0 error on build with XCode #625

@dani1993

Description

@dani1993

Describe the bug
I have a problem building my app with the latest version of your library.

Here are the errors shown by Xcode:

TOCropViewController
../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m
../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:62:9 Use of undeclared identifier 'UIGlassEffect'

../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:62:24 Use of undeclared identifier 'glassEffect'

../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:62:39 Use of undeclared identifier 'UIGlassEffect'

../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:63:9 Use of undeclared identifier 'glassEffect'

../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:64:65 Use of undeclared identifier 'glassEffect'

../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:65:20 Property 'cornerConfiguration' not found on object of type 'UIVisualEffectView *'; did you mean 'pasteConfiguration'?

../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:65:43 Unknown receiver 'UICornerConfiguration'; did you mean 'UISceneConfiguration'?

../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:65:65 No known class method for selector 'capsuleConfiguration'

../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:107:71 No known class method for selector 'prominentGlassButtonConfiguration'

../ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.m:136:66 No known class method for selector 'clearGlassButtonConfiguration'

To Reproduce
Steps to reproduce the behavior:
Run an application with TOCropViewController version 3.0.0 and XCode 16.2

Do I need to do anything specific to make the app run, or is there an error in the library?

Thank you

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions