I thought that dylib files would be a solution for that
It depends on what you mean by “universal” |-:
On Apple platforms a universal Mach-O can hold multiple architectures for the same platform. However, if you want to support multiple platforms you need an XCFramework. And, critically, iOS and the iOS Simulator are different platforms, so this requirements comes up all the time.
Share and Enjoy
Quinn “The Eskimo!” @ DTS @ Apple