Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OIDExternalUserAgentIOSCustomBrowser on iOS 10+ #871

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

loic-sharma
Copy link
Contributor

@loic-sharma loic-sharma commented Aug 19, 2024

UIApplication openURL: is deprecated and has no effect.

On iOS 10.0+, UIApplication openURL:options:completionHandler: should be used instead.

I am contributing on behalf of Google, which has a CLA with the OpenID Foundation.

Relevant issue: #703

@loic-sharma
Copy link
Contributor Author

loic-sharma commented Sep 11, 2024

@yalkhder Do you know why the tests / spm-build-test (pull request) check failed?

I tried the check's steps on my machine, that passed:

`swift test` output...
loicsharma-macbookpro:AppAuth-iOS loicsharma$ swift build
Building for debugging...
[45/45] Compiling OIDAuthorizationService+Mac.m
Build complete! (3.71s)
loicsharma-macbookpro:AppAuth-iOS loicsharma$ swift test --enable-code-coverage
warning: 'appauth-ios': found 22 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDScopesTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDTokenRequestTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRegistrationRequestTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDURLQueryComponentTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDURLQueryComponentTestsIOS7.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthStateTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDURLSessionProviderTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDTokenResponseTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/AppAuthTV/OIDTVAuthorizationRequestTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceDiscoveryTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDTokenUtilitiesTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/AppAuthTV/OIDTVAuthorizationResponseTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/AppAuthTV/OIDTVTokenRequestTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthorizationRequestTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthorizationResponseTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDGrantTypesTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDResponseTypesTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRegistrationResponseTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/UnitTestsInfo.plist
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceConfigurationTests.m
    /Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDEndSessionRequestTests.m
Building for debugging...
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDTokenResponseTests.m:178:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  178 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:response];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDTokenResponseTests.m:179:55: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  179 |   OIDTokenResponse *responseCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                       ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceConfigurationTests.m:366:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  366 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:configuration];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceConfigurationTests.m:367:60: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  367 |   OIDServiceConfiguration *unarchived = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                            ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/AppAuthTV/OIDTVAuthorizationRequestTests.m:183:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  183 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:authRequest];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/AppAuthTV/OIDTVAuthorizationRequestTests.m:184:67: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  184 |   OIDTVAuthorizationRequest *authRequestCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/AppAuthTV/OIDTVTokenRequestTests.m:171:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  171 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:request];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/AppAuthTV/OIDTVTokenRequestTests.m:172:58: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  172 |   OIDTVTokenRequest *requestDecoded = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                          ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDTokenRequestTests.m:281:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  281 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:request];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDTokenRequestTests.m:282:53: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  282 |   OIDTokenRequest *requestCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                     ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRegistrationResponseTests.m:122:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  122 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:response];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRegistrationResponseTests.m:123:62: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  123 |   OIDRegistrationResponse *responseCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                              ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDEndSessionRequestTests.m:100:37: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  100 |     NSData *data = [NSKeyedArchiver archivedDataWithRootObject:request];
      |                                     ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDEndSessionRequestTests.m:101:60: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  101 |     OIDEndSessionRequest *requestCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                            ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRegistrationRequestTests.m:145:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  145 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:request];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRegistrationRequestTests.m:146:60: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  146 |   OIDRegistrationRequest *requestCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                            ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthorizationResponseTests.m:161:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  161 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:response];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthorizationResponseTests.m:162:63: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  162 |   OIDAuthorizationResponse *responseCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                               ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthStateTests.m:207:37: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  207 |   XCTAssertNoThrow([NSKeyedArchiver archivedDataWithRootObject:authstate], @"");
      |                                     ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthStateTests.m:361:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  361 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:authState];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthStateTests.m:362:52: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  362 |   OIDAuthState *authStateCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                    ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthStateTests.m:378:27: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  378 |   data = [NSKeyedArchiver archivedDataWithRootObject:authState];
      |                           ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthStateTests.m:380:38: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  380 |   authStateCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                      ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
5 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/AppAuthTV/OIDTVAuthorizationResponseTests.m:240:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  240 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:response];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/AppAuthTV/OIDTVAuthorizationResponseTests.m:241:65: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  241 |   OIDTVAuthorizationResponse *responseCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                                 ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthorizationRequestTests.m:325:35: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  325 |   NSData *data = [NSKeyedArchiver archivedDataWithRootObject:request];
      |                                   ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDAuthorizationRequestTests.m:326:61: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  326 |   OIDAuthorizationRequest *requestCopy = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                                             ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
2 warnings generated.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceDiscoveryTests.m:456:29: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  456 |     data = [NSKeyedArchiver archivedDataWithRootObject:discovery];
      |                             ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceDiscoveryTests.m:465:37: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  465 |     unarchived = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                     ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceDiscoveryTests.m:486:29: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  486 |     data = [NSKeyedArchiver archivedDataWithRootObject:discovery];
      |                             ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceDiscoveryTests.m:501:37: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  501 |     unarchived = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                     ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceDiscoveryTests.m:522:29: warning: 'archivedDataWithRootObject:' is deprecated: first deprecated in macOS 10.14 - Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [-Wdeprecated-declarations]
  522 |     data = [NSKeyedArchiver archivedDataWithRootObject:discovery];
      |                             ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:47:1: note: 'archivedDataWithRootObject:' has been explicitly marked deprecated here
   47 | + (NSData *)archivedDataWithRootObject:(id)rootObject API_DEPRECATED("Use +archivedDataWithRootObject:requiringSecureCoding:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDServiceDiscoveryTests.m:537:37: warning: 'unarchiveObjectWithData:' is deprecated: first deprecated in macOS 10.14 - Use +unarchivedObjectOfClass:fromData:error: instead [-Wdeprecated-declarations]
  537 |     unarchived = [NSKeyedUnarchiver unarchiveObjectWithData:data];
      |                                     ^
/Applications/Xcode_16_rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:154:1: note: 'unarchiveObjectWithData:' has been explicitly marked deprecated here
  154 | + (nullable id)unarchiveObjectWithData:(NSData *)data API_DEPRECATED("Use +unarchivedObjectOfClass:fromData:error: instead", macosx(10.2,10.14), ios(2.0,12.0), watchos(2.0,5.0), tvos(9.0,12.0));
      | ^
6 warnings generated.
[31/31] Linking AppAuthPackageTests
Build complete! (15.24s)
Test Suite 'All tests' started at 2024-09-11 13:12:22.761.
Test Suite 'AppAuthPackageTests.xctest' started at 2024-09-11 13:12:22.761.
Test Suite 'OIDAuthStateTests' started at 2024-09-11 13:12:22.761.
Test Case '-[OIDAuthStateTests testCodeFlowLifecycle]' started.
Test Case '-[OIDAuthStateTests testCodeFlowLifecycle]' passed (0.001 seconds).
Test Case '-[OIDAuthStateTests testErrorDelegates]' started.
Test Case '-[OIDAuthStateTests testErrorDelegates]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testErrorState]' started.
Test Case '-[OIDAuthStateTests testErrorState]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testIsTokenFreshHandlesTokenWithoutExpirationTime]' started.
Test Case '-[OIDAuthStateTests testIsTokenFreshHandlesTokenWithoutExpirationTime]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testIsTokenFreshRespectsTokenRefreshOverride]' started.
Test Case '-[OIDAuthStateTests testIsTokenFreshRespectsTokenRefreshOverride]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testIsTokenFreshWithExpiredToken]' started.
Test Case '-[OIDAuthStateTests testIsTokenFreshWithExpiredToken]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testIsTokenFreshWithFreshToken]' started.
Test Case '-[OIDAuthStateTests testIsTokenFreshWithFreshToken]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testNonCompliantNSCodingNSErrors]' started.
Test Case '-[OIDAuthStateTests testNonCompliantNSCodingNSErrors]' passed (0.001 seconds).
Test Case '-[OIDAuthStateTests testSecureCoding]' started.
Test Case '-[OIDAuthStateTests testSecureCoding]' passed (0.001 seconds).
Test Case '-[OIDAuthStateTests testStateChangeDelegates]' started.
Test Case '-[OIDAuthStateTests testStateChangeDelegates]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testThatRefreshTokenExceptionWillBeRaisedForTokenRequestWithAdditionalHeaders]' started.
Test Case '-[OIDAuthStateTests testThatRefreshTokenExceptionWillBeRaisedForTokenRequestWithAdditionalHeaders]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testThatRefreshTokenExceptionWillBeRaisedForTokenRequestWithAdditionalParameters]' started.
Test Case '-[OIDAuthStateTests testThatRefreshTokenExceptionWillBeRaisedForTokenRequestWithAdditionalParameters]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testThatRefreshTokenExceptionWillBeRaisedForTokenRequestWithAdditionalParametersAndHeaders]' started.
Test Case '-[OIDAuthStateTests testThatRefreshTokenExceptionWillBeRaisedForTokenRequestWithAdditionalParametersAndHeaders]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testUpdateWithAuthorizationResponseBothSuccessAndError]' started.
Test Case '-[OIDAuthStateTests testUpdateWithAuthorizationResponseBothSuccessAndError]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testUpdateWithAuthorizationResponseOAuthError]' started.
Test Case '-[OIDAuthStateTests testUpdateWithAuthorizationResponseOAuthError]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testUpdateWithAuthorizationResponseSuccess]' started.
Test Case '-[OIDAuthStateTests testUpdateWithAuthorizationResponseSuccess]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testUpdateWithAuthorizationResponseTransientError]' started.
2024-09-11 13:12:22.766 xctest[23421:14167750] -[NSError init] called; this results in an invalid NSError instance. It will raise an exception in a future release. Please call errorWithDomain:code:userInfo: or initWithDomain:code:userInfo:. This message shown only once.
Test Case '-[OIDAuthStateTests testUpdateWithAuthorizationResponseTransientError]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testupdateWithRegistrationResponse]' started.
Test Case '-[OIDAuthStateTests testupdateWithRegistrationResponse]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testUpdateWithTokenResponseBothSuccessAndError]' started.
Test Case '-[OIDAuthStateTests testUpdateWithTokenResponseBothSuccessAndError]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testUpdateWithTokenResponseOAuthError]' started.
Test Case '-[OIDAuthStateTests testUpdateWithTokenResponseOAuthError]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testUpdateWithTokenResponseSuccess]' started.
Test Case '-[OIDAuthStateTests testUpdateWithTokenResponseSuccess]' passed (0.000 seconds).
Test Case '-[OIDAuthStateTests testUpdateWithTokenResponseTransientError]' started.
Test Case '-[OIDAuthStateTests testUpdateWithTokenResponseTransientError]' passed (0.000 seconds).
Test Suite 'OIDAuthStateTests' passed at 2024-09-11 13:12:22.768.
	 Executed 22 tests, with 0 failures (0 unexpected) in 0.006 (0.006) seconds
Test Suite 'OIDAuthorizationRequestTests' started at 2024-09-11 13:12:22.768.
Test Case '-[OIDAuthorizationRequestTests testCopying]' started.
Test Case '-[OIDAuthorizationRequestTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDAuthorizationRequestTests testDisallowedCharactersInScopes]' started.
2024-09-11 13:12:22.767 xctest[23421:14167750] *** Assertion failure in +[OIDScopeUtilities scopesWithArray:], OIDScopeUtilities.m:46
2024-09-11 13:12:22.768 xctest[23421:14167750] *** Assertion failure in +[OIDScopeUtilities scopesWithArray:], OIDScopeUtilities.m:46
2024-09-11 13:12:22.768 xctest[23421:14167750] *** Assertion failure in +[OIDScopeUtilities scopesWithArray:], OIDScopeUtilities.m:46
2024-09-11 13:12:22.768 xctest[23421:14167750] *** Assertion failure in +[OIDScopeUtilities scopesWithArray:], OIDScopeUtilities.m:46
Test Case '-[OIDAuthorizationRequestTests testDisallowedCharactersInScopes]' passed (0.001 seconds).
Test Case '-[OIDAuthorizationRequestTests testExternalUserAgentMethods]' started.
Test Case '-[OIDAuthorizationRequestTests testExternalUserAgentMethods]' passed (0.000 seconds).
Test Case '-[OIDAuthorizationRequestTests testNonceInitializer]' started.
Test Case '-[OIDAuthorizationRequestTests testNonceInitializer]' passed (0.000 seconds).
Test Case '-[OIDAuthorizationRequestTests testPKCEVerifierCompliance]' started.
Test Case '-[OIDAuthorizationRequestTests testPKCEVerifierCompliance]' passed (0.005 seconds).
Test Case '-[OIDAuthorizationRequestTests testPKCEVerifierRecommendations]' started.
Test Case '-[OIDAuthorizationRequestTests testPKCEVerifierRecommendations]' passed (0.000 seconds).
Test Case '-[OIDAuthorizationRequestTests testScopeInitializerWithManyScopesAndClientSecret]' started.
Test Case '-[OIDAuthorizationRequestTests testScopeInitializerWithManyScopesAndClientSecret]' passed (0.000 seconds).
Test Case '-[OIDAuthorizationRequestTests testScopeInitializerWithManyScopesAndNoClientSecret]' started.
Test Case '-[OIDAuthorizationRequestTests testScopeInitializerWithManyScopesAndNoClientSecret]' passed (0.000 seconds).
Test Case '-[OIDAuthorizationRequestTests testSecureCoding]' started.
Test Case '-[OIDAuthorizationRequestTests testSecureCoding]' passed (0.000 seconds).
Test Case '-[OIDAuthorizationRequestTests testSupportedResponseTypes]' started.
2024-09-11 13:12:22.775 xctest[23421:14167750] *** Assertion failure in -[OIDAuthorizationRequest initWithConfiguration:clientId:clientSecret:scope:redirectURL:responseType:state:nonce:codeVerifier:codeChallenge:codeChallengeMethod:additionalParameters:], OIDAuthorizationRequest.m:147
2024-09-11 13:12:22.775 xctest[23421:14167750] *** Assertion failure in -[OIDAuthorizationRequest initWithConfiguration:clientId:clientSecret:scope:redirectURL:responseType:state:nonce:codeVerifier:codeChallenge:codeChallengeMethod:additionalParameters:], OIDAuthorizationRequest.m:147
Test Case '-[OIDAuthorizationRequestTests testSupportedResponseTypes]' passed (0.000 seconds).
Test Suite 'OIDAuthorizationRequestTests' passed at 2024-09-11 13:12:22.775.
	 Executed 10 tests, with 0 failures (0 unexpected) in 0.007 (0.007) seconds
Test Suite 'OIDAuthorizationResponseTests' started at 2024-09-11 13:12:22.775.
Test Case '-[OIDAuthorizationResponseTests testCopying]' started.
Test Case '-[OIDAuthorizationResponseTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDAuthorizationResponseTests testSecureCoding]' started.
Test Case '-[OIDAuthorizationResponseTests testSecureCoding]' passed (0.000 seconds).
Test Suite 'OIDAuthorizationResponseTests' passed at 2024-09-11 13:12:22.776.
	 Executed 2 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'OIDEndSessionRequestTests' started at 2024-09-11 13:12:22.776.
Test Case '-[OIDEndSessionRequestTests testCopying]' started.
Test Case '-[OIDEndSessionRequestTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDEndSessionRequestTests testLogoutRequestURL]' started.
Test Case '-[OIDEndSessionRequestTests testLogoutRequestURL]' passed (0.000 seconds).
Test Case '-[OIDEndSessionRequestTests testSecureCoding]' started.
Test Case '-[OIDEndSessionRequestTests testSecureCoding]' passed (0.000 seconds).
Test Suite 'OIDEndSessionRequestTests' passed at 2024-09-11 13:12:22.776.
	 Executed 3 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDGrantTypesTests' started at 2024-09-11 13:12:22.776.
Test Case '-[OIDGrantTypesTests testAuthorizationCode]' started.
Test Case '-[OIDGrantTypesTests testAuthorizationCode]' passed (0.000 seconds).
Test Case '-[OIDGrantTypesTests testClientCredentials]' started.
Test Case '-[OIDGrantTypesTests testClientCredentials]' passed (0.000 seconds).
Test Case '-[OIDGrantTypesTests testPassword]' started.
Test Case '-[OIDGrantTypesTests testPassword]' passed (0.000 seconds).
Test Case '-[OIDGrantTypesTests testRefreshToken]' started.
Test Case '-[OIDGrantTypesTests testRefreshToken]' passed (0.000 seconds).
Test Suite 'OIDGrantTypesTests' passed at 2024-09-11 13:12:22.777.
	 Executed 4 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'OIDRPProfileCode' started at 2024-09-11 13:12:22.777.
Test Case '-[OIDRPProfileCode testRP_id_token_aud]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_id_token_aud] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_id_token_aud]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_id_token_iat]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_id_token_iat] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_id_token_iat]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_id_token_issuer_mismatch]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_id_token_issuer_mismatch] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_id_token_issuer_mismatch]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_id_token_kid_absent_multiple_jwks]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_id_token_kid_absent_multiple_jwks] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_id_token_kid_absent_multiple_jwks]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_id_token_kid_absent_single_jwks]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_id_token_kid_absent_single_jwks] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_id_token_kid_absent_single_jwks]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_id_token_sig_none]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_id_token_sig_none] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_id_token_sig_none]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_id_token_sig_rs256]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_id_token_sig_rs256] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_id_token_sig_rs256]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_id_token_sub]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_id_token_sub] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_id_token_sub]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_nonce_invalid]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_nonce_invalid] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_nonce_invalid]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_response_type_code]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_response_type_code] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_response_type_code]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_rp_id_token_bad_sig_rs256]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_rp_id_token_bad_sig_rs256] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_rp_id_token_bad_sig_rs256]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_scope_userinfo_claims]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_scope_userinfo_claims] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_scope_userinfo_claims]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_token_endpoint_client_secret_basic]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_token_endpoint_client_secret_basic] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_token_endpoint_client_secret_basic]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_userinfo_bad_sub_claim]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_userinfo_bad_sub_claim] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_userinfo_bad_sub_claim]' skipped (0.000 seconds).
Test Case '-[OIDRPProfileCode testRP_userinfo_bearer_header]' started.
/Users/loicsharma/code/AppAuth-iOS/UnitTests/OIDRPProfileCode.m:121: -[OIDRPProfileCode testRP_userinfo_bearer_header] : Test skipped - Need to migrate to the new OpenID conformance testing system.
Test Case '-[OIDRPProfileCode testRP_userinfo_bearer_header]' skipped (0.000 seconds).
Test Suite 'OIDRPProfileCode' passed at 2024-09-11 13:12:22.779.
	 Executed 15 tests, with 15 tests skipped and 0 failures (0 unexpected) in 0.002 (0.002) seconds
Test Suite 'OIDRegistrationRequestTests' started at 2024-09-11 13:12:22.779.
Test Case '-[OIDRegistrationRequestTests testApplicationIsNativeByDefault]' started.
Test Case '-[OIDRegistrationRequestTests testApplicationIsNativeByDefault]' passed (0.000 seconds).
Test Case '-[OIDRegistrationRequestTests testCopying]' started.
Test Case '-[OIDRegistrationRequestTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDRegistrationRequestTests testSecureCoding]' started.
Test Case '-[OIDRegistrationRequestTests testSecureCoding]' passed (0.000 seconds).
Test Case '-[OIDRegistrationRequestTests testURLRequest]' started.
Test Case '-[OIDRegistrationRequestTests testURLRequest]' passed (0.000 seconds).
Test Suite 'OIDRegistrationRequestTests' passed at 2024-09-11 13:12:22.780.
	 Executed 4 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDRegistrationResponseTests' started at 2024-09-11 13:12:22.780.
Test Case '-[OIDRegistrationResponseTests testCopying]' started.
Test Case '-[OIDRegistrationResponseTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDRegistrationResponseTests testMissingClientSecretExpiresAtWithClientSecret]' started.
Test Case '-[OIDRegistrationResponseTests testMissingClientSecretExpiresAtWithClientSecret]' passed (0.000 seconds).
Test Case '-[OIDRegistrationResponseTests testMissingRegistrationAccessTokenWithRegistrationClientURI]' started.
Test Case '-[OIDRegistrationResponseTests testMissingRegistrationAccessTokenWithRegistrationClientURI]' passed (0.000 seconds).
Test Case '-[OIDRegistrationResponseTests testMissingRegistrationClientURIWithRegistrationAccessToken]' started.
Test Case '-[OIDRegistrationResponseTests testMissingRegistrationClientURIWithRegistrationAccessToken]' passed (0.000 seconds).
Test Case '-[OIDRegistrationResponseTests testSecureCoding]' started.
Test Case '-[OIDRegistrationResponseTests testSecureCoding]' passed (0.001 seconds).
Test Suite 'OIDRegistrationResponseTests' passed at 2024-09-11 13:12:22.782.
	 Executed 5 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDResponseTypesTests' started at 2024-09-11 13:12:22.782.
Test Case '-[OIDResponseTypesTests testCode]' started.
Test Case '-[OIDResponseTypesTests testCode]' passed (0.000 seconds).
Test Case '-[OIDResponseTypesTests testIDToken]' started.
Test Case '-[OIDResponseTypesTests testIDToken]' passed (0.000 seconds).
Test Case '-[OIDResponseTypesTests testToken]' started.
Test Case '-[OIDResponseTypesTests testToken]' passed (0.000 seconds).
Test Suite 'OIDResponseTypesTests' passed at 2024-09-11 13:12:22.782.
	 Executed 3 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'OIDScopesTests' started at 2024-09-11 13:12:22.782.
Test Case '-[OIDScopesTests testAddress]' started.
Test Case '-[OIDScopesTests testAddress]' passed (0.000 seconds).
Test Case '-[OIDScopesTests testEmail]' started.
Test Case '-[OIDScopesTests testEmail]' passed (0.000 seconds).
Test Case '-[OIDScopesTests testPhone]' started.
Test Case '-[OIDScopesTests testPhone]' passed (0.000 seconds).
Test Case '-[OIDScopesTests testProfile]' started.
Test Case '-[OIDScopesTests testProfile]' passed (0.000 seconds).
Test Suite 'OIDScopesTests' passed at 2024-09-11 13:12:22.782.
	 Executed 4 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'OIDServiceConfigurationTests' started at 2024-09-11 13:12:22.782.
Test Case '-[OIDServiceConfigurationTests testCopying]' started.
Test Case '-[OIDServiceConfigurationTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDServiceConfigurationTests testFetcher]' started.
Test Case '-[OIDServiceConfigurationTests testFetcher]' passed (0.005 seconds).
Test Case '-[OIDServiceConfigurationTests testFetcherWithBadJSON]' started.
Test Case '-[OIDServiceConfigurationTests testFetcherWithBadJSON]' passed (0.003 seconds).
Test Case '-[OIDServiceConfigurationTests testFetcherWithErrorCode]' started.
Test Case '-[OIDServiceConfigurationTests testFetcherWithErrorCode]' passed (0.001 seconds).
Test Case '-[OIDServiceConfigurationTests testFetcherWithNetworkError]' started.
Test Case '-[OIDServiceConfigurationTests testFetcherWithNetworkError]' passed (0.003 seconds).
Test Case '-[OIDServiceConfigurationTests testInitializer]' started.
Test Case '-[OIDServiceConfigurationTests testInitializer]' passed (0.000 seconds).
Test Case '-[OIDServiceConfigurationTests testIssuer]' started.
Test Case '-[OIDServiceConfigurationTests testIssuer]' passed (0.001 seconds).
Test Case '-[OIDServiceConfigurationTests testIssuer2]' started.
Test Case '-[OIDServiceConfigurationTests testIssuer2]' passed (0.001 seconds).
Test Case '-[OIDServiceConfigurationTests testSecureCoding]' started.
Test Case '-[OIDServiceConfigurationTests testSecureCoding]' passed (0.000 seconds).
Test Suite 'OIDServiceConfigurationTests' passed at 2024-09-11 13:12:22.798.
	 Executed 9 tests, with 0 failures (0 unexpected) in 0.015 (0.016) seconds
Test Suite 'OIDServiceDiscoveryTests' started at 2024-09-11 13:12:22.798.
Test Case '-[OIDServiceDiscoveryTests testCopying]' started.
Test Case '-[OIDServiceDiscoveryTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testErrorWhenBadFormat]' started.
Test Case '-[OIDServiceDiscoveryTests testErrorWhenBadFormat]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testErrorWhenMissingFields]' started.
Test Case '-[OIDServiceDiscoveryTests testErrorWhenMissingFields]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testErrorWhenMissingFieldsJSON]' started.
Test Case '-[OIDServiceDiscoveryTests testErrorWhenMissingFieldsJSON]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testErrorWhenRootObjectNotNSDictionary]' started.
Test Case '-[OIDServiceDiscoveryTests testErrorWhenRootObjectNotNSDictionary]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_acrValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_acrValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_authorizationEndpoint]' started.
Test Case '-[OIDServiceDiscoveryTests testField_authorizationEndpoint]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_claimsLocalesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_claimsLocalesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_claimsParameterSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_claimsParameterSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_claimsSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_claimsSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_claimTypesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_claimTypesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_deviceAuthorizationEndpoint]' started.
Test Case '-[OIDServiceDiscoveryTests testField_deviceAuthorizationEndpoint]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_displayValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_displayValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_endSessionEndpoint]' started.
Test Case '-[OIDServiceDiscoveryTests testField_endSessionEndpoint]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_grantTypesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_grantTypesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_IDTokenEncryptionAlgorithmValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_IDTokenEncryptionAlgorithmValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_IDTokenEncryptionEncodingValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_IDTokenEncryptionEncodingValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_IDTokenSigningAlgorithmValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_IDTokenSigningAlgorithmValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_issuer]' started.
Test Case '-[OIDServiceDiscoveryTests testField_issuer]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_jwksURL]' started.
Test Case '-[OIDServiceDiscoveryTests testField_jwksURL]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_OPPolicyURI]' started.
Test Case '-[OIDServiceDiscoveryTests testField_OPPolicyURI]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_OPTosURI]' started.
Test Case '-[OIDServiceDiscoveryTests testField_OPTosURI]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_registrationEndpoint]' started.
Test Case '-[OIDServiceDiscoveryTests testField_registrationEndpoint]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_requestObjectEncryptionAlgorithmValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_requestObjectEncryptionAlgorithmValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_requestObjectEncryptionEncodingValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_requestObjectEncryptionEncodingValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_requestObjectSigningAlgorithmValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_requestObjectSigningAlgorithmValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_requestParameterSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_requestParameterSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_requestURIParameterSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_requestURIParameterSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_requireRequestURIRegistration]' started.
Test Case '-[OIDServiceDiscoveryTests testField_requireRequestURIRegistration]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_responseModesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_responseModesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_responseTypesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_responseTypesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_scopesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_scopesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_serviceDocumentation]' started.
Test Case '-[OIDServiceDiscoveryTests testField_serviceDocumentation]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_subjectTypesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_subjectTypesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_tokenEndpoint]' started.
Test Case '-[OIDServiceDiscoveryTests testField_tokenEndpoint]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_tokenEndpointAuthMethodsSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_tokenEndpointAuthMethodsSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_tokenEndpointAuthSigningAlgorithmValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_tokenEndpointAuthSigningAlgorithmValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_UILocalesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_UILocalesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_userinfoEncryptionAlgorithmValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_userinfoEncryptionAlgorithmValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_userinfoEncryptionEncodingValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_userinfoEncryptionEncodingValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_userinfoEndpoint]' started.
Test Case '-[OIDServiceDiscoveryTests testField_userinfoEndpoint]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testField_userinfoSigningAlgorithmValuesSupported]' started.
Test Case '-[OIDServiceDiscoveryTests testField_userinfoSigningAlgorithmValuesSupported]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testJSONDataDecoding]' started.
Test Case '-[OIDServiceDiscoveryTests testJSONDataDecoding]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testJSONStringDecoding]' started.
Test Case '-[OIDServiceDiscoveryTests testJSONStringDecoding]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testNoErrorWhenNoMissingFields]' started.
Test Case '-[OIDServiceDiscoveryTests testNoErrorWhenNoMissingFields]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testRequestURIParameterSupportedDefaultToYes]' started.
Test Case '-[OIDServiceDiscoveryTests testRequestURIParameterSupportedDefaultToYes]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testSecureCoding]' started.
Test Case '-[OIDServiceDiscoveryTests testSecureCoding]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testSecureCodingDecodeOld]' started.
Test Case '-[OIDServiceDiscoveryTests testSecureCodingDecodeOld]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testSecureCodingOldDecodeNew]' started.
Test Case '-[OIDServiceDiscoveryTests testSecureCodingOldDecodeNew]' passed (0.000 seconds).
Test Case '-[OIDServiceDiscoveryTests testURLs]' started.
Test Case '-[OIDServiceDiscoveryTests testURLs]' passed (0.000 seconds).
Test Suite 'OIDServiceDiscoveryTests' passed at 2024-09-11 13:12:22.804.
	 Executed 50 tests, with 0 failures (0 unexpected) in 0.006 (0.006) seconds
Test Suite 'OIDSwiftTests' started at 2024-09-11 13:12:22.804.
Test Case '-[AppAuthCoreSwiftTests.OIDSwiftTests testSwift]' started.
Test Case '-[AppAuthCoreSwiftTests.OIDSwiftTests testSwift]' passed (0.000 seconds).
Test Suite 'OIDSwiftTests' passed at 2024-09-11 13:12:22.805.
	 Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'OIDTVAuthorizationRequestTests' started at 2024-09-11 13:12:22.805.
Test Case '-[OIDTVAuthorizationRequestTests testCopying]' started.
Test Case '-[OIDTVAuthorizationRequestTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationRequestTests testInitializer]' started.
Test Case '-[OIDTVAuthorizationRequestTests testInitializer]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationRequestTests testSecureCoding]' started.
Test Case '-[OIDTVAuthorizationRequestTests testSecureCoding]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationRequestTests testURLRequestAdditionalParams]' started.
Test Case '-[OIDTVAuthorizationRequestTests testURLRequestAdditionalParams]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationRequestTests testURLRequestBasicClientAuth]' started.
Test Case '-[OIDTVAuthorizationRequestTests testURLRequestBasicClientAuth]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationRequestTests testURLRequestScopes]' started.
Test Case '-[OIDTVAuthorizationRequestTests testURLRequestScopes]' passed (0.000 seconds).
Test Suite 'OIDTVAuthorizationRequestTests' passed at 2024-09-11 13:12:22.806.
	 Executed 6 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDTVAuthorizationResponseTests' started at 2024-09-11 13:12:22.806.
Test Case '-[OIDTVAuthorizationResponseTests testCopying]' started.
Test Case '-[OIDTVAuthorizationResponseTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationResponseTests testInitializer]' started.
Test Case '-[OIDTVAuthorizationResponseTests testInitializer]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationResponseTests testInitializerAlternativeKey]' started.
Test Case '-[OIDTVAuthorizationResponseTests testInitializerAlternativeKey]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationResponseTests testSecureCoding]' started.
Test Case '-[OIDTVAuthorizationResponseTests testSecureCoding]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationResponseTests testTokenPollRequest]' started.
Test Case '-[OIDTVAuthorizationResponseTests testTokenPollRequest]' passed (0.000 seconds).
Test Case '-[OIDTVAuthorizationResponseTests testTokenPollRequestWithAdditionalParametersAdditionalHeaders]' started.
Test Case '-[OIDTVAuthorizationResponseTests testTokenPollRequestWithAdditionalParametersAdditionalHeaders]' passed (0.000 seconds).
Test Suite 'OIDTVAuthorizationResponseTests' passed at 2024-09-11 13:12:22.807.
	 Executed 6 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDTVTokenRequestTests' started at 2024-09-11 13:12:22.807.
Test Case '-[OIDTVTokenRequestTests testCopying]' started.
Test Case '-[OIDTVTokenRequestTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDTVTokenRequestTests testInitializer]' started.
Test Case '-[OIDTVTokenRequestTests testInitializer]' passed (0.000 seconds).
Test Case '-[OIDTVTokenRequestTests testSecureCoding]' started.
Test Case '-[OIDTVTokenRequestTests testSecureCoding]' passed (0.000 seconds).
Test Case '-[OIDTVTokenRequestTests testURLRequest]' started.
Test Case '-[OIDTVTokenRequestTests testURLRequest]' passed (0.000 seconds).
Test Suite 'OIDTVTokenRequestTests' passed at 2024-09-11 13:12:22.808.
	 Executed 4 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDTokenRequestTests' started at 2024-09-11 13:12:22.808.
Test Case '-[OIDTokenRequestTests testAuthorizationCodeNullRedirectURL]' started.
Test Case '-[OIDTokenRequestTests testAuthorizationCodeNullRedirectURL]' passed (0.000 seconds).
Test Case '-[OIDTokenRequestTests testCopying]' started.
Test Case '-[OIDTokenRequestTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDTokenRequestTests testSecureCoding]' started.
Test Case '-[OIDTokenRequestTests testSecureCoding]' passed (0.000 seconds).
Test Case '-[OIDTokenRequestTests testThatAdditionalHeadersAreInTokenRequest]' started.
Test Case '-[OIDTokenRequestTests testThatAdditionalHeadersAreInTokenRequest]' passed (0.000 seconds).
Test Case '-[OIDTokenRequestTests testURLRequestBasicClientAuth]' started.
Test Case '-[OIDTokenRequestTests testURLRequestBasicClientAuth]' passed (0.000 seconds).
Test Case '-[OIDTokenRequestTests testURLRequestNoClientAuth]' started.
Test Case '-[OIDTokenRequestTests testURLRequestNoClientAuth]' passed (0.000 seconds).
Test Suite 'OIDTokenRequestTests' passed at 2024-09-11 13:12:22.809.
	 Executed 6 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDTokenResponseTests' started at 2024-09-11 13:12:22.809.
Test Case '-[OIDTokenResponseTests testCopying]' started.
Test Case '-[OIDTokenResponseTests testCopying]' passed (0.000 seconds).
Test Case '-[OIDTokenResponseTests testSecureCoding]' started.
Test Case '-[OIDTokenResponseTests testSecureCoding]' passed (0.000 seconds).
Test Suite 'OIDTokenResponseTests' passed at 2024-09-11 13:12:22.809.
	 Executed 2 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDTokenUtilitiesTests' started at 2024-09-11 13:12:22.809.
Test Case '-[OIDTokenUtilitiesTests testFormUrlEncode]' started.
Test Case '-[OIDTokenUtilitiesTests testFormUrlEncode]' passed (0.000 seconds).
Test Case '-[OIDTokenUtilitiesTests testFormUrlEncodeEmptyString]' started.
Test Case '-[OIDTokenUtilitiesTests testFormUrlEncodeEmptyString]' passed (0.000 seconds).
Test Case '-[OIDTokenUtilitiesTests testRedact]' started.
Test Case '-[OIDTokenUtilitiesTests testRedact]' passed (0.000 seconds).
Test Case '-[OIDTokenUtilitiesTests testRedactWithEmptyString]' started.
Test Case '-[OIDTokenUtilitiesTests testRedactWithEmptyString]' passed (0.000 seconds).
Test Case '-[OIDTokenUtilitiesTests testRedactWithNilParamater]' started.
Test Case '-[OIDTokenUtilitiesTests testRedactWithNilParamater]' passed (0.000 seconds).
Test Case '-[OIDTokenUtilitiesTests testRedactWithShortInput]' started.
Test Case '-[OIDTokenUtilitiesTests testRedactWithShortInput]' passed (0.000 seconds).
Test Suite 'OIDTokenUtilitiesTests' passed at 2024-09-11 13:12:22.810.
	 Executed 6 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDURLQueryComponentTests' started at 2024-09-11 13:12:22.810.
Test Case '-[OIDURLQueryComponentTests test_formurlencoded_decoding]' started.
Test Case '-[OIDURLQueryComponentTests test_formurlencoded_decoding]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTests test_formurlencoded_encoding]' started.
Test Case '-[OIDURLQueryComponentTests test_formurlencoded_encoding]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTests testAddingParameter]' started.
Test Case '-[OIDURLQueryComponentTests testAddingParameter]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTests testAddingThreeParameters]' started.
Test Case '-[OIDURLQueryComponentTests testAddingThreeParameters]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTests testAddingTwoParameters]' started.
Test Case '-[OIDURLQueryComponentTests testAddingTwoParameters]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTests testBuildingParameterStringWithSimpleParameters]' started.
Test Case '-[OIDURLQueryComponentTests testBuildingParameterStringWithSimpleParameters]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTests testParsingQueryString]' started.
Test Case '-[OIDURLQueryComponentTests testParsingQueryString]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTests testURLEncodedParameters]' started.
Test Case '-[OIDURLQueryComponentTests testURLEncodedParameters]' passed (0.000 seconds).
Test Suite 'OIDURLQueryComponentTests' passed at 2024-09-11 13:12:22.811.
	 Executed 8 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDURLQueryComponentTestsIOS7' started at 2024-09-11 13:12:22.811.
Test Case '-[OIDURLQueryComponentTestsIOS7 test_formurlencoded_decoding]' started.
Test Case '-[OIDURLQueryComponentTestsIOS7 test_formurlencoded_decoding]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTestsIOS7 test_formurlencoded_encoding]' started.
Test Case '-[OIDURLQueryComponentTestsIOS7 test_formurlencoded_encoding]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTestsIOS7 testAddingParameter]' started.
Test Case '-[OIDURLQueryComponentTestsIOS7 testAddingParameter]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTestsIOS7 testAddingThreeParameters]' started.
Test Case '-[OIDURLQueryComponentTestsIOS7 testAddingThreeParameters]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTestsIOS7 testAddingTwoParameters]' started.
Test Case '-[OIDURLQueryComponentTestsIOS7 testAddingTwoParameters]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTestsIOS7 testBuildingParameterStringWithSimpleParameters]' started.
Test Case '-[OIDURLQueryComponentTestsIOS7 testBuildingParameterStringWithSimpleParameters]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTestsIOS7 testParsingQueryString]' started.
Test Case '-[OIDURLQueryComponentTestsIOS7 testParsingQueryString]' passed (0.000 seconds).
Test Case '-[OIDURLQueryComponentTestsIOS7 testURLEncodedParameters]' started.
Test Case '-[OIDURLQueryComponentTestsIOS7 testURLEncodedParameters]' passed (0.000 seconds).
Test Suite 'OIDURLQueryComponentTestsIOS7' passed at 2024-09-11 13:12:22.812.
	 Executed 8 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'OIDURLSessionProviderTests' started at 2024-09-11 13:12:22.812.
Test Case '-[OIDURLSessionProviderTests testCustomSession]' started.
Test Case '-[OIDURLSessionProviderTests testCustomSession]' passed (0.000 seconds).
Test Suite 'OIDURLSessionProviderTests' passed at 2024-09-11 13:12:22.812.
	 Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'AppAuthPackageTests.xctest' passed at 2024-09-11 13:12:22.812.
	 Executed 179 tests, with 15 tests skipped and 0 failures (0 unexpected) in 0.047 (0.051) seconds
Test Suite 'All tests' passed at 2024-09-11 13:12:22.812.
	 Executed 179 tests, with 15 tests skipped and 0 failures (0 unexpected) in 0.047 (0.052) seconds
◇ Test run started.
↳ Testing Library Version: 94 (arm64e-apple-macos13.0)
✔ Test run with 0 tests passed after 0.001 seconds.

Copy link

@ankushkushwaha ankushkushwaha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@loic-sharma thanks for this fix for OIDExternalUserAgentIOSCustomBrowser, the last check spm-build-test in github-actions is failing. Could you please look into it?

@bddq
Copy link

bddq commented Sep 16, 2024

Please merge it as openURL: without params is now deprecated in iOS 18. This currently breaks the authorization flow.

@loic-sharma
Copy link
Contributor Author

@ankushkushwaha Please see my message above. The test passes locally on my machine. I can't see the CI's output, so I can't tell what's going wrong there. Would you be able to help get additional information from the CI failure?

@robwalkerco
Copy link

@ankushkushwaha Please see my message above. The test passes locally on my machine. I can't see the CI's output, so I can't tell what's going wrong there. Would you be able to help get additional information from the CI failure?

The failing test says This request was automatically failed because there were no enabled runners online to process the request for more than 1 days..

You could try pushing an empty commit to get CI to run again.

@robwalkerco
Copy link

You could try pushing an empty commit to get CI to run again.

Or you could try updating the MacOS version at https://github.com/openid/AppAuth-iOS/blob/c89ed571ae140f8eb1142735e6e23d7bb8c34cb2/.github/workflows/tests.yml#L53C4-L53C22 @loic-sharma

As MacOS 11 runners are no longer available on GitHub, then the test will never pass 😢

@loic-sharma
Copy link
Contributor Author

loic-sharma commented Oct 18, 2024

@robwalkerco @ankushkushwaha Thanks for sharing the CI output! I've updated the spm-build-test workflow to use macos-12.

Could you run the CI checks again please? :)

@brnnmrls
Copy link
Collaborator

@robwalkerco @ankushkushwaha Thanks for sharing the CI output! I've updated the spm-build-test workflow to use macos-12.

Could you run the CI checks again please? :)

Hi everyone! I have PR #879 approved and soon to be merged in so this should resolve the failing check. There seemed to be a failing codecov issue upon updating the macos runner. @loic-sharma I'll rerun the checks once that PR is merged in.

@brnnmrls
Copy link
Collaborator

@loic-sharma, do you mind updating your branch with main again to take in the changes?

@loic-sharma
Copy link
Contributor Author

@brnnmrls thanks for the ping - I've rebased my branch!

@brnnmrls brnnmrls merged commit b856e4b into openid:master Oct 21, 2024
10 checks passed
@robwalkerco
Copy link

@brnnmrls will there be a new release soon with this fix?

@bddq
Copy link

bddq commented Nov 4, 2024

@brnnmrls Any news about releasing a new package version with that work? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants