howljs / hl_image_picker

Simplify media selection, cropping, and camera functionality in your Flutter app. Choose images/videos from the library, crop images, and capture new photos/videos with ease.
https://pub.dev/packages/hl_image_picker
22 stars 13 forks source link

Exception when building IOS project #8

Closed vovaklh closed 10 months ago

vovaklh commented 10 months ago

I have the next exception when try to build project on my Iphone 11 with IOS 16.6

"Lexical or Preprocessor Issue (Xcode): 'UIImage+CropRotate.h' file not found"

0001arunsharma commented 10 months ago

@vovaklh I am also getting same error

howljs commented 10 months ago

ok. i will check it soon

0001arunsharma commented 10 months ago

@howljs Just tested on android, Below is the console logs : Launching lib/main_dev.dart on sdk gphone64 arm64 in debug mode... main_dev.dart:1

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

2: Task failed with an exception.

BUILD FAILED in 17s Exception: Gradle task assembleDevDebug failed with exit code 1 Exited

howljs commented 10 months ago

You can temporarily check this issue on StackOverflow. It's midnight where I live now, I will check it after I wake up

https://stackoverflow.com/questions/76249597/flutter-firebase-app-not-running-on-android-namespace-not-specified

vovaklh commented 10 months ago

I deleted "flutter_image_compress" dependency and project was built on IOS

howljs commented 10 months ago

Thanks for your solution. I will check the reason why it's malfunctioning when used with flutter_image_compress

howljs commented 10 months ago

@vovaklh I have tried using "hl_image_picker" with the"flutter_image_compress" library and the project still runs normally. Your issue seems different, I think there was some problem when running pod install.

howljs commented 10 months ago

@0001arunsharma Have you been able to run the application on Android yet?

0001arunsharma commented 10 months ago

@howljs Sorry for late response. I just tried to build after adding name space , But still no luck. Its throwing same error

howljs commented 10 months ago

Please send me your "com.android.tools.build:gradle" version

vovaklh commented 10 months ago

@howljs I added "futter_image_compress" dependency again and there are no conflict. It seems strange :) But I had this error when added your package first time

0001arunsharma commented 10 months ago

@howljs

'com.android.tools.build:gradle:8.1.2'

and kotlin version is ext.kotlin_version = '1.9.20'

0001arunsharma commented 10 months ago

@howljs did you get chance to look into the issue I am getting. Thanks

howljs commented 10 months ago

fixed in v1.2.10. please update to new version