-
-
Notifications
You must be signed in to change notification settings - Fork 197
iOS build breaks with multiple plugins with podfiles #3604
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
Comments
Is there any resolution to this? It seems that the CLI, when merging plugin podfiles, should check for (It looks like this would happen in |
+1 from |
+1 nativescript-plugin-firebase |
+1 nativescript-stripe |
Anyone here have a workaround for this? This seems like a major issue and it's currently blocking us from using another plugin. |
One work around if you are building locally: In our case we also want to use nativescript sidekick, and I do not know what to do in that case, so other suggestions would be nice. |
I have found with nativescript-firebase if you completely remove the "ml_kit" entry from Since NativeScript doesn't seem to be doing anything about this, maybe plugin authors should just remove that line from their Podfiles, document which iOS version the plugin requires, and rely on developers to honor it. I'd be happy to do that for nativescript-stripe until NativeScript addresses this issue if it will help anyone. |
@RobertGardner what if I am using the |
It looks like a Bug label was added on May 21, but has there been activity since then? What is NativeScript's official response to this? A workaround that can be done at install time (as opposed to build time as suggested by @burkongla ) would be to find I don't use NativeScript Sidekick, so I don't know if it tries to reinstall the plugins on every build (though that could be time consuming, so I doubt it). |
+1 nativescript-mediafilepicker plugin: https://github.com/jibon57/nativescript-mediafilepicker/blob/eea3d3c1d2323a75a4c84e598bfcf4932fd101af/src/platforms/ios/Podfile#L1 |
|
Fixed in nativescript@rc, will be released with [email protected] |
@endarova this is incredibly exciting news! Worthy of a blog post about just this alone ;) @rosen-vladimirov 🤗 |
Same problem with nativescript feedback plugin |
Hey @vforv , |
Works, thanks! How can I make change localy? When I try tns update it still setting old version of cli. |
@vforv in your local project, you shouldn't have reference to nativescript package - this us the CLI, so it is expected to have other only globally |
Tell us about the problem
If an app has multiple plugins and they have podfiles with a platform defined like
the combined podfile will have multiple platform lines and the build will fail.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
[email protected]
[email protected]
[email protected]
Please tell us how to recreate the issue in as much detail as possible.
Create an app, add [email protected], add [email protected]. Try to build app for iOS.
Reported in NativeScript/nativescript-imagepicker#186
The text was updated successfully, but these errors were encountered: