Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change version for a specific IOS target #309

Open
chenop opened this issue Oct 13, 2021 · 0 comments
Open

Change version for a specific IOS target #309

chenop opened this issue Oct 13, 2021 · 0 comments

Comments

@chenop
Copy link

chenop commented Oct 13, 2021

My workspace include 2 apps, one target for each app, I would like to change the versions only for the specific target I'm now going to deploy.

I've digged in the code and its seems today there is a filter waiting for this issue:

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;
						}
					);
				});
			})
		)
	);
}

So I think change needed is approximately:

return project.targets.filter(target => target === SPECIFIC_XCODE_TARGET).map(target => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant