title: Setting Universal Links
body: <p>In order to make the connection between a website and an iOS app, I am trying to set Universal Links. But I am facing some issues. At this point I am using <a href="https://search.developer.apple.com/appsearch-validation-tool/" rel="nofollow noreferrer">this tool</a> to check that things are OK.</p>
  <p>The URL I am checking looks like this:</p>
  <pre><code>http://www.example.net/MyApp/
  </code></pre>
  <p>And the results I get look like this:</p>
  <pre><code>Title         Passed         .....
  
  Description     Recommended  .....
  
  Image           Passed  https://....../rock.jpg     
  
  Touch Icon      Passed  http://......./custom_icon.png  
  
  Link to Application     Action required
  
                      Could not extract required information
                      for application links. Learn how to
                      implement the recommended Universal Links.
  
                            Error cannot fetch app site association
  </code></pre>
  <p>As one can see, the problem is the &quot;Link to Application&quot; not working. But I have set a file <em>apple-app-site-association</em> inside <em>.well-known/</em> under the root directory of the website.</p>
  <p>And the <em>apple-app-site-association</em> file looks like this:</p>
  <pre><code>{
    &quot;applinks&quot;: {
        &quot;details&quot;: [
             {
               &quot;appIDs&quot;: [&quot;1122..8899.mybundle.example.MyApp&quot;]    ,
           &quot;paths&quot;: [ &quot;*&quot; ]
             }
         ]
     },
     &quot;webcredentials&quot;: {
        &quot;apps&quot;: [&quot;1122..8899.mybundle.example.MyApp&quot;]
     }
  }
  </code></pre>
  <p>Is there something in what is above looking wrong or suspicious.</p>
  <p>I have never really used Universal Links before, so I am not confident that I am doing the right thing.</p>