How to update URL Scheme Launch target on development machine

I have implemented a custom URL scheme for my app and things were working fine until all of a sudden, launching the app via URL (In Safari for example) didn't seem to be taking any of my code changes. If I ran the app from XCode, it was fine. After beating my head against the wall for a bit, I found that the URL scheme was launching the application from my xcode Archive folder which obviously doesn't have any of my latest code. I can't figure out how to change this. Prior to this, launching via URL would launch from the build folder. I'm sure I could remove the Archive folder and re-associating but I'm hoping there is a better way to accomplish this. Thx

How to update URL Scheme Launch target on development machine
 
 
Q