Arsenal needed an 88th minute winner from Edward Nketiah to see off Bayern Munich 2-1 in their International Champions Cup fixture in Los Angeles on Wednesday.