Posts

Post not yet marked as solved
15 Replies
This is officially fixed in Xcode 12.5.1 Testing Resolved Issues Fixed an issue which caused XCTest UI Recording to not emit automation code in iOS, tvOS, or watchOS. (77511696) (FB9096691)
Post not yet marked as solved
5 Replies
The AASA file format has changed for iOS 14, now you have to define a new json object called components which will support iOS 14 devices. Please include it in your AASA file and it should work then, your AASA file should look something like the following: { "applinks": { "apps": [ ], "details": [ { "appID": "*.*.*.app", "components": [ {"/": "/a/welcome*"}, {"/": "/a/reauthenticate*"}, ... ], "paths": [ "/a/welcome*", "/a/reauthenticate*", ... ] } ] } } This is what is currently working in my production environment. Also note from iOS 14 Universal Links will work in TestFlight builds only since apple introduced its own CDN and devices are no longer contacting your server directly. In case you want to test in development please consider using the new "alternate modes" to bypass Apple CDN altogether in development, take a look into this WWDC20 session What's new in Universal Links to get an overview on how to use the alternate developer mode. I hope this will work for you as well! P.S: I've referred to the exact "alternate modes" timing in the video, but I highly recommend watching the whole session
Post marked as solved
5 Replies
We're facing the same issue for our App's Universal Links in iOS 14+ Here is the sysdiagnose from iOS 14.3 device Service: applinks App ID: ********.com.s4m.*** App Version: 192.0 App PI: <LSPersistentIdentifier 0x105219330> { v = 0, t = 0x8, u = 0x8e0, db = 71F75FB7-6D38-49FA-9299-A8A115C60A84, {length = 8, bytes = 0xe008000000000000} } Domain: ***.***********.com.kw User Approval: unspecified Site/Fmwk Approval: unspecified Flags:  Last Checked: 2021-01-24 08:52:10 +0000 Next Check: 2021-01-24 12:14:47 +0000 Error: Error Domain=SWCErrorDomain Code=7 "SWCERR00301 Timeout -- {"cause":"context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}" UserInfo={Line=274, Function=-[SWCDownloader URLSession:dataTask:didReceiveResponse:completionHandler:], NSDebugDescription=SWCERR00301 Timeout -- {"cause":"context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}, UnderlyingError=Error Domain=HTTP Code=404 "(null)" UserInfo={Line=274, Function=-[SWCDownloader URLSession:dataTask:didReceiveResponse:completionHandler:]}} Retries: 1 Service: webcredentials App ID: ******.com.s4m.*** App Version: 192.0 App PI: <LSPersistentIdentifier 0x105219330> { v = 0, t = 0x8, u = 0x8e0, db = 71F75FB7-6D38-49FA-9299-A8A115C60A84, {length = 8, bytes = 0xe008000000000000} } Domain: ***.*************.com.kw User Approval: unspecified Site/Fmwk Approval: unspecified Flags:  Last Checked: 2021-01-24 08:52:10 +0000 Next Check: 2021-01-24 12:14:47 +0000 Error: Error Domain=SWCErrorDomain Code=7 "SWCERR00301 Timeout -- {"cause":"context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}" UserInfo={Line=274, Function=-[SWCDownloader URLSession:dataTask:didReceiveResponse:completionHandler:], NSDebugDescription=SWCERR00301 Timeout -- {"cause":"context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}, UnderlyingError=Error Domain=HTTP Code=404 "(null)" UserInfo={Line=274, Function=-[SWCDownloader URLSession:dataTask:didReceiveResponse:completionHandler:]}} Retries: 1 Our association-file containing server has no VPN connection and is not blocking the user-agent string for the Apple App Site Association CDN bot but still the Universal links just redirect users to safari not the App. Any help would be really appreciated! EDIT: screen shot of the bot accessing the domain association file "https://imgur .com/xUgZekD" remove space please