How to fix runtime osx.10.11-x64 for UAP,Version=v10.0
<p>I have a sample application (the fork is : <a href="https://github.com/cpoDesign/Windows-appsample-trafficapp" rel="nofollow">https://github.com/cpoDesign/Windows-appsample-trafficapp</a>)</p>

<p>When I run:
following commands:</p>

<pre><code>bash-3.2$ dotnet restore
bash-3.2$ dotnet run
</code></pre>

<p>I have received following error</p>

<blockquote>
  <p>Can not find runtime target for framework 'UAP,Version=v10.0'
  compatible with one of the target runtimes: 'osx.10.11-x64'. Possible
  causes:
  1. The project has not been restored or restore failed - run <code>dotnet restore</code>
  2. The project does not list one of 'osx.10.11-x64' in the 'runtimes' section.
  3. You may be trying to publish a library, which is not supported. Use <code>dotnet pack</code> to distribute libraries.</p>
</blockquote>

<p><strong>After this I have updated my project to provide osx desciption</strong> </p>

<pre><code>{
  "dependencies": {
    "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0"
  },
  "frameworks": {
    "uap10.0": {}
  },
  "runtimes": {
    "win10-arm": {},
    "win10-arm-aot": {},
    "win10-x86": {},
    "win10-x86-aot": {},
    "win10-x64": {},
    "win10-x64-aot": {},
    "osx.10.11-x64":{}
  }
}
</code></pre>

<p>After providing the runtime
I have run again my dot net commands above</p>

<p><strong>And this time I have got</strong></p>

<pre><code>**bash-3.2$ dotnet restore**
log  : Restoring packages for /Users/user/Desktop/code/trafficApp/Windows-appsample-trafficapp/TrafficApp/project.json...
log  : Lock file has not changed. Skipping lock file write. Path: /Users/user/Desktop/code/trafficApp/Windows-appsample-trafficapp/TrafficAp
p/project.lock.json
log  : /Users/user/Desktop/code/trafficApp/Windows-appsample-trafficapp/TrafficApp/project.json
log  : Restore completed in 647ms.

**bash-3.2$ dotnet run**
Can not find runtime target for framework 'UAP,Version=v10.0' compatible with one of the target runtimes: 'osx.10.11-x64'. Possible causes:
1. The project has not been restored or restore failed - run `dotnet restore`
2. The project does not list one of 'osx.10.11-x64' in the 'runtimes' section.
3. You may be trying to publish a library, which is not supported. Use `dotnet pack` to distribute libraries.
</code></pre>

<p><strong>What do I need to update?</strong></p>