Hello ,
We are facing issues with app linking where it works on some devices and does not on the others. Our app version is in Testflight .
When we check the console of the device where it does not work we see following error.
default 13:54:36.992693 +0200 swcd Started request for domain , URL 'https://www.***.be/.well-known/apple-app-site-association'
default 13:54:37.016006 +0200 dasd Submitted Activity: com.apple.CFNetwork-cc-98-54-Task <73F68C34-7F2A-4E19-85B0-5C2526FE11BB>.<com.apple.swcd>.<com.apple.SharedWebCredentials-55DDB6A7-DB8D-47A9-BECC-AE2B110595A1>.<1>:62BB26 at priority 90 <private>
default 13:54:37.020478 +0200 dasd com.apple.CFNetwork-cc-98-54-Task <73F68C34-7F2A-4E19-85B0-5C2526FE11BB>.<com.apple.swcd>.<com.apple.SharedWebCredentials-55DDB6A7-DB8D-47A9-BECC-AE2B110595A1>.<1>:62BB26:[
{name: ApplicationPolicy, policyWeight: 5.000, response: {Decision: Can Proceed, Score: 0.10}}
{name: DeviceActivityPolicy, policyWeight: 10.000, response: {Decision: Can Proceed, Score: 0.60}}
] sumScores:27.200000, denominator:35.700000, FinalDecision: Can Proceed FinalScore: 0.761905}
default 13:54:37.020575 +0200 dasd 'com.apple.CFNetwork-cc-98-54-Task <73F68C34-7F2A-4E19-85B0-5C2526FE11BB>.<com.apple.swcd>.<com.apple.SharedWebCredentials-55DDB6A7-DB8D-47A9-BECC-AE2B110595A1>.<1>:62BB26' DecisionToRun:1 (Bypasses Predictions)
default 13:54:37.059375 +0200 nsurlsessiond [C58 Hostname#ec124cd0:443 tcp, bundle id: com.apple.swcd, url hash: d0fc027c, tls, indefinite] start
default 13:54:37.266159 +0200 swcd ### Bad apple-app-site-association server trust: -6754/0xFFFFE59E kAuthenticationErr, 1 (kSecTrustResultProceed), {
"TrustExpirationDate" : 2019-07-25 06:35:42.000,
"TrustRevocationChecked" : true,
"TrustExtendedValidation" : true,
"Organization" : "*** ",
"TrustResultValue" : 1,
"TrustCertificateTransparency" : true,
"TrustEvaluationDate" : 2019-07-18 11:54:37.252,
"TrustResultDetails" :
[
{},
{},
{}
],
}
default 13:54:37.266216 +0200 swcd ### Rejecting URL 'https://www.***.be/.well-known/apple-app-site-association' for auth method 'NSURLAuthenticationMethodServerTrust': -6754/0xFFFFE59E kAuthenticationErr
default 13:54:37.267680 +0200 swcd Task <1674E61D-77F1-4D10-9820-CFF592216A27>.<2> resuming, QOS(0x15)
default 13:54:37.267737 +0200 swcd Create activity <nw_activity 12:3>
default 13:54:37.267901 +0200 swcd Activated <nw_activity 12:3 [33900FB4-9DBD-4648-966C-A6EEC044C195] (reporting strategy default)>
default 13:54:37.268273 +0200 swcd [Telemetry]: Activity <nw_activity 12:3 [33900FB4-9DBD-4648-966C-A6EEC044C195] (reporting strategy default)> on Task <1674E61D-77F1-4D10-9820-CFF592216A27>.<2> was not selected for reporting
default 13:54:37.270222 +0200 swcd Started request for domain 'www.***.be', URL 'https://www.***.be/apple-app-site-association'
default 13:54:37.273741 +0200 dasd Submitted Activity: com.apple.CFNetwork-cc-98-55-Task <1674E61D-77F1-4D10-9820-CFF592216A27>.<com.apple.swcd>.<com.apple.SharedWebCredentials-55DDB6A7-DB8D-47A9-BECC-AE2B110595A1>.<2>:3F4E84 at priority 90 <private>
default 13:54:37.275261 +0200 dasd com.apple.CFNetwork-cc-98-55-Task <1674E61D-77F1-4D10-9820-CFF592216A27>.<com.apple.swcd>.<com.apple.SharedWebCredentials-55DDB6A7-DB8D-47A9-BECC-AE2B110595A1>.<2>:3F4E84:[
{name: ApplicationPolicy, policyWeight: 5.000, response: {Decision: Can Proceed, Score: 0.10}}
{name: DeviceActivityPolicy, policyWeight: 10.000, response: {Decision: Can Proceed, Score: 0.60}}
] sumScores:27.200000, denominator:35.700000, FinalDecision: Can Proceed FinalScore: 0.761905}
default 13:54:37.275403 +0200 dasd 'com.apple.CFNetwork-cc-98-55-Task <1674E61D-77F1-4D10-9820-CFF592216A27>.<com.apple.swcd>.<com.apple.SharedWebCredentials-55DDB6A7-DB8D-47A9-BECC-AE2B110595A1>.<2>:3F4E84' DecisionToRun:1 (Bypasses Predictions)
default 13:54:37.278397 +0200 nsurlsessiond [C59 Hostname#ec124cd0:443 tcp, bundle id: com.apple.swcd, url hash: c76faa2c, tls, indefinite] start
default 13:54:37.444839 +0200 swcd <nw_activity 12:3 [81BB1A2C-179B-49E7-96F0-7360EB6EF4E1] (reporting strategy default) complete (reason failure)> complete with reason 3 (failure), duration 480ms
error 13:54:37.444895 +0200 swcd Task <73F68C34-7F2A-4E19-85B0-5C2526FE11BB>.<1> load failed with error Error Domain=NSURLErrorDomain Code=-999 UserInfo={NSErrorFailingURLStringKey=<private>, NSErrorFailingURLKey=<private>, _NSURLErrorRelatedURLSessionTaskErrorKey=<private>, _NSURLErrorFailingURLSessionTaskErrorKey=<private>, NSLocalizedDescription=<private>} [-999]
default 13:54:37.635952 +0200 swcd ### Request for 'https://www.***.be/apple-app-site-association' denied: 404/0x194 Not Found
default 13:54:37.636026 +0200 swcd Completing request for 'https://www.***.be/apple-app-site-association', status 0/0x0 noErr
default 13:54:37.637070 +0200 swcd Updated app ID '8C3949R27A.be.***.MyXXX2', domain 'www.***.be', flags 0x0 < > -> 0x4 < SiteDenied > on check
default 13:54:37.641292 +0200 swcd <nw_activity 12:3 [33900FB4-9DBD-4648-966C-A6EEC044C195] (reporting strategy default) complete (reason failure)> complete with reason 3 (failure), duration 274ms
error 13:54:37.642884 +0200 swcd Task <1674E61D-77F1-4D10-9820-CFF592216A27>.<2> load failed with error Error Domain=NSURLErrorDomain Code=-999 UserInfo={NSErrorFailingURLStringKey=<private>, NSErrorFailingURLKey=<private>, _NSURLErrorRelatedURLSessionTaskErrorKey=<private>, _NSURLErrorFailingURLSessionTaskErrorKey=<private>, NSLocalizedDescription=<private>} [-999]
default 13:54:37.645895 +0200 swcd Closing NSURLSession com.apple.SharedWebCredentials-55DDB6A7-DB8D-47A9-BECC-AE2B110595A1
default 13:54:37.645949 +0200 swcd Save database
If someone has faced simlilar issue or provide any help it will be appreciated.
Regards,
Aniket