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

fix(ios) handle pbxproj structure change #890

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mickeahlinder
Copy link

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Documentation changes
  • Other... Please describe:

PR Checklist

Please check your PR fulfills the following requirements:

Bugfixes:

  • Regression testing has been carried out using the example project to ensure the intended bug is fixed and no regression bugs have been inadvertently introduced.

What is the purpose of this PR?

cordova-ios has changed the structure of the pbxproj file since 7.0.0. This fix will check for if the required shellscript build phase section is empty and create an empty object to avoid throwing an error.

Does this PR introduce a breaking change?

  • Yes
  • No

What testing has been done on the changes in the PR?

Adding the ios platform using ios-cordova@7.1.0.

What testing has been done on existing functionality?

Adding the ios platform using ios-cordova@7.1.0.

`cordova-ios` has changed the structure of the pbxproj file since 7.0.0.
This fix will check for if the required shellscript build phase section
is empty and create an empty object to avoid throwing an error.
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.

None yet

1 participant