Caching remote config to disk #448
Xcode test results
Build Summary
Compile RemoteConfigFetcherTests.swift (arm64)
warning: No-usage: Initialization of immutable value 'headers' was never used; consider replacing with assignment to '_' or removing it
error: Swift Compiler Error: Contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body
error: Swift Compiler Error: Contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body
embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift:111:13: warning: initialization of immutable value 'headers' was never used; consider replacing with assignment to '_' or removing it
let headers = try XCTUnwrap(request.allHTTPHeaderFields)
~~~~^~~~~~~
_
embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift:149:25: error: contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body
fetcher.fetch { payload in
^
,<#arg#>
embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift:167:25: error: contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body
fetcher.fetch { payload in
^
,<#arg#>
Compile RemoteConfigPayloadTests.swift (arm64)
Compile SessionIdentifierTests.swift (arm64)
Compile UUID+WithoutHyphenTests.swift (arm64)
Compile LogTypeDeclarationTests.swift (arm64)
Compile EmbraceConfigInternalTests (arm64)
Annotations
github-actions / Test Results
warning
Initialization of immutable value 'headers' was never used; consider replacing with assignment to '_' or removing it
github-actions / Test Results
error
Contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body
github-actions / Test Results
error
Contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body