react-native/local-cli/link/ios/removeSharedLibraries.js

12 lines
249 B
JavaScript
Raw Normal View History

module.exports = function removeSharedLibraries(project, libraries) {
if (!libraries.length) {
return;
}
const target = project.getFirstTarget().uuid;
for (var name of libraries) {
project.removeFramework(name, { target });
}
};