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.
Related
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
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 compile and run the following application (Swift Chat App using Alamofire).
https://github.com/huyouare/SwiftParseChat
I am using ruby-2.0.0 , cocoapods 0.37.1, xcode 6.3, Alamofire 1.2.0
I am installing it using the normal <pod install> command. No errors or warnings during the process.
However, when compiling, I get:
No such Module 'Alamofire'
If I install Alamofire manually, however, when compiling I get an Apple Match-O Linker Error :
ld: warning: directory not found for option '-F/Users/cristian/Library/Developer/Xcode/DerivedData/SwiftParseChat-btvjczpwjlekftetblbfrbposakh/Build/Products/Debug-iphoneos/Pods'
ld: framework not found Pods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What is behind this??
Thanks !
If everything is setup correctly, errors such as
No such Module 'Alamofire'
occur when you build your project from .xcodeproj.
By default you need to build project integrating CocoaPods from .xcworkspace.
Having archive error when want to compile into .ipa
I am using:
Mac OS X Leopard 10.6.7
Xcode 4.3 stable.
Clean and Build in simulator no error.
But
Archive for Adhoc under Latest iOS SDK (iOS 4.3) fail.
Error is as below:
Apple Mach-O Linker Error
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
..
ld: in /Users/bird/Desktop/IPHONE/test/Classes/Libraries/FlurryLib/libFlurry.a, file is universal but does not contain a(n) armv7 slice for architecture armv7
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exist code 1
Wondering way to solve it.
It looks like libFlurry does not support armv7s.
click on the Project, go to Build Settings -> find "valid architectures" and remove "armv7s" from the list.