title: How do I debug/test URL opening in my swift app
body: <p>I am trying to write an app in swift that can be opened with a custom URL scheme. I want to test this functionality by letting my app be launched by opening a URL. How do I debug this in Xcode? Is there a way to simulate URL launching in Xcode?</p>
  
  <p>Edit: It's a macOS app.</p>
  
  <p>Here's my workaround: build the app, copy it into the applications folder so that it registers the URL scheme, open test URL from safari.</p>