title: why universal links are not working even though validated right by apple?
body: <p>When validating my apple app site association file, I get passed for the main domain and sub domains</p>
  
  <p><a href="https://i.stack.imgur.com/o33xs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o33xs.png" alt="aasa"></a></p>
  
  <p>and of course have entitlements enabled and added</p>
  
  <p><a href="https://i.stack.imgur.com/ZEzl8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZEzl8.png" alt="associated domains"></a></p>
  
  <p>I reinstall the app whenever I want to test on a device, to fetch a new version of the file installed on the device... and I delete the old app before installing from XCode.</p>
  
  <pre><code>{
      "applinks": 
      {
          "apps": [],
          "details": [
              {
                  "appID": "TeamID.AppID",
                  "paths": [ "*" ]
              }
          ]
      },
      "activitycontinuation": 
      {
          "apps": ["TeamID.AppID"]
      }
  }
  </code></pre>
  
  <p>but the problem simply is, when I tap links from an html that i hosted online, it opens in safari not in app!!</p>
  
  <p>PS : is this because I don't have https for the site? it works only on http...</p>
  
  <p>iOS Console output, filtered with swcd keyword, and sitename replaced with mySiteName</p>
  
  <pre><code>Mar  5 20:05:56 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Get info for service 'applinks', app ID '&lt;&lt;NULL&gt;&gt;', domain 'www.je...'
  Mar  5 20:05:56 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Get info for service 'activitycontinuation', app ID '&lt;&lt;NULL&gt;&gt;', domain 'www.je...'
  Mar  5 20:06:00 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Get info for service 'applinks', app ID '&lt;&lt;NULL&gt;&gt;', domain 'm.je...'
  Mar  5 20:06:00 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Immediate retry for domain 'm.je...'
  Mar  5 20:06:00 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Started request for domain 'm.mySiteName.com', URL 'https://m.mySiteName.com/.well-known/apple-app-site-association'
  Mar  5 20:06:00 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TCP Conn Start [99:0x17e57310]
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_handler_start [99 m.mySiteName.com:443 initial path (null)]
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 initial path (null)] reported event path:start
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 waiting path (satisfied)] reported event path:satisfied
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 waiting path (satisfied)] skipping state update
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 in_progress resolver (satisfied)] reported event resolver:start_dns
  Mar  5 20:06:00 DevaEldeen mDNSResponder[85] &lt;Info&gt;:  15: DNSServiceCreateConnection START PID[184](swcd)
  Mar  5 20:06:00 DevaEldeen mDNSResponder[85] &lt;Info&gt;:  15: DNSServiceGetAddrInfo(4000D000, 0, 3, m.mySiteName.com.) START PID[184](swcd)
  Mar  5 20:06:00 DevaEldeen mDNSResponder[85] &lt;Info&gt;:  15: DNSServiceCreateConnection STOP PID[184](swcd)
  Mar  5 20:06:00 DevaEldeen mDNSResponder[85] &lt;Info&gt;:  15: DNSServiceGetAddrInfo(m.mySiteName.com.) STOP PID[184](swcd)
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_resolver_update [99 m.mySiteName.com:443 in_progress resolver (satisfied)] Adding endpoint handler for 104.25.215.11:443
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_resolver_update [99 m.mySiteName.com:443 in_progress resolver (satisfied)] Adding endpoint handler for 104.25.214.11:443
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 in_progress resolver (satisfied)] reported event resolver:receive_dns
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_resolver_start_next_child [99 m.mySiteName.com:443 in_progress resolver (satisfied)] starting child endpoint 104.25.215.11:443
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_resolver_start_next_child [99 m.mySiteName.com:443 in_progress resolver (satisfied)] starting next child endpoint in 316ms
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_handler_start [99.1 104.25.215.11:443 initial path (null)]
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99.1 104.25.215.11:443 initial path (null)] reported event path:start
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99.1 104.25.215.11:443 waiting path (satisfied)] reported event path:satisfied
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99.1 104.25.215.11:443 in_progress socket-flow (satisfied)] reported event flow:start_connect
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_flow_protocol_connected [99.1 104.25.215.11:443 in_progress socket-flow (satisfied)] Output protocol connected
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_flow_connected_path_change [99.1 104.25.215.11:443 ready socket-flow (satisfied)] Connected path is satisfied
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99.1 104.25.215.11:443 ready socket-flow (satisfied)] reported event flow:finish_connect
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 ready resolver (satisfied)] reported event flow:finish_connect
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99.1 104.25.215.11:443 ready socket-flow (satisfied)] reported event flow:changed_viability
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 ready resolver (satisfied)] reported event flow:changed_viability
  Mar  5 20:06:00 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TCP Conn Event [99:0x17e57310]: 1 Err(0)
  Mar  5 20:06:00 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TCP Conn Connected [99:0x17e57310]: Err(0)
  Mar  5 20:06:00 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC Enabling TLS [99:0x17e57310]
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_start_tls_while_connected [99.1 104.25.215.11:443 ready socket-flow (satisfied)]
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99.1 104.25.215.11:443 in_progress socket-flow (satisfied)] reported event flow:start_secondary_connect
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 in_progress resolver (satisfied)] reported event flow:start_secondary_connect
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 in_progress resolver (satisfied)] reported event flow:start_connect
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_flow_protocol_connected [99.1 104.25.215.11:443 in_progress socket-flow (satisfied)] Transport protocol connected
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99.1 104.25.215.11:443 in_progress socket-flow (satisfied)] reported event flow:finish_transport
  Mar  5 20:06:00 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 in_progress resolver (satisfied)] reported event flow:finish_transport
  Mar  5 20:06:00 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TLS Event [99:0x17e57310]: 2, Pending(0)
  Mar  5 20:06:00 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TLS Event [99:0x17e57310]: 11, Pending(0)
  Mar  5 20:06:00 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TLS Event [99:0x17e57310]: 22, Pending(0)
  Mar  5 20:06:00 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TLS Event [99:0x17e57310]: 12, Pending(0)
  Mar  5 20:06:00 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TLS Event [99:0x17e57310]: 14, Pending(0)
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Info&gt;: Accepting URL 'https://m.mySiteName.com/.well-known/apple-app-site-association' trust
  Mar  5 20:06:01 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TLS Trust Result [99:0x17e57310]: 0
  Mar  5 20:06:01 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TLS Event [99:0x17e57310]: 20, Pending(0)
  Mar  5 20:06:01 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_flow_protocol_connected [99.1 104.25.215.11:443 in_progress socket-flow (satisfied)] Output protocol connected
  Mar  5 20:06:01 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_flow_connected_path_change [99.1 104.25.215.11:443 ready socket-flow (satisfied)] Connected path is satisfied
  Mar  5 20:06:01 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99.1 104.25.215.11:443 ready socket-flow (satisfied)] reported event flow:finish_connect
  Mar  5 20:06:01 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_connection_endpoint_report [99 m.mySiteName.com:443 ready resolver (satisfied)] reported event flow:finish_connect
  Mar  5 20:06:01 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TCP Conn Event [99:0x17e57310]: 8 Err(0)
  Mar  5 20:06:01 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TLS Handshake Complete [99:0x17e57310]
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Info&gt;: Retrying non-well-known request for domain 'm.mySiteName.com', status -6768/0xFFFFE590 kSecurityRequiredErr
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Started request for domain 'm.mySiteName.com', URL 'https://m.mySiteName.com/apple-app-site-association'
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Info&gt;: Canceled URL 'https://m.mySiteName.com/.well-known/apple-app-site-association'
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: ### Denying redirect 'https://m.mySiteName.com/apple-app-site-association' -&gt; 'http://m.mySiteName.com/apple-app-site-association'
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Completing request for 'https://m.mySiteName.com/apple-app-site-association', status -6768/0xFFFFE590 kSecurityRequiredErr
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Info&gt;: Canceled URL 'https://m.mySiteName.com/apple-app-site-association'
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Closing URL session
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Info&gt;: Skipping scheduling retry of 'm.mySiteName.com' at retry limit (8 of 8)
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Retry needed for 'mySiteName.com' failure in 3h 12m 40s
  Mar  5 20:06:01 DevaEldeen swcd(CoreUtils)[184] &lt;Notice&gt;: Scheduling recheck in 3h 12m 49s
  Mar  5 20:06:01 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TCP Conn Cancel [99:0x17e57310]
  Mar  5 20:06:01 DevaEldeen swcd(CFNetwork)[184] &lt;Notice&gt;: TIC TCP Conn Destroyed [99:0x17e57310]
  Mar  5 20:06:01 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_handler_cancel [99 m.mySiteName.com:443 ready resolver (satisfied)]
  Mar  5 20:06:01 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_handler_cancel [99.1 104.25.215.11:443 ready socket-flow (satisfied)]
  Mar  5 20:06:01 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Notice&gt;: __nw_socket_service_writes_block_invoke sendmsg(fd 4, 31 bytes): socket has been closed
  Mar  5 20:06:01 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_flow_protocol_disconnected [99.1 104.25.215.11:443 cancelled socket-flow (null)] Output protocol disconnected
  Mar  5 20:06:01 DevaEldeen swcd(libsystem_network.dylib)[184] &lt;Info&gt;: nw_endpoint_handler_cancel [99.2 104.25.214.11:443 initial path (null)]
  </code></pre>