A hiker was struck by lightning and died while hiking in the Twin Peaks area on Saturday, Salt Lake County officials said.