-
Notifications
You must be signed in to change notification settings - Fork 949
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
ENABLE_BITCODE issue #279
Comments
same here. |
This seems to be a duplicate of this comment #244 |
If I remember I fixed it with specifying: in my pod file |
Grabbed this from another reply, it may help someone else who is directed here from Google: The full way to change your podfile for those not familiar (I was not): pod 'TesseractOCRiOS', post_install do |installer| Also, ensure that you turn bitcode off in your project's target as well. Hope this saves someone else some time. |
Thanks @tedhogan, saved me a lot of googling. Here's an easier to copy and paste version. 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 |
@tedhogan |
I've tried to build my project, but I got that issue:
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)
I've tried to set ENABLE_BITCODE to NO, but it does not help.
The text was updated successfully, but these errors were encountered: