lipo

Xcode 12.3: Building for iOS Simulator, but the linked and embedded framework was built for iOS + iOS Simulator [duplicate]

二次信任 提交于 2020-12-27 07:52:28
问题 This question already has answers here : Building for iOS Simulator, but the linked framework '****.framework' was built for iOS (8 answers) Closed 10 days ago . I have an app using a linked and embedded custom framework. The app built properly for iOS devices and simulators until Xcode 12.2. Starting from Xcode 12.3 however, I'm getting the following error: Building for iOS Simulator, but the linked and embedded framework 'My.framework' was built for iOS + iOS Simulator. The framework is

xcrun/lipo freezes with OS X Mavericks and XCode 4.x

懵懂的女人 提交于 2020-01-19 04:46:09
问题 Been trying to install psycopg2 with either easy_install or pip, and the terminal gets stuck in a loop between xcrun and lipo. sidwyn$ sudo easy_install psycopg2 Searching for psycopg2 Reading https://pypi.python.org/simple/psycopg2/ Reading http://initd.org/psycopg/ Reading http://initd.org/projects/psycopg2 Best match: psycopg2 2.5.1 Downloading https://pypi.python.org/packages/source/p/psycopg2/psycopg2-2.5.1.tar.gz#md5=1b433f83d50d1bc61e09026e906d84c7 Processing psycopg2-2.5.1.tar.gz

Does lipo increase final binary size?

半腔热情 提交于 2020-01-06 08:16:29
问题 I know I can use lipo to create a universal static library that I can then include in my project. It's convenient because it builds for the simulator or device, but will it make my project's archive bigger than if I had (a) included the static library built for device only or (b) made the static library project a subproject of my project? 来源: https://stackoverflow.com/questions/22489812/does-lipo-increase-final-binary-size

How to check if a static library is built for 64-bit?

一笑奈何 提交于 2019-12-28 07:30:21
问题 I just built a static library for iOS with the build setting for Architectures set to $(ARCHS_STANDARD_INCLUDING_64_BIT) . I want to make sure that the .a library is properly including that architecture, but when i run lipo -info on it, I see: Architectures in the fat file: library.a are: armv7 armv7s (cputype (16777228) cpusubtype (0)) Does this mean that arm64 isn't included? If the lipo command can't tell me, is there another way to tell? I'm running Xcode 5 with the latest Command Line

How to check if a static library is built for 64-bit?

落爺英雄遲暮 提交于 2019-12-28 07:30:04
问题 I just built a static library for iOS with the build setting for Architectures set to $(ARCHS_STANDARD_INCLUDING_64_BIT) . I want to make sure that the .a library is properly including that architecture, but when i run lipo -info on it, I see: Architectures in the fat file: library.a are: armv7 armv7s (cputype (16777228) cpusubtype (0)) Does this mean that arm64 isn't included? If the lipo command can't tell me, is there another way to tell? I'm running Xcode 5 with the latest Command Line

How to make Xcode Run Script x86_64 compatible

南笙酒味 提交于 2019-12-25 08:56:37
问题 Hello hello community! So here is my issue, welll not really an issue but the following Run Script compiles my static library and it works great! my only issue is that it doesnt compile it for the simulator and i get a x86_64 error. I know that i could just edit this code to make it compatible can someone tell me what i need to do?? # define output folder environment variable UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal # Step 1. Build Device and Simulator versions

input file XXXX must be a fat file when the -remove option is specified

馋奶兔 提交于 2019-12-12 05:24:22
问题 I am trying to publish our app to testflight/appstore by fastlane and i get these two errors: fatal error: lipo: input file (==FILEPATH==/CommonCrypto.framework/CommonCrypto) must be a fat file when the -remove option is specified fatal error: lipo: can't open input file: ==FILEPATH==/Frameworks/CommonCrypto.framework/CommonCrypto (No such file or directory) Before i got these errors i got lot of "Unsupported Architectures" errors. ERROR ITMS-90087: "Unsupported Architectures. The executable

Understanding architecture results from lipo tool

自闭症网瘾萝莉.ら 提交于 2019-12-11 03:56:51
问题 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 this telling me? 回答1: It's display cputype and cpusubtype that you gets by using the functions sysctl or syctlbyname . See mach/machine.h for defined values : for cputype , 12 is for ARM CPU #define CPU_TYPE_ARM ((cpu_type_t) 12) 16777228 (aka 0x100000C)