Posts

Post marked as solved
12 Replies
3.5k Views
Hello. I'm having problems testing my app using Xcode13 beta 5 and iOS15 simulators. When I try to run the tests of a target that needs a host application on a iOS 15 simulator I get the following crash before the test starts: Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT) dyld_sim`getpid:   0x10ccd7765 <+0>: pushq %rbp   0x10ccd7766 <+1>: movq  %rsp, %rbp   0x10ccd7769 <+4>: leaq  0x38950(%rip), %rax    ; gSyscallHelpers   0x10ccd7770 <+11>: movq  (%rax), %rax -> 0x10ccd7773 <+14>: cmpq  $0x5, (%rax)   0x10ccd7777 <+18>: jb   0x10ccd7780        ; <+27>   0x10ccd7779 <+20>: popq  %rbp   0x10ccd777a <+21>: jmpq  *0x128(%rax)   0x10ccd7780 <+27>: callq 0x10ccd7fef        ; findHostFunctions   0x10ccd7785 <+32>: popq  %rbp   0x10ccd7786 <+33>: jmpq  *0x38fa4(%rip)      ; proc_getpid If I run the tests with Fastlane, on the console it shows: ▸ Testing failed: ▸ MYAPPTests: ▸ MYAPP (66354) encountered an error (Test runner never began executing tests after launching.) ▸ ** TEST EXECUTE FAILED ** On targets that does not need a host application it works well. And if try to run the same target with host application but on a iOS 14 simulator, it works fine. So the problem seems to be the iOS15 simulator. Any tips? Thank you!
Posted Last updated
.
Post not yet marked as solved
1 Replies
329 Views
Hello. We are facing an issue with Xcode 13.3.1. We have an application with a "large" number of integrated frameworks. We use those frameworks to modularize smalls parts of our app. Currently we have more than 200 modules. With Xcode 13.2.1 we have no problem with this number of frameworks. But with Xcode 13.3.1 out app crashes when launching on a device but on simulators it works just fine. The error that we get is: dyld[458]: unknown library ordinal -15 in /private/var/containers/Bundle/Application/B1B4B241-A959-4BAB-91F0-57D3A786EC84/AppName.app/AppName when binding '_$s2os0A4_log_3dso0B04type_ys12StaticStringV_SVSgSo03OS_a1_B0CSo0a1_b1_D2_tas7CVarArg_pdtF' After different attempts out we found that this issue was related to the amount of frameworks embebed in our app. We use Cocoapods to integrate our modules but this issue happens even if the frameworks are integrated directly on Xcode, without Cocoapods. We checked this by creating a sample project. Unfortunately the forum won't allow me to attach the project here. This is what I mean with "integrate the frameworks directly on Xcode": It crashes with Xcode 13.3.1 and 224 frameworks. This is an image of the crash: If you remove just one framework, the app starts correctly. And if you run the project with Xcode 13.2.1 and 224 frameworks, the app starts just fine. I think this issue may be related with this other question on the forum
Posted Last updated
.