Back in October we had a couple of days in Barecelona before embarcation. We just got an Uber from the hotel to the port - it was very simple and efficient.
We used Uber a couple of other times during the trip (both around town late in the evening and also from the airport into the city when we arrived) and it was always fine.