Xcode 13.3.1 crash launching app on device with certain number of embeeded frameworks

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

I think this issue may be related with this other question on the forum

Agreed. I’ll respond over there.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I forgot to mention that this issue happens on iOS15. I do not have a device with iOS14 to test if it happens on iOS14 too.

Xcode 13.3.1 crash launching app on device with certain number of embeeded frameworks
 
 
Q