Error occurred in deployment step 'Recycle IIS Application Pool':
Checking permissions, I found that the user account that was deploying the site workflow (under which Visual Studio was running) did not have site collection administrator permissions. After adding the user as a site collection administrator, I was able to deploy the solution successfully.