Amplitude-iOS
Amplitude-iOS copied to clipboard
Data race in -[AMPIdentifyInterceptor transferInterceptedIdentify]
Current Behavior
Found a data race warning in [AMPIdentifyInterceptor transferInterceptedIdentify]
Steps to Reproduce
- Enable
Thread Sanitizer
in target's scheme - Run the app and see the warning
Environment
- SDK Version: 8.17.1
- Device: iPhone 14 Pro
- OS Version: iOS 17.0
Hi @charleslima, I turned Thread Sanitizer on as the following screenshots. However, I didn't see a data race warning when running the app. Is there anything else you set up?
I can see there is a data race as transferInterceptedIdentify
rans on a background queue. I will investigate more on this and keep you updated. Also we are deprecating iOS SDK gradually and will GA Swift SDK in about two weeks. As we are having a high volume of support tickets right now you could also try the Swift SDK.