lipo cannot create a classic fat archive with arm64 simulator and
arm64 device slices - since they are the same architecture.
This requires .xcframework support which is not yet supported by XI
and XM.
However we can tweak the build to do:
x86_64 only for simulator, which is the only support arch for XI today
arm64 for devices
and that makes lipo happy and we can continue to have this sample under
test automation.
Note: the original .a names were incorrect as they did not match the
architectures that were present in the files. I changed them to mention
the platform.
Xcode 12.2
arm64
to the simulator architecturesi386
from the simulator architectureslipo
cannot create a classic fat archive witharm64
simulator andarm64
device slices - since they are the same architecture.This requires
.xcframework
support which is not yet supported by XI and XM.However we can tweak the build to do:
and that makes
lipo
happy and we can continue to have this sample under test automation.Note: the original
.a
names were incorrect as they did not match the architectures that were present in the files. I changed them to mention the platform.