Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on new build system #20

Closed
nothinggift opened this issue May 14, 2020 · 5 comments
Closed

Build error on new build system #20

nothinggift opened this issue May 14, 2020 · 5 comments

Comments

@nothinggift
Copy link

error: Unexpected duplicate tasks:
1) Target 'christian_picker_image' (project 'Pods') has copy command from '/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/christian_picker_image-0.1.6/ios/Classes/ImagePicker/Images/selectedImageGallery@3x.png' to '/Users/builder/clone/build/ios/Debug-iphoneos/christian_picker_image/christian_picker_image.framework/selectedImageGallery@3x.png'
2) Target 'christian_picker_image' (project 'Pods') has copy command from '/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/christian_picker_image-0.1.6/ios/Classes/ImagePicker/Images/selectedImageGallery@3x.png' to '/Users/builder/clone/build/ios/Debug-iphoneos/christian_picker_image/christian_picker_image.framework/selectedImageGallery@3x.png'
error: Unexpected duplicate tasks:

Legacy Build System works well.

@jamesdhope
Copy link

same issue. Legacy Build Systems works. Removing the PNG files from the POD file / compiled sources within XCode also seems to temporarily resolve the issue.

@luis-cruzt
Copy link

luis-cruzt commented Jun 8, 2020

I'm still having this issue, @diepnghitinh any fix?
Changing to Legacy Build is not solving my problem, i only get more errors.

@oncul
Copy link

oncul commented Jun 25, 2020

same problem i cannot fix with legacy build.

@luis-cruzt
Copy link

I think that @diepnghitinh has to fix this, but i think he is inactive.

@luis-cruzt
Copy link

I think i found the solution that works for me:

It would be great if you guys can test it and tell me if it works for you:
luis-cruzt@b67fa0f

tnaffh added a commit to tnaffh/flutter-media-piker that referenced this issue Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants