Closed little-buddy closed 10 months ago
Thanks to the community, I was able to solve this problem.😄
See Stackoverflow
Perfect solution
below
When creating a static library, a version will be packaged separately for the actual device (arm64) and the simulator (x86_64). On Intel Mac, there is no problem with the simulator using x86_64 instructions, but there will be problems on M1 Mac. After excluding the arm64 architecture, the simulator will still run in the arm64 mode, but the app in the simulator runs in the x86 mode.
I know it's the simulator architecture, but I can't keep debugging on real machines, so has anyone fixed that? Or is everyone using the real machine?
Who can help me? Simulator can't build, but device is good 😂😂😂