Ed Sheeran has predicted his close friend Taylor Swift will release new music before the end of 2017.