Refactor XCScheme API to enable multiple targets