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 Fails #37
Comments
Change deployment target to 11.0 fix the problem |
Same here, I just update my deployment target to 11 and I keep getting same error. Before I did I use flutter clean command and invalidate cash restart. I also delete the previous file under '/Users/niyazitoros/Library/Developer/Xcode/DerivedData/' and keep getting same error. And I am using Xcode Version 11.0 (11A420a). I canT publish my app now. Any idea? flutter doctor -v
The error:
|
Ok. I found the solution but I am not sure if this solution is immediate or long term. Solution: From left navigator in Xcode I found Pods/Development Pods/flutter_barcode_scanner.podspec and change s.ios.deploymnet_target = '10.0' to '11.0' I run Xcode archive, validate and disturubition and finally I upload my new version to App Store. |
After upgrading flutter stable 1.9.1 hot fix 5 I got similar error. I change target to 10.0 and still got similar error.
|
same issue. any idea? |
same issue here |
Try |
Facing the same problem. Anyone got the fix? tried everything from above. Nothing works |
I tryed pod install, pod update, any result is change target to 11.0; I believe you'll need to change documentation.
|
still facing this error |
Open code -> Now in flutter_barcode_scannner.podspec s.source_files = 'Classes/**/*' with s.source_files = 'Classes/**/*.{swift,h,m}' |
Try this: |
This issue has been resolved. It will be available in the new release. |
Thanks @AmolGangadhare, when will be next release? |
I can confirm only way the app builds currently is with legacy build system in xcode. |
V1.0.0 has been released The issue is expected to be resolved. Closing this issue, feel free to reopen if the issue persists |
when trying to build the example project. I get this.
Xcode's output:
↳
error: Unexpected duplicate tasks:
1) Target 'flutter_barcode_scanner' (project 'Pods') has copy command from '/Users/irperera/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-0.1.7/ios/Classes/resource.bundle/ic_flash_on.png' to '/Users/irperera/Developer/flutterProjects/flutter_barcodec/build/ios/Debug-iphoneos/flutter_barcode_scanner/flutter_barcode_scanner.framework/ic_flash_on.png'
2) Target 'flutter_barcode_scanner' (project 'Pods') has copy command from '/Users/irperera/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-0.1.7/ios/Classes/resource.bundle/ic_flash_on.png' to '/Users/irperera/Developer/flutterProjects/flutter_barcodec/build/ios/Debug-iphoneos/flutter_barcode_scanner/flutter_barcode_scanner.framework/ic_flash_on.png'
error: Unexpected duplicate tasks:
1) Target 'flutter_barcode_scanner' (project 'Pods') has copy command from '/Users/irperera/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-0.1.7/ios/Classes/resource.bundle/ic_flash_off.png' to '/Users/irperera/Developer/flutterProjects/flutter_barcodec/build/ios/Debug-iphoneos/flutter_barcode_scanner/flutter_barcode_scanner.framework/ic_flash_off.png'
2) Target 'flutter_barcode_scanner' (project 'Pods') has copy command from '/Users/irperera/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-0.1.7/ios/Classes/resource.bundle/ic_flash_off.png' to '/Users/irperera/Developer/flutterProjects/flutter_barcodec/build/ios/Debug-iphoneos/flutter_barcode_scanner/flutter_barcode_scanner.framework/ic_flash_off.png'
note: Using new build systemnote: Planning buildnote: Constructing build description
Could not build the precompiled application for the device.
Error launching application on iPhone.
The text was updated successfully, but these errors were encountered: