简体   繁体   English

如何在 jfrog/maven 上发布 flutter 模块以集成到现有的 iOS 本机应用程序上?

[英]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.

相关问题 如何在现有的 React Native App 中集成原生 ios 摄像头 SDK? - How to integrate native ios camera SDK in existing react native App? 如何用 Flutter 应用替换现有的原生 Android/iOS 应用? - How to replace existing native Android/iOS app with Flutter app? 如何将混合应用程序集成到ios本机应用程序中? - how to integrate hybrid app into ios native app? 将 react-native 版本 0.62.2 集成到现有 IOs 应用程序错误 - Integrate react-native version 0.62.2 into existing IOs app error 如何为 Flutter 应用程序将 BRLMPrinterKit 与 iOS 集成? - How to integrate BRLMPrinterKit with iOS for a Flutter App? 如何将Unity集成到本机iOS App中? - How to integrate Unity inside native iOS App? 如何将 Unity + Vuforia 正确集成到现有的原生 iOS 项目中? - How to properly integrate Unity + Vuforia into an existing native iOS Project? 使用react-native-navigation将React本机应用程序与现有iOS应用程序集成 - integrate react native app using react-native-navigation with existing iOS app 尝试将react-native应用程序与现有ios应用程序集成时出现“ _fbBatchedBridge未定义”错误 - “_fbBatchedBridge is undefined” error while trying to integrate a react-native app with an existing ios app 将React Native应用程序集成到现有的iOS Obj-C / Swift应用程序中 - Integrate a React Native app in to an existing iOS Obj-C/Swift App
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM