I'm trying to get an app running on the simulator that has had some problems doing so before. We don't have libjpeg.a built for i386
, but it does have x86_64
. This is the only dependency left, but I'm wondering why I actually need i386
symbols, if I'm running on an x86_64
mac.
相关问题
- Null-terminated string, opening file for reading
- NASM on Virtual Machine Ubuntu: Cannot execute bin
- How to disable system location alert in iOS simula
- Counting number of allocations into the Write Pend
- How to write into XMM Registers in LLDB
相关文章
- Is it possible to run 16 bit code in an operating
- Writing to then reading from an offscreen FBO on i
- Difference in ABI between x86_64 Linux functions a
- On a 64 bit machine, can I safely operate on indiv
- XCode 4.3.1 iPad simulator
- Unable to run app in simulator
- Does the iOS-Simulator use multiple cores?
- data movement error clarification
The iOS simulator can run your app in 32 and 64-bit modes. This is allows you to work out a lot of 64-bit issues and make sure it is ready for both armv7 and arm64. To do this, it compiles your app for i386 and x86_64 and requires the libraries for both architectures.
While these days I have tried to run Fastlane to get iOS screen capture, I found the same situation:Because there is
.a
library contains onlyx86_64
architecture,but withouti386
architecture,and then I got this error:This is running on
iPhone 8
simulator withiOS 11.4
.But you can force the simulator to run on only
64-bit
or only32-bit
as follows:iOS apps need to run on many different architectures:
actually i386 architecture is for iPhone simulator where as x86_64 architecture is for iPad simulators, both are 32 and 64bit compatible.