How to use lipo to strip simulator binaries from an xcframework?

143 views Asked by At

I have a 3rd party fat xcframework and wish to strip the emulator portion from it.

I used lipo on a .framework several years ago, however this time it's a .xcframework I am using.

This command used to work with a .framework:

lipo -info NameOfFramework.xcframework

However with the .xcframework it give the error:

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't map input file: NameOfFramework.xcframework (Invalid argument)

0

There are 0 answers