No cheats can be made for Civilization 5, 6, or any other Civilization game on the Switch, due to the devs making all functions universal (which makes one function handle many different things; money owned, money cost of upgrades, current owned building materials, building materials cost for upgrading buildings, military units that are healthy, military units that are injured, literally everything that can be expressed as a number is increased and decreased with the same function, so trying to give yourself max infinite money will (all at once) make upgrades cost max money, give you max of every upgrade material (plus max money more undefined item IDs, which will crash), make upgrades cost max of an undefined item ID that is equal to the money you set for yourself (this will cause a crash), give you max money worth of every type of healthy military units (plus max money more undefined types of military units, this causes a crash), give you max money worth of every type of wounded military units (plus max money more undefined types of military units, which, again, will cause a crash), you get the idea. Due to this, codes for Civilization games on Switch are impossible. The memory moves around every few seconds, so pointer codes are impossible as well, before you ask.