gali8 / Tesseract-OCR-iOS

Tesseract OCR iOS is a Framework for iOS7+, compiled also for armv7s and arm64.
http://www.nexor.it
MIT License
4.21k stars 948 forks source link

pod framework,when i run iphone and this error #360

Open yixiaojichunqiu opened 6 years ago

yixiaojichunqiu commented 6 years ago

ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together clang: error: linker command failed with exit code 1 (use -v to see invocation)

niravkotecha commented 6 years ago

Try after ENABLE_BITCODE=NO

sulaimansust commented 6 years ago

add these lines on your pod file and update post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ENABLE_BITCODE'] = 'NO' end end end