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

(iOS) Parse existing post_install block in Podfile #783

Open
dpa99c opened this issue Nov 30, 2022 · 1 comment
Open

(iOS) Parse existing post_install block in Podfile #783

dpa99c opened this issue Nov 30, 2022 · 1 comment
Labels
build issue An issue related to build process ios relates to iOS platform plugin conflict An issue caused by a conflict with another Cordova plugin

Comments

@dpa99c
Copy link
Owner

dpa99c commented Nov 30, 2022

As highlighted in this comment, if another plugin (e.g. cordova-plugin-ble-central) is present in the Cordova project (alongside this one) which injects a post_install block into the Podfile, this plugin will currently skip the step to inject its own post_install block, potentially causing the build to fail on Xcode 14+ because the steps in that block are necessary for a successful build.

Multiple post_install blocks in a Podfile are not supported, so this plugin would need to detect and parse the hierarchy of an existing post_install block in order to inject its own steps into the existing hierarchy.

@dpa99c dpa99c added build issue An issue related to build process ios relates to iOS platform plugin conflict An issue caused by a conflict with another Cordova plugin labels Nov 30, 2022
@dpa99c
Copy link
Owner Author

dpa99c commented Dec 2, 2022

I thought I might ask OpenAI's ChatGPT to help out 😲

download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build issue An issue related to build process ios relates to iOS platform plugin conflict An issue caused by a conflict with another Cordova plugin
Projects
None yet
Development

No branches or pull requests

1 participant