Post

Replies

Boosts

Views

Activity

Reply to dyld: Symbol not found: swift34swift50override_conformsToProtocol
Hi, I'm having the same problem here with Xcode 16. I've made an example project to try replicate the issue. In this example, when a build the sample app with Xcode 16 I get this same crash in launch time. The app structure is the following: App target > Depends on Dynamic Framework (pre-built) > Depends on Dynamic Framework (target created with Cocoapods) The dynamic framework was pre-built with this transitive dependency using Cocoapods but with Xcode 15, using vtool I can see this info like: ➜ vtool -arch arm64 -show DynamicFrameworkSample.framework/DynamicFrameworkSample DynamicFrameworkSample.framework/DynamicFrameworkSample (architecture arm64): Load command 8 cmd LC_BUILD_VERSION cmdsize 32 platform IOS minos 12.0 sdk 17.5 ntools 1 tool LD version 1053.12 Load command 9 cmd LC_SOURCE_VERSION cmdsize 16 version 0.0 If I recompile the framework with Xcode 16 it runs fine. I only get this crash in a real iOS device, not in simulator. I also noticed that if I recompile the framework with Xcode 15 but with iOS target 13 or later it also works fine. I was hopping that using the BUILD_LIBRARY_FOR_DISTRIBUTION flag for my pre-compiled framework I could update future versions os Xcode with no trouble. Hope this sample can help some understanding more about the problem. Maybe something wrong with Xcode 16 compiler when compatibility with older iOS is needed? In my current project I'm not able to recompile all the XCFrameworks with Xcode 16 :(
4d