Garry Monk’s men had started brightly, with Jack Cork lashing home a seventh minute rebound after seeing his header pushed off the line.

However, the visitors faded after a bright opening half-hour and were pegged back by Daniel Adlung’s penalty just after the hour mark.

But Gomis, introduced on the hour as Monk once more changed his entire XI, proved the difference as he showcased the finishing touch that brought him five goals in seven appearances towards the end of last season, beating his marker comprehensively to smash home the winner.

Selection quandaries

And, while Monk will not be entirely happy with an at times pedestrian display, he can look ahead to continuing his pre-season campaign with an unbeaten record and several interesting selection quandaries as the likes of Matt Grimes, Neil Taylor and Wayne Routledge impressed.

The Swans had started positively with Marvin Emnes and Eder looking to get involved and running at the home defence.

It did not take long for the bright start to yield a goal. Matt Grimes had grabbed his first Swansea goal in the midweek draw against Borussia Monchendgladbach, but this time he was the architect.

The England Under-20 caps’ whipped corner found Cork arriving at the near post and, when the former Southampton man saw his glancing header pushed away by 1860 keeper Vitus Eicher, he reacted quickest to lash home from around 12 yards out.

The home side, who had narrowly avoided relegated to the third tier of German football last season, continued to struggle to deal with several accurate set-piece deliveries into their box, and needed Eicher to bail them out when Emnes got in front of his man to head Jonjo Shelvey’s corner low towards the bottom corner.

Shelvey, who earlier this week revealed his desire to hire a live-in chef in order to ensure his fitness and conditioning reaches the standards required, was particularly lively during the opening half hour.

The former Liverpool man’s dipping free-kick was punched away by the busy Eicher, with Cork unable to head in the rebound as he found himself off balance.

Early spark faded

Chances continued to come Swansea’s way, with Wayne Routledge’s outrageous rabona cross falling for Eder, only for the Portugal international to be denied by a sharp block from Munich skipper Christopher Schindler.

But Swansea, perhaps understandably after a tough week of work on the training paddock and on another evening of punishing heat, saw their early spark begin to fade.

Their sluggishness offered the hosts plenty of encouragement to test Premier League opposition and there was a let off for Kingsley some eight minutes before the break.

The Scot failed to deal with a bouncing ball and striker Stephen Hain almost punished the error, but ultimately only dragged his strike across the face of goal.

The chance teed up a bright period for the hosts who, although never threatening to test Swans’ debutant Kristoffer Nordfeldt, enjoyed the far better of the contest in the build up to half-time.

Monk did not look impressed, but there was little discernible sign of an improvement early in the second half.

Swansea’s frustrations were summed up when Shelvey, seconds after a heated exchange with Gary Kagelmacher, committed a needless foul on the same player to pick up a booking.

It proved to be the midfielder’s final involvement as Monk, mirroring his midweek tactics, brought an entire new XI on for the final 30 minutes.

Gomis quality shone through

However, rather than having a stabilising effect, Swansea were soon pegged back.

Ashley Williams was adjudged to have hauled down 1860 substitute Rubin Okotie, with the skipper accusing the forward of going to ground far too easily, with Adlung sending trialist Josh Vickers the wrong way to level the scores.

But Swansea’s quality shone through as Gomis turned his marker inside out to emphatically firing a right-footed shot low into the net, before trialist keeper Josh Vickers secured the win with a late save to deny Romuald Lacazette.