Post

Replies

Boosts

Views

Activity

Xcode 14.3 - is launching apps in x86_64 no longer allowed?
I saw that launching Xcode 14.3 in Rosetta is no longer allowed. Does this include running app processes in x86_64 arch? I have some snapshot tests that normally run in x86_64 arch (via setting EXCLUDED_ARCHS = "arm64". When I try this in Xcode 14.3, I get this crash when the test app host tries to launch in the simulator: ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Incident Identifier: 985D648C-E527-49B0-9D4D-4A5DCF2557F0 CrashReporter Key: 176AA0CA-224F-6BF0-5B11-C89E6E4E9523 Hardware Model: MacBookPro18,1 Process: Foo [98923] Path: /Users/USER/Library/Developer/CoreSimulator/Devices/CF27FF91-AFEA-453C-A622-FA2FCD644E9A/data/Containers/Bundle/Application/FECE196B-6964-44AB-B63B-C7B7A2DBCCEA/Foo.app/Foo Identifier: com.foo.bar Version: 1.0.0 (1) Code Type: X86-64 (Native) Role: Foreground Parent Process: Exited process [98950] Coalition: com.apple.CoreSimulator.SimDevice.CF27FF91-AFEA-453C-A622-FA2FCD644E9A [12254] Responsible Process: SimulatorTrampoline [12603] Date/Time: 2023-02-21 19:23:01.2964 -0800 Launch Time: 2023-02-21 19:22:43.1879 -0800 OS Version: macOS 13.2.1 (22D68) Release Type: User Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Triggered by Thread: 0 Thread 0 Crashed: 0 ??? 0x10572d9a8 ??? 1 ??? 0x1057ec714 ??? 2 dyld 0x2059d9d07 abort_with_payload_wrapper_internal + 82 3 dyld 0x2059d9d39 abort_with_payload + 9 4 dyld_sim 0x10dd8b8eb abort_with_payload + 26 5 dyld_sim 0x10dd4b4eb dyld4::halt(char const*) + 375 6 dyld_sim 0x10dd47c1c dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3070 7 dyld_sim 0x10dd47e42 _dyld_sim_prepare + 379 8 dyld 0x20595eff1 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1551 9 dyld 0x20595d5be dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244 10 dyld 0x20595d281 start + 2289 Thread 1:: com.apple.rosetta.exceptionserver 0 ??? 0x7ff7ffc3e614 ??? 1 ??? 0x7ff7ffc56a50 ??? Thread 2:: com.apple.rosetta.debugserver 0 ??? 0x7ff7ffc3e614 ??? 1 ??? 0x7ff7ffc56a50 ??? Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000006 rbx: 0x00000000000001eb rcx: 0x0000000000000004 rdx: 0x000000030ea288c0 rdi: 0x000000201cf81da8 rsi: 0x000000011cf6e5b0 rbp: 0x0000000000000000 rsp: 0x000000030ea284c0 r8: 0x000000030ea284c0 r9: 0x0000000000000000 r10: 0x00000000000001eb r11: 0xfefefefefefefeff r12: 0x00000000000001eb r13: 0x000000030ea288c0 r14: 0x0000000000000004 r15: 0x0000000000000006 rip: <unavailable> rfl: 0x0000000000000283 tmp0: 0xffffffffffffffff tmp1: 0x000000010572d97c tmp2: 0x00000002059d9d07 Binary Images: 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? 0x205957000 - 0x2059eefff dyld (*) <bba77709-6cad-3592-ab03-09d0f7b8610e> /usr/lib/dyld 0x10dd46000 - 0x10dd93fff dyld_sim (*) <7276a69b-e3b9-3f23-957f-061350a501b4> /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim Error Formulating Crash Report: dyld_process_snapshot_get_shared_cache failed EOF
7
2
5.3k
Feb ’23