YPImagePicker icon indicating copy to clipboard operation
YPImagePicker copied to clipboard

v4.4.0 does not compile with Xcode 11.7

Open gcamp806 opened this issue 6 years ago • 5 comments

Describe the bug Compiler error: Type 'PHAuthorizationStatus' has no member 'limited'

To Reproduce Build an app which uses v4.4.0, the compiler will error on YPLibraryVC.swift line 247.

Expected behavior No compiler errors in the YPImagePicker library

Screenshots Screen Shot 2020-10-02 at 9 14 41 AM

Environment (please complete the following information):

  • Device: N/A
  • OS: 10.15.7
  • Xcode Version 11.7
  • Swift Version 5.2.4

Installation Type

  • Cocoapods

Additional context

gcamp806 avatar Oct 02 '20 14:10 gcamp806

+1 to this

soujohnreis avatar Oct 05 '20 17:10 soujohnreis

@soujohnreis @gcamp806 Please add a Pull Request where it would be something like if #available(iOS 14.0, *) {

NikKovIos avatar Oct 07 '20 09:10 NikKovIos

@NikKovIos PR #581 submitted!

gcamp806 avatar Oct 07 '20 14:10 gcamp806

@NikKovIos When can we expect this to be released?

foobar98 avatar Jan 02 '21 12:01 foobar98

@NikKovIos When can we expect this to be released?

rbecharast-chwy avatar Feb 26 '21 13:02 rbecharast-chwy