dd-sdk-ios
dd-sdk-ios copied to clipboard
Crash at launch time, when I add DatadogCore as my transitive dependency.
Stack trace
dyld[1010]: Symbol not found: _$s11DatadogCore0A0O13ConfigurationV15UploadFrequencyO7averageyA2GmFWC
Referenced from: <C343A7F8-1819-3F93-BAEA-E70B3F7FEEA4> /private/var/containers/Bundle/Application/8BCBAE8F-EF7A-455B-8650-77EBC0438D54/SqeOcrSDK.app/Frameworks/SqeIdFramework.framework/SqeIdFramework
Expected in: <3D0D2D15-093D-3117-AF50-C94C5DD73588> /private/var/containers/Bundle/Application/8BCBAE8F-EF7A-455B-8650-77EBC0438D54/SqeOcrSDK.app/Frameworks/DatadogCore.framework/DatadogCore
Reproduction steps
- Create a pod with xcframework inside, and this pod has dependency DatadogCore.
- Install that pod with pod install
- Run the app
- Crash with Symbol not found issue
Volume
100%
Affected SDK versions
2.16.0
Latest working SDK version
0
Does the crash manifest in the latest SDK version?
Yes
Deployment Target
No response
Device Information
No response
Other relevant information
This is my sqeid podspec
Pod::Spec.new do |s|
s.name = 'SqeIdFramework'
s.version = '7.4.0'
s.summary = 'SDK for authentication accross Sinarmas Business Unit'
s.pod_target_xcconfig = {
'PRODUCT_BUNDLE_IDENTIFIER': 'id.co.sqe.sqeid',
'CFBundleShortVersionString': s.version.to_s
}
s.swift_version = '5.0'
s.vendored_frameworks = 'Frameworks/SqeIdFramework.xcframework', 'Frameworks/JWTDecode.xcframework'
s.dependency 'Amplitude', '8.19.2'
s.dependency 'Sentry', '8.17.1'
s.dependency 'DatadogCore', '2.16.0'
s.dependency 'DatadogLogs', '2.16.0'
end