/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */ import createGroupWithMessage from './createGroupWithMessage' ; export default function addSharedLibraries ( project , libraries ) { if ( ! libraries . length ) { return ; } createGroupWithMessage ( project , 'Frameworks' ) ; const target = project . getFirstTarget ( ) . uuid ; for ( const name of libraries ) { project . addFramework ( name , { target } ) ; } }