Just upgraded react native from 0.61.4 to 0.63.0-rc using rn diff
Now when I run the app with Xcode I get this unusual error
ld: '{projet-path}/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(bio_lib.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've checked and bitcode is enabled in the Xcode settings, but what's intriguing is that there's no mention of OpenSSL in the podfile
Related
When I try to Archive my app in Xcode 11.2.1 it returns the error:
I have previously worked on the app with the beta version of Xcode 13.
I have tried to turn Enable Bitcode to No but that did not fix the problem.
I get an error in the Stripe Cocoapod:
ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1103.0.32.62.0_0' Reader: '1100.0.33.12_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.12)' for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
The Stripe CocoaPod was built with Xcode 11.5 or 11.6. Three options:
Upgrade to at least Xcode 11.5.
Ask Stripe to support Xcode 11.2.1
Change the Podfile to use an older version of Stripe.
after two week... I successed upload xcode and catalina OS , zsh ... all could be good but have always error and can't launch my app on my physical device or simulator. Always error after Xcode build.
Things interesting, I remove App_review package from pubspec.yaml but I have always error with it...
If I launch flutter example it works, but If I use certain package like admob who worked before, or app review I have this errors. I can remove app_review package but remove ad mob no...
Edit: I remove all packages who show error, but have always this error
Here is my physical device error :
Xcode's output:
↳
ld: framework not found FBLPromises
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Here is the error when I use simulator :
Xcode's output:
↳
ld: framework not found FBLPromises
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'in_app_purchase' from project 'Pods')
warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'in_app_purchase' from project 'Pods')
warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'Runner' from project 'Runner')
warning: Mapping architecture armv7s to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'Runner' from project 'Runner')
warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'Runner' from project 'Runner')
Open Runner.xcodeproj with xCode in ios folder, choose File menu, then select "Project Settings...". In Build System, choose Legacy Build System and run again.
I have select legacy build system
, now I have this last error
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
ld: framework not found FBLPromises
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please see this thread and ensure that you are not accidentally overriding the VALID_ARCHS build setting: What does warning "Mapping architecture arm64 to x86_64" mean?
I'm new in using Xcode and I want archive project. It cause this kind of error after I update to Xcode 7.3 and cocopod 1.0.0. And I try downgrade to Xcode 7.1 also same. What setting will cause this error message?
ld: warning: directory not found for option '-F/Users/bae-nb-050/Library/Developer/Xcode/DerivedData/SL-fbodsjqbjvdhcgeemiobyapkoekm/Build/Intermediates/ArchiveIntermediates/SL/BuildProductsPath/Release-iphoneos/MBProgressHUD'
ld: framework not found MBProgressHUD
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If you have upgraded your Xcode or cocoapods to a newer version. I recommend that you do a clean and a rebuild of your project. The same goes for when upgrading natviescript.
tns platform remove ios
tns platform add ios
tns prepare ios
I am migrating code I wrote fore Xcode4.2 into Xcode 7.2.
I get the following error:
ld: -pie can only be used when targeting iOS 4.2 or later
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Not sure what this is about... ?
Your deployment target is set to 4.0 but -pie can only be used when targeting iOS 4.2 or later as clearly stated by the above error message. Try setting your deployment target to 6.0. This is the lowest deployment target supported by Xcode 7.2.
I am trying to use the Twilio API for my Swift project, but I encounter an error when I reach step 4 shown below.
If I try to add "-ObjC", I am getting the “linker command failed with exit code 1” error.
libTwilioClient.a(TCConnection.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What is causing this issue?
To get it to link, open the build settings of your main target and search for bitcode. Assuming it's now set to "yes" change to "no" and try rebuilding.
If you have source for the library, you can rebuild it with bitcode on instead.