add Foundation and Corelocation frameworks