Add Accept-Language Header Support #139
Xcode test results
Build Summary
Verify Modularization of PingOrchestrate.framework
Compile Request.swift (x86_64)
Compile BrowserLauncher.swift (x86_64)
Verify Modularization of PingOidc.framework
Compile OidcClient.swift (x86_64)
Compile WorkflowTests.swift (x86_64)
error: Swift Compiler Error: Cannot convert value of type 'Int' to expected argument type '(()) -> (Void)'
error: Swift Compiler Error: Type of expression is ambiguous without a type annotation
error: Swift Compiler Error: Cannot convert value of type 'Int' to expected argument type '(()) -> (Void)'
error: Swift Compiler Error: Cannot convert value of type 'Int' to expected argument type '(()) -> (Void)'
/Users/runner/work/ping-ios-sdk/ping-ios-sdk/Orchestrate/OrchestrateTests/WorkflowTests.swift:98:38: error: cannot convert value of type 'Int' to expected argument type '(()) -> (Void)'
config.module(forceAuth, 1)
^
/Users/runner/work/ping-ios-sdk/ping-ios-sdk/Orchestrate/OrchestrateTests/WorkflowTests.swift:115:9: error: type of expression is ambiguous without a type annotation
XCTAssertEqual((moduleRegistry?.config as? CustomHeaderConfig)?.headerValue, "iOS-SDK")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/ping-ios-sdk/ping-ios-sdk/Orchestrate/OrchestrateTests/WorkflowTests.swift:211:38: error: cannot convert value of type 'Int' to expected argument type '(()) -> (Void)'
config.module(forceAuth, 2)
^
/Users/runner/work/ping-ios-sdk/ping-ios-sdk/Orchestrate/OrchestrateTests/WorkflowTests.swift:230:38: error: cannot convert value of type 'Int' to expected argument type '(()) -> (Void)'
config.module(forceAuth, 2)
^
Compile CookieModuleTests.swift (x86_64)
Compile ResponseTests.swift (x86_64)
Compile ModuleTests.swift (x86_64)
Compile MockURLProtocol.swift (x86_64)
Compile NodeTests.swift (x86_64)
Compile RequestTests.swift (x86_64)
Compiling OrchestrateTests.swift
error: Command SwiftCompile failed with a nonzero exit code
Command SwiftCompile failed with a nonzero exit code
Annotations
github-actions / Test Results macos-14-large - x86_64
error
Cannot convert value of type 'Int' to expected argument type '(()) -> (Void)'
github-actions / Test Results macos-14-large - x86_64
error
Type of expression is ambiguous without a type annotation
github-actions / Test Results macos-14-large - x86_64
error
Cannot convert value of type 'Int' to expected argument type '(()) -> (Void)'
github-actions / Test Results macos-14-large - x86_64
error
Cannot convert value of type 'Int' to expected argument type '(()) -> (Void)'