gali8 / WhichFont

Great iOS11 app demo with Vision (VNTextObservation) and Tesseract-OCR-iOS
MIT License
83 stars 17 forks source link

[Compile error] Duplicate config auto.h #6

Closed ry431 closed 5 years ago

ry431 commented 5 years ago

Hi I am using the project to compile with Xcode Version 10.1 (10B61). I have disabled bitcode at all levels.

I am getting following error, any idea how to resolve this?

error: Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/WhichFont-fpunvamjzddvlkguhlvhiyjpsans/Build/Products/Debug-iphoneos/TesseractOCRiOS/TesseractOCR.framework/PrivateHeaders/config_auto.h': 1) Target 'TesseractOCRiOS' (project 'Pods') has copy command from '/Users/user/Workspace/iOS_Test/WhichFont/Pods/TesseractOCRiOS/TesseractOCR/include/leptonica/config_auto.h' to '/Users/user/Library/Developer/Xcode/DerivedData/WhichFont-fpunvamjzddvlkguhlvhiyjpsans/Build/Products/Debug-iphoneos/TesseractOCRiOS/TesseractOCR.framework/PrivateHeaders/config_auto.h' 2) Target 'TesseractOCRiOS' (project 'Pods') has copy command from '/Users/user/Workspace/iOS_Test/WhichFont/Pods/TesseractOCRiOS/TesseractOCR/include/tesseract/config_auto.h' to '/Users/user/Library/Developer/Xcode/DerivedData/WhichFont-fpunvamjzddvlkguhlvhiyjpsans/Build/Products/Debug-iphoneos/TesseractOCRiOS/TesseractOCR.framework/PrivateHeaders/config_auto.h'

ry431 commented 5 years ago

Solved with this https://github.com/gali8/Tesseract-OCR-iOS/issues/375