[英]How to publish flutter module on jfrog/maven to integrate on existing iOS native app?
I have created a flutter module which I need to integrate in iOS native.我创建了一个 flutter 模块,我需要将它集成到 iOS 本地。 Followed the Option-C to generated pod 'Flutter.podspec' using below reference.
按照 Option-C 使用以下参考生成 pod 'Flutter.podspec'。 https://docs.flutter.dev/development/add-to-app/ios/project-setup
https://docs.flutter.dev/development/add-to-app/ios/project-setup
It generated three folder build, profile, release and based on requirement I successfully integrated it manually.它生成了三个文件夹构建、配置文件、发布,并根据要求我成功地手动集成了它。 But I want to publish this pod folder on jfrog/maven so that any client or user can simply fetch it and integrate OR some other way to upload flutter module on jfrog/maven.
但我想在jfrog/maven上发布这个 pod 文件夹,以便任何客户端或用户都可以简单地获取它并集成或以其他方式在 jfrog/maven 上上传 flutter 模块。 Somehow I need to use this repository only.
不知何故,我只需要使用这个存储库。
in order to add your flutter module into existing native app, you can use the plugin namely: Cocoapods-embed-flutter .为了将您的 flutter 模块添加到现有的原生应用程序中,您可以使用插件,即: Cocoapods-embed-flutter 。 So, you don't have to deploy your podspecs into jfrog or anything.
因此,您不必将 podspecs 部署到 jfrog 或其他任何东西中。 Just add that plugin in your project, and pod install.
只需在您的项目中添加该插件,然后安装 pod。 For more details, check the documentation for this plugin.
有关更多详细信息,请查看此插件的文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.