I prefer 1♠ over XX here, but I don't think that's the main problem with your auction. After having XXed, your partner shouldn't introduce that empty suit over 2♥, he should support your diamonds and rebid 3♦. Btw, you might also have rebid 2♣ instead of 2♦, showing more of your shape. Then your partner wouldn't be tempted to introduce spades at all.