You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
You get the below error when fetching a value for a variation let myBool = LDClient.get()?.variation(forKey: "myKey", defaultValue: true) ?? true Ambiguous use of 'variation(forKey:defaultValue:)'
To reproduce
Upgrade to Xcode Version 12.0 (12A7209)
Expected behavior
No warnings or errors should appear with Xcode 12
SDK version
pod 'LaunchDarkly', '5.1.0'
OS/platform
MacOS 10.15.6 (19G2021)
The text was updated successfully, but these errors were encountered:
To help ease the upgrade path, we are going to allow consumers of the
SDK to continue providing LDUser objects to key methods in the LDClient
instead of the newer LDContext type.
Describe the bug
You get the below error when fetching a value for a variation
let myBool = LDClient.get()?.variation(forKey: "myKey", defaultValue: true) ?? true
Ambiguous use of 'variation(forKey:defaultValue:)'
To reproduce
Upgrade to Xcode
Version 12.0 (12A7209)
Expected behavior
No warnings or errors should appear with Xcode 12
SDK version
pod 'LaunchDarkly', '5.1.0'
OS/platform
MacOS 10.15.6 (19G2021)
The text was updated successfully, but these errors were encountered: