We have a project using VisaCheckoutSDK with Cocoapods, but we need to migrate to XCode13 to support iOS15, all good with the simulators but when we need to archive the project for distribution, we get the following error:
fatal error: lipo: input file (/Users/juvsgamer/Library/Developer/Xcode/DerivedData/tutag-gpywspxiwspxnycnbkvokvboppsh/Build/Intermediates.noindex/ArchiveIntermediates/tutag/InstallationBuildProductsLocation/Applications/tutag.app/Frameworks/VisaCheckoutSDK.framework/VisaCheckoutSDK) must be a fat file when the -extract option is specified fatal error: lipo: can't open input file: /Users/juvsgamer/Library/Developer/Xcode/DerivedData/tutag-gpywspxiwspxnycnbkvokvboppsh/Build/Intermediates.noindex/ArchiveIntermediates/tutag/InstallationBuildProductsLocation/Applications/tutag.app/Frameworks/VisaCheckoutSDK.framework/VisaCheckoutSDK-arm64 (No such file or directory) rm: /Users/juvsgamer/Library/Developer/Xcode/DerivedData/tutag-gpywspxiwspxnycnbkvokvboppsh/Build/Intermediates.noindex/ArchiveIntermediates/tutag/InstallationBuildProductsLocation/Applications/tutag.app/Frameworks/VisaCheckoutSDK.framework/VisaCheckoutSDK-arm64: No such file or directory mv: rename /Users/juvsgamer/Library/Developer/Xcode/DerivedData/tutag-gpywspxiwspxnycnbkvokvboppsh/Build/Intermediates.noindex/ArchiveIntermediates/tutag/InstallationBuildProductsLocation/Applications/tutag.app/Frameworks/VisaCheckoutSDK.framework/VisaCheckoutSDK-merged to /Users/juvsgamer/Library/Developer/Xcode/DerivedData/tutag-gpywspxiwspxnycnbkvokvboppsh/Build/Intermediates.noindex/ArchiveIntermediates/tutag/InstallationBuildProductsLocation/Applications/tutag.app/Frameworks/VisaCheckoutSDK.framework/VisaCheckoutSDK: No such file or directory
Sounds like the Cocoapods version is missing the arm-64 flavor.
Our workaround was to remove from our Pods, download the zip from the Assets section in the Dashboard and include to our project "manually", we don't like this option because we need to include all "the framework" to our source control code, but at least we are able to generate the archive file.
So, my question is: Could you include arm-64 flavor to Cocoapods? Or which are the configurations need on the pods project to fix this?
Hi, @Juvenal_Guzman. Thank you for your question! Our agent is looking into this and will get back to you with more information as soon as possible. -Jenn
What environment are you getting the Visa Checkout error in (e.g. sandbox, certification, production)?
We are in production, but this error is related to development, in Xcode 13 IDE, let's say is on the source.
I have reached out to our Visa Digital Support team and asked them to investigate the error.
Please share your account API key with us for further investigation of the error.
What is your account API key? I'll need this information to investigate the error.
Here's the API key:
I don't see how is related the API with the compile process on Xcode 13, remember is a building problem using CocoaPods on Xcode, specifically when making the archive to distribute the app.
Thanks for providing the API key. Our digital support team is investigating the issue.