Error when I build for iOS with the new version
jpgSouza opened this issue · 3 comments
I'm getting the following error when a try to build for iOS.
Command CompileSwift failed with a nonzero exit code
:0: error: filename "CameraViewController.swift" used twice: '/Users/jpgsouza/Documents/cec_flutter/lib/packages/card-scanner-flutter-0.2.1/ios/Classes/CameraViewController.swift' and '/Users/jpgsouza/Documents/cec_flutter/lib/packages/card-scanner-flutter-0.2.1/ios/Classes/Scanner Core/CameraViewController.swift'
:0: note: filenames are used to distinguish private declarations with the same name
:0: error: filename "ScanProcessor.swift" used twice: '/Users/jpgsouza/Documents/cec_flutter/lib/packages/card-scanner-flutter-0.2.1/ios/Classes/ScanProcessor.swift' and '/Users/jpgsouza/Documents/cec_flutter/lib/packages/card-scanner-flutter-0.2.1/ios/Classes/Scanner Core/ScanProcessor.swift'
:0: note: filenames are used to distinguish private declarations with the same name
Facing same issue.
The fixes have been published in 1.0.1-prerelease version
Thx. Its works