Skip to content

Instantly share code, notes, and snippets.

@ashokds
Created May 25, 2021 01:05
Show Gist options
  • Save ashokds/ac49e6f9e98755365abf3096dadb5a00 to your computer and use it in GitHub Desktop.
Save ashokds/ac49e6f9e98755365abf3096dadb5a00 to your computer and use it in GitHub Desktop.
Xcode12.4 - XCFramework - 12D4e xcodebuild
Xcode 12.4
Build version 12D4e
Ld /Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/IntermediateBuildFilesPath/DocuSignSDK.build/Release-iphoneos/DocuSignSDK.build/Objects-normal/armv7/Binary/DocuSignSDK normal armv7 (in target 'DocuSignSDK' from project 'DocuSignSDK')
cd /Users/first.last/workspace/DocuSign-IOS-SDK-V2
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target armv7-apple-ios10.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk -L/Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/BuildProductsPath/Release-iphoneos -F/Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/BuildProductsPath/Release-iphoneos -F/Users/first.last/workspace/DocuSign-IOS-SDK-V2/DocuSignSDK/External -F/Users/first.last/workspace/DocuSign-IOS-SDK-V2/DocuSignSDK/External/PDFTron -filelist /Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/IntermediateBuildFilesPath/DocuSignSDK.build/Release-iphoneos/DocuSignSDK.build/Objects-normal/armv7/DocuSignSDK.LinkFileList -install_name @rpath/DocuSignSDK.framework/DocuSignSDK -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/IntermediateBuildFilesPath/DocuSignSDK.build/Release-iphoneos/DocuSignSDK.build/Objects-normal/armv7/DocuSignSDK_lto.o -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/BuildProductsPath/Release-iphoneos -Xlinker -final_output -Xlinker /Library/Frameworks/DocuSignSDK.framework/DocuSignSDK -fobjc-arc -fobjc-link-runtime -framework PDFNet -framework Tools -framework CoreBluetooth -lc++ -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/IntermediateBuildFilesPath/DocuSignSDK.build/Release-iphoneos/DocuSignSDK.build/Objects-normal/armv7/DocuSignSDK_dependency_info.dat -o /Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/IntermediateBuildFilesPath/DocuSignSDK.build/Release-iphoneos/DocuSignSDK.build/Objects-normal/armv7/Binary/DocuSignSDK
ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1205.0.22.9.0_0' Reader: '1200.0.32.29_0')', using libLTO version 'LLVM version 12.0.0, (clang-1200.0.32.29)' for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@koyta
Copy link

koyta commented Jun 8, 2021

so, how you fixed it?

@ashokds
Copy link
Author

ashokds commented Jun 10, 2021

@koyta: Upgrading to Xcode 12.5 fixed the issue. The 3rd party library was built with 12.5 and apparently that caused the issue.

@koyta
Copy link

koyta commented Jun 10, 2021

Yeah, that’s what I thought. On Azure appcenter we have only 12.4 as latest for now. Microsoft – small startup, LOL.
If someone’s curios about solution for 12.4, than disable ENABLE_BITCODE under Build Settings.

@steniowagner
Copy link

Thank you so much, guys! Tou definitely saved my day!

@abhishek1504
Copy link

Disabling bitcode might increase the ipa size, won't it?

@koyta
Copy link

koyta commented Jul 29, 2021 via email

@alzo91
Copy link

alzo91 commented Sep 16, 2021

Disabling bitcode, it works for me. thank

@abhishek1504
Copy link

Please do not treat disabling bitcode as a knee jerk reaction to the problem. It will create a bigger IPA, and can have issues while submitting app to the app store.

@Ahmedkamal295
Copy link

koyta . Thank you, the problem has been resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment