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

Set $PROJECT_NAME properly when installing plugins #910

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Jun 19, 2020

Platforms affected

iOS

Motivation and Context

When installing plugins, the $PACKAGE_NAME value was pulled from the Info.plist, which is the string $(PRODUCT_BUNDLE_IDENTIFIER) instead of the actual value of the PRODUCT_BUNDLE_IDENTIFIER as defined in the Xcode project file.

Description

Change getPackageName() to always try to replace $(...) variables with their values from the Xcode Project.

Testing

Added spec tests, and manual testing.

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change

@dpogue dpogue requested a review from erisu June 19, 2020 06:02
Copy link
Member

@erisu erisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dpogue dpogue merged commit 048c1ca into apache:master Jun 19, 2020
@dpogue dpogue deleted the packageName branch June 19, 2020 15:05
@dpogue dpogue added this to the 6.1.0 milestone Jun 22, 2020
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

Successfully merging this pull request may close these issues.

2 participants