When I archive my iOS app with Xcode 13.3 RC and run it on macOS Big Sur, the app crashes on launch with a DYDL error:
Termination Reason: DYLD, [0x1] Library missing
Dyld Error Message:
dyld: Using shared cache: 331F452F-2BAE-3A64-AD52-0029F44B1379
dependent dylib '@rpath/SomeFramework.framework/SomeFramework' not found for '/private/var/folders/*/SomeApp.app/SomeApp'. chained fixups, seg_count exceeds number of segments
The app runs fine on macOS Monterey and on iOS 13, 14, 15. The LD_RUNPATH_SEARCH_PATH
in the build settings is correct and when inspecting the binary with otool -l
the LC_RPATH
entries are also correct.
When archiving the app with Xcode 13.2.1, it runs fine on macOS Big Sur.
Has anybody experienced the same and knows a workaround?
I've filed a feedback: FB9951126