INNER CODE UNIT · JavaScript

getPlistFilenames

stovmascript/react-native-version · index.js:47

function getPlistFilenames(xcode) {
	return unique(
		flattenDeep(
			xcode.document.projects.map(project => {
				return project.targets.filter(Boolean).map(target => {
					return target.buildConfigurationsList.buildConfigurations.map(
						config => {
							return config.ast.value.get("buildSettings").get("INFOPLIST_FILE")
								.text;
						}
					);
				});
			})
		)
	);
}

/**

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…