Skip to content
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

IOS Compile Issue #37

Open
mcaninci opened this issue Oct 12, 2020 · 2 comments
Open

IOS Compile Issue #37

mcaninci opened this issue Oct 12, 2020 · 2 comments

Comments

@mcaninci
Copy link

Im developing app with ios 12. But I got below error in xcode. Also I got error react-native . I examined issue and saw libstdc lib not supportted for ios 12. But i wanna use react-native-text-detector. How to solve this issue ?

ld: building for iOS Simulator, but linking in dylib built for macOS, file '/usr/lib/libstdc++.6.0.9.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@campions
Copy link

I have the same issue, did someone found a solution?

@fabio-nettis
Copy link

fabio-nettis commented Jul 26, 2021

Im developing app with ios 12. But I got below error in xcode. Also I got error react-native . I examined issue and saw libstdc lib not supportted for ios 12. But i wanna use react-native-text-detector. How to solve this issue ?

ld: building for iOS Simulator, but linking in dylib built for macOS, file '/usr/lib/libstdc++.6.0.9.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I had the same issue just now, and for anyone searching to resolve this, add the pod:

pod 'TesseractOCRiOS', :git => 'git://github.com/parallaxe/Tesseract-OCR-iOS.git', :branch => 'macos-support'

This pod doesn't use the libstdc++ library. This library is now long deprecated and support for it was dropped in iOS 12. Add this pod to your Podfile and run:

cd ios && rm Podifle.lock && rm -rf Pods && pod install --repo-update

You now no longer should see this error.


Also check out this issue #31 if you have further compile issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants