AhmedAbdoElhawary / image_picker_plus

This package is based on Custom-gallery-display (my package) to make it easy and fast.
https://pub.dev/packages/image_picker_plus
MIT License
57 stars 35 forks source link

[!] No podspec found for `image_picker_plus` in `.symlinks/plugins/image_picker_plus/ios` #70

Open Jakoo13 opened 1 year ago

Jakoo13 commented 1 year ago

When looking within project_directory/ios/.symlinks/plugins/image_picker_plus/ios folder the podspec is named image_crop.podspec rather than image_picker_plus.podspec.

I think this could be the cause of the issue?

Jakoo13 commented 1 year ago

@AhmedAbdoElhawary I fixed this by renaming project_directory/ios/.symlinks/plugins/image_picker_plus/ios/image_crop.podspec to image_picker_plus.podspec as well as the s.name = 'image_picker_plus' within that file.

Jakoo13 commented 1 year ago

T

@AhmedAbdoElhawary I fixed this by renaming project_directory/ios/.symlinks/plugins/image_picker_plus/ios/image_crop.podspec to image_picker_plus.podspec as well as the s.name = 'image_picker_plus' within that file.

This doesn't seem like a long term solution as anytime we run pod repo update or pod install this will reset.

Jakoo13 commented 1 year ago

I found the source of issue. Any version after 0.5.6+2 fails to run pod install. It seems the image_crop plugin introduced errors.

mitesh77 commented 1 year ago

I also have the same issue I cannot fix [!] No podspec found forimage_picker_plusin.symlinks/plugins/image_picker_plus/ios``

Jakoo13 commented 1 year ago

@mitesh77 if you check the open PR's, the PR that changes the crop package to cropper works good. The way I fixed for now is forking the package until the maintainer can fix himself.

Princeyyyy commented 1 year ago

Is the package now working well or are here things someone needs to take into consideration? I'm on the latest flutter version btw 3.10.6

Jakoo13 commented 1 year ago

Is the package now working well or are here things someone needs to take into consideration? I'm on the latest flutter version btw 3.10.6

No it is still not working. If you want to use this package, you need to fork it. Basically do exactly what the current merge request to change the crop package does. You need to fork this package, then change the crop package.

AhmedAbdoElhawary commented 1 year ago

@Jakoo13 @Princeyyyy @mitesh77 I don't have a Mac to check it. But if anyone can send a pull request. About the crop_image, I forked the package and solved the issues in #72, and about cropper, it's not giving me the same results that I want to crop one and multi images, but I will work on custom cropper in the future.

The package work for me on Android (don't forget to add all permissions on AndroidManifest. Look again at the ReadMe file).

ejjat0909 commented 1 year ago

@Jakoo13 @Princeyyyy @mitesh77 I don't have a Mac to check it. But if anyone can send a pull request. About the crop_image, I forked the package and solved the issues in #72, and about cropper, it's not giving me the same results that I want to crop one and multi images, but I will work on custom cropper in the future.

The package work for me on Android (don't forget to add all permissions on AndroidManifest. Look again at the ReadMe file).

so do you fixed it?

rak54 commented 1 year ago

I found the source of issue. Any version after 0.5.6+2 fails to run pod install. It seems the image_crop plugin introduced errors.

So you mean if we use version 0.5.6+1 , it will work fine ?

LaPyaeOo commented 10 months ago

In version 0.5.9, still got this error. [!] No podspec found for `image_picker_plus` in `.symlinks/plugins/image_picker_plus/ios`

Catyousha commented 10 months ago

do you have any intention to solve this issue or this package is not supporting ios platform anymore? @AhmedAbdoElhawary

mrkahfi commented 10 months ago

Hi @AhmedAbdoElhawary I submitted a PR https://github.com/AhmedAbdoElhawary/image_picker_plus/pull/80 on this issue. Please check it out. Thank you!