splice in ios and android apps, remove swap files