ImagePicker icon indicating copy to clipboard operation
ImagePicker copied to clipboard

Doesn't compile in XCode 13

Open rahulguni opened this issue 4 years ago • 9 comments

I have my senior project due in a week and I'm almost done with the app but imagepicker stopped working on the newest version of xcode throwing swift compilation error. I tried reinstalling it with cocoapods in a completely different project but it gives out the same compilation errors.

rahulguni avatar Sep 22 '21 06:09 rahulguni

Did you get Cannot convert value of type 'Configuration' to expected argument type 'UIButton.Configuration'? It's easy to fix. There are some commits already, but a new version hasn't been created yet.

GrebeniukLA avatar Sep 23 '21 06:09 GrebeniukLA

@rahulguni UIButton now has new variable public var configuration: UIButton.Configuration?. There was same variable in class ButtonPicker: UIButton - var configuration = ImagePickerConfiguration()

use latest source code pod 'ImagePicker', :git => 'https://github.com/hyperoslo/ImagePicker.git'

Kirow avatar Sep 27 '21 12:09 Kirow

Any have found any solution for this because I have used the latest podfile but still facing the same compilation error.

shobhitagrawal801 avatar Oct 08 '21 10:10 shobhitagrawal801

Any have found any solution for this because I have used the latest podfile but still facing the same compilation error.

Use this pod 'ImagePicker', :git => 'https://github.com/hyperoslo/ImagePicker.git' and then in the terminal project folder pod install

keegho avatar Oct 15 '21 14:10 keegho

Is there going to be any official release to Pods, so we wouldn't need to specify git path?

Kamilton avatar Dec 13 '21 08:12 Kamilton

When can we expect to have a new release with these changes?

JCTec avatar Dec 14 '21 04:12 JCTec

that Right. it's work thanks

asemelkhouli20 avatar Jul 23 '22 10:07 asemelkhouli20

This error

Parse Issue (Xcode): Module 'image_picker_ios' not found

shows up when i try pod 'ImagePicker', :git => 'https://github.com/hyperoslo/ImagePicker.git' and then in the terminal project folder pod install and then flutter run

udit-raj-simform avatar Mar 23 '23 11:03 udit-raj-simform

Did you get Cannot convert value of type 'Configuration' to expected argument type 'UIButton.Configuration'? It's easy to fix. There are some commits already, but a new version hasn't been created yet. Did you find a solution? @GrebeniukLA

utkuzorlu avatar Sep 04 '23 14:09 utkuzorlu