react-native-text-detector
react-native-text-detector copied to clipboard
Failing to build project after installation
Hi there,
I followed the instructions from the README. I am using the following setup.
Using Pods (Recommended)
Add following in ios/Podfile
pod 'RNTextDetector', path: '../node_modules/react-native-text-detector/ios'
Run following from project's root directory
cd ios && pod install
Use <your_project>.xcworkspace to run your app
After I did the above and built the project in xCode I got the following error
linker command failed with exit code 1 (use -v to see invocation
Has anyone experienced this error when setting up using Pods?
Same for me
Same also cannot build using the manual linking for iOS
Any updates for this issue?
This is disappointingly not running and crashes with an error dyld: can't resolve symbol ___cxa_guard_acquire within a lower level api in the simulator. I've search around and have not had much luck resolving this... It seems that something with tesseract is the culprit. I'm looking at alternatives at this point until this is more stable.
This is disappointingly not running and crashes with an error
dyld: can't resolve symbol ___cxa_guard_acquirewithin a lower level api in the simulator. I've search around and have not had much luck resolving this... It seems that something with tesseract is the culprit. I'm looking at alternatives at this point until this is more stable.
I uninstall this library after that install firebase branch. Everything works fine now.
After some more research, I looked into a few things regarding tesseract-ocr for iOS that helped get everything up and running as expected.
- Install react-native-text-detector per this repo's README
- Added the linker flag -lstdc++
- Set the build setting Enable Bitcode to NO
- followed the README here in this repo. https://github.com/Kila2/libstdc-.6.0.9.tbd/blob/master/README.md
After some more research, I looked into a few things regarding tesseract-ocr for iOS that helped get everything up and running as expected.
- Install react-native-text-detector per this repo's README
- Added the linker flag -lstdc++
- Set the build setting Enable Bitcode to NO
- followed the README here in this repo. https://github.com/Kila2/libstdc-.6.0.9.tbd/blob/master/README.md
The linker flag -lstdc++ is added through xcode is it?
After some more research, I looked into a few things regarding tesseract-ocr for iOS that helped get everything up and running as expected.
- Install react-native-text-detector per this repo's README
- Added the linker flag -lstdc++
- Set the build setting Enable Bitcode to NO
- followed the README here in this repo. https://github.com/Kila2/libstdc-.6.0.9.tbd/blob/master/README.md
The linker flag -lstdc++ is added through xcode is it?
Yes. That's correct
@SalmonKing72 that worked perfectly! Thanks!