aws-sdk-ios icon indicating copy to clipboard operation
aws-sdk-ios copied to clipboard

What changed from 2.35.0 to 2.36.0? I can't use xcframework binaries from 2.36.0 onwards

Open decim92 opened this issue 6 months ago • 3 comments

Hi, I use in my own framework AWSCore and AWSS3 xcframeworks but they are distributed dynamically, so host apps can install AWS from let's say cocoapods... but after 2.35.0 none of the new frameworks work (2.35.0 OK, 2.36.... Bad), they crash on app start with the following error:

If you're aware of this issue could you please help to solve it? what should I modify in my framework for this to work again?

Symbol not found: __ZN5swift34swift50override_conformsToProtocolEPKNS_14TargetMetadataINS_9InProcessEEEPKNS_24TargetProtocolDescriptorIS1_EEPFPKNS_18TargetWitnessTableIS1_EES4_S8_E
  Referenced from: <B0AE5A6D-C81B-3B87-A3E0-154C0BA09BF7> /private/var/containers/Bundle/Application/D181A6CD-2E4B-47B4-9DC1-EC991B662CC4/MyApp.app/Frameworks/MyFramework.framework/MyFramework
  Expected in:     <4B17A244-6C69-39FC-92F4-55197BDE87B5> /private/var/containers/Bundle/Application/D181A6CD-2E4B-47B4-9DC1-EC991B662CC4/MyApp.app/Frameworks/AWSCore.framework/AWSCore
dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/usr/lib/libLogRedirect.dylib:/usr/lib/libBacktraceRecording.dylib:/usr/lib/libMainThreadChecker.dylib:/usr/lib/libViewDebuggerSupport.dylib
Symbol not found: __ZN5swift34swift50override_conformsToProtocolEPKNS_14TargetMetadataINS_9InProcessEEEPKNS_24TargetProtocolDescriptorIS1_EEPFPKNS_18TargetWitnessTableIS1_EES4_S8_E
  Referenced from: <B0AE5A6D-C81B-3B87-A3E0-154C0BA09BF7> /private/var/containers/Bundle/Application/D181A6CD-2E4B-47B4-9DC1-EC991B662CC4/MyApp.app/Frameworks/MyFramework.framework/MyFramework
  Expected in:     <4B17A244-6C69-39FC-92F4-55197BDE87B5> /private/var/containers/Bundle/Application/D181A6CD-2E4B-47B4-9DC1-EC991B662CC4/MyApp.app/Frameworks/AWSCore.framework/AWSCore
dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/usr/lib/libLogRedirect.dylib:/usr/lib/libBacktraceRecording.dylib:/usr/lib/libMainThreadChecker.dylib:/usr/lib/libViewDebuggerSupport.dylib

decim92 avatar Jun 06 '25 03:06 decim92

The only change that we did was bump the minimum supported iOS version to 12.

harsh62 avatar Jun 06 '25 20:06 harsh62

Thanks for the response, it seems that way based on release notes (and skimming through the changes) but my projects use greater minimum supported version and as I said it happens even for newly created projects in latest Xcode 16.4

Did something change on compilation settings or Swift version? it would seem more plausible but I can't really know on my side

decim92 avatar Jun 07 '25 00:06 decim92

All changes between the 2 versions would be displayed here: https://github.com/aws-amplify/aws-sdk-ios/compare/2.35.0...2.36.0

tylerjroach avatar Jun 09 '25 13:06 tylerjroach