Questions tagged [lipo]

`lipo` command available in `macOS` that creates or operates on multi-architecture files.

lipo command available in macOS creates or operates on multi-architecture files. It only ever produces one output file, and never alters the input file. The operations that lipo performs are: listing the architecture types in a universal file; creating a single universal file from one or more input files; thinning out a single universal file to one specified architecture type; and extracting, replacing, and/or removing architectures types from the input file to create a single new universal output file.

68 questions
4
votes
1 answer

Understanding architecture results from lipo tool

I built an Xcode project for armv7, armv7s arm64. I ran lipo -info on the resulting .a file: Architectures in the fat file: Release-iphoneos/libhlsl2glsl.a are: armv7 (cputype (12) cpusubtype (11)) (cputype (16777228) cpusubtype (0)) What is…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
3
votes
2 answers

Xcode universal library build phase - Lipo can't find files

I've read several tutorials and guides on how to have Xcode create a universal library. Basically you add an aggregate target with a bash script build phase to build the separate targets and lipo them together. I have my own small script (which…
dzan
  • 425
  • 3
  • 14
3
votes
1 answer

Xcode 7.1.1 - fatal error : lipo: can't open input file

I'm getting fatal error: lipo: can't open input file: /Users/.../libABC.a (No such file or directory) I've cross-checked this file exists in same location after checking with 'Show in Finder' I'm getting this error while building library. I've…
Jayprakash Dubey
  • 35,723
  • 18
  • 170
  • 177
3
votes
1 answer

Lipo error for release build config for OS X and iOS project with swift

I have a project (Flappy Thing) which has iOS (Flappy-Thing-iOS) and OS X (Flappy-Thing-OSX) targets using entirely swift (no obj-c). I am using Xcode 6.1.1. When I run the app on my mac or the simulator it compiles and runs fine without any errors.…
user4233369
3
votes
2 answers

Library fat file not work

I'm trying to use fat file for Boost 1.54.0 in my iOS project. Here is info about result file from lipo -detailed_info command: Fat header in: boost.framework/boost fat_magic 0xcafebabe nfat_arch 5 architecture armv7 cputype CPU_TYPE_ARM …
John Tracid
  • 3,836
  • 3
  • 22
  • 33
3
votes
1 answer

Where has Lipo tool gone in XCode 4/5?

I had lipo on my command-line - I think as a left-over from XCode 3.2. I removed that old version today and now my scripts using LIPO=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo don't work! Where can I find the location of Lipo now…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
2
votes
1 answer

Cannot lipo arm64 .a files of iOS device with iOS simulator on Apple Silicon

Shell commands as below, $ lipo -info libyuv-device.a Architectures in the fat file: device/libyuv.a are: armv7 arm64 $ lipo -info libyuv-simulator.a Architectures in the fat file: simulator/libyuv.a are: arm64 x86_64 $ lipo -create libyuv-device.a…
Smeegol
  • 2,014
  • 4
  • 29
  • 44
2
votes
0 answers

error: lipo: not files specified when trying to run the project

im getting this error when I compile the project. This only happens to me. My other co-workers doesn't have this issue. error: lipo: no input files specified usage: lipo [ ...] command is one of: -archs …
2
votes
0 answers

Xcode 10 fatal error: lipo: can't open input file

I'm building a static library in objective-c, in Xcode 9 I could build without problem but I'm blocked in Xcode 10. Initially I had these two problems that I resolved with the answers below Xcode 10 Error: Multiple commands produce Xcode 10: unable…
Alex
  • 21
  • 1
  • 2
2
votes
0 answers

Linking error with cocoapods on simulator and device: Dsymutil

I have a project that recently, inexplicably stopped being able to run on both the simulator and the device. Everything compiles normally but there are two linker errors that occur. The first is a lipo…
Mason
  • 6,893
  • 15
  • 71
  • 115
2
votes
0 answers

xcode iOS CreateUniversalBinary failed: file too large to create as a fat file

I recently add quite a lot of code to my iOS static library project. I always create universal binary that support all platforms (from iPhone4S to the current iPhone7) but after addition of the codes (which increase the .a size) results in:…
Zennichimaro
  • 5,236
  • 6
  • 54
  • 78
2
votes
0 answers

Packaging static iOS libraries together on command line

I have a static iOS library built for armv7 and arm64, let's call it foo.a. It has dependencies on abc.a and def.a, which I have in armv7 and arm64 versions. I would like to package these together into one static library, so you can just use foo.a…
Sossisos
  • 1,569
  • 2
  • 10
  • 19
2
votes
1 answer

ERROR ITMS-90085: "No architectures in the binary. Lipo failed to detect any architectures in the bundle executable." Uploading Error

I use relatedSDK for Firebase integration and while uploading App I encounter this error. ERROR ITMS-90085: "No architectures in the binary. Lipo failed to detect any architectures in the bundle executable." ERROR ITMS-90085: "No architectures in…
Ankit Sharma
  • 251
  • 2
  • 9
2
votes
1 answer

iOS - static library framework size is very big opposed to dynamic embedded framework

I created a static library (framework) using the following tutorial https://github.com/jverkoey/iOS-Framework. The size of the framework is huge - about 220 MB. When I instead create a dynamic embedded framework , the size is only ~12MB. Important…
Avba
  • 14,822
  • 20
  • 92
  • 192
2
votes
2 answers

Realm framework error with Strip: Stripping frameworks fatal error: lipo: -remove's specified would result in an empty fat file

I am having an ugly error since I've updated the Realm.framework. The error is: Stripping frameworks fatal error: lipo: -remove's specified would result in an empty fat file If I select the box for "Run script only when installing" in build…
jim
  • 69
  • 9