hyperoslo / ImagePicker

:camera: Reinventing the way ImagePicker works.
Other
4.86k stars 676 forks source link

Doesn't compile in XCode 13 #484

Open rahulguni opened 2 years ago

rahulguni commented 2 years ago

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.

GrebeniukLA commented 2 years ago

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.

Kirow commented 2 years ago

@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'

shobhitagrawal801 commented 2 years ago

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

keegho commented 2 years ago

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

Kamilton commented 2 years ago

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

JCTec commented 2 years ago

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

asemelkhouli20 commented 2 years ago

that Right. it's work thanks

udit-raj-simform commented 1 year ago

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

utkuzorlu commented 1 year ago

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