I had a problem with my in-app purchase, so I deleted it in Xcode/project/TARGETS/myapp/Signing & Capabilities. To recreate it I click on "+ Capability", the Capabilities window comes up, on the left I select "In-App Purchase", "In-App Purchase" appears on the right side, I click back in the main window, but nothing happens. This is how I added it the first time.
I've tried restarting Xcode.
Shouldn't I be able to delete the in-app purchase in Xcode and add it back? All looks right in App Store Connect; I had it almost working correctly.
Any clues how to fix this?