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
hey @provTheodoreNewell 👋 thanks for reporting the issue!
we made a fix and are planning to ship it as a hotfix
i'll keep you posted once this is done
The issue
we use some FileHandle methods which are only available in iOS 13.4+ and Xcode 11.3.1 has an inferior base SDK version
as a fix, we wrap this code with #if compiler(>=5.2) ... #else ... #endif; compiler(5.2) means Xcode 11.4 whose base SDK is iOS 13.4
in your case, Xcode 11.3.1, compiler shouldn't see those new methods and should compile the #else scope
The issue
Compilation fails with 5 issues in a new Xcode 11.3.1 project with DataDog SDK 1.3.0:
Value of type 'FileHandle' has no member 'seekToEnd'
in File.swift line 62Extraneous argument label 'contentsOf:' in call
in File.swift line 63Replace 'contentsOf: ' with ''
Value of type 'FileHandle' has no member 'readToEnd'
in File.swift line 94Ambiguous reference to member 'swizzle(using:)'
in URLSessionSwizzler.swift line 68Ambiguous reference to member 'swizzle(using:)'
in URLSessionSwizzler.swift line 109Datadog SDK version: 1.3.0
Last working Datadog SDK version: 1.2.4
Dependency Manager: Cocoapods 1.9.3
Other toolset: n/a
Xcode version: Xcode 11.3.1 (11C505)
Swift version: 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
Deployment Target: iOS 13.2, iPhone + iPad
macOS version: macOS Catalina 10.15.5 (19F101)
The text was updated successfully, but these errors were encountered: