title: WatchOS and location entitlement
body: <p>I've been working on adding a watchapp to a fitness tracker I already have in the app store. I've been able to load it onto my physical phone and watch without trouble in the past. </p>
  
  <p>I've recently added Location tracking to the watch app, so that I can track the path the user has run/biked and show it to them on the phone when they review the workout. Since doing that, I'v been getting errors from Xcode when I try to load the app to my phone; I think these are expected errors, but I'm having trouble understanding from the docs/interface of Xcode and developer.apple.com where to make the fix.</p>
  
  <p><a href="https://i.stack.imgur.com/KxXFi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KxXFi.png" alt="errors from xcode"></a></p>
  
  <p>I've added the entitlement in the watch app entitlements file:</p>
  
  <p><a href="https://i.stack.imgur.com/OUWLa.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OUWLa.png" alt="entitlemnents file"></a></p>
  
  <p>As the error says, I've switched to manual signing and generated a new provisioning profile, but I get the same error. I don't see a place to add a location capability in the provisioning profile in developer.apple.com: </p>
  
  <p><a href="https://i.stack.imgur.com/s0PHC.png" rel="noreferrer"><img src="https://i.stack.imgur.com/s0PHC.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/Uyo09.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Uyo09.png" alt="enter image description here"></a></p>
  
  <p>It seems like the only way for the provisioning profile to get the entitlement is from Xcode, since there's not a place to add it in developer.apple.com? That seems wrong, and isn't working in any case. I'm not finding help for my case in the Xcode docs (or I'm looking in the wrong place). Any help would be greatly appreciated.</p>