NativeScript / NativeScript/nativescript-cli

Customize the command used to install CocoaPods

未关闭
#1,628 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

CocoaPods feature os: ios
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

From @NathanWalker on March 19, 2016 23:55

Because some CocoaPods can be finicky at best to get working with {N} plugins, it would probably help to be able to customize or specify a command to run a pod install.
For example, please see this issue:
https://github.com/segment-integrations/analytics-ios-integration-google-analytics/issues/3#issuecomment-164874798

The issue arises from the Segment-GoogleAnalytics pod and the solution posted above involves a custom install of CocoaPods and the usage of bundle exec pod install along with a Gemfile to circumvent the issues.

It would be nice that when running tns emulate ios with CocoaPods involved, a command line argument could be passed to provide a custom pod install command to be able to use this solution.

Working on this {N} plugin for Segment:
https://github.com/NathanWalker/nativescript-segment
Blocked by this at moment.

Copied from original issue: NativeScript/ios-runtime#535

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

tns emulate ios 流程开始,跟踪 CocoaPods 在哪里运行 pod install。检查所请求的 bundle exec pod install 和 Gemfile workaround,然后定义如何提供自定义命令。完成标准是 iOS 模拟流程可以为需要自定义 CocoaPods 安装的项目使用该命令。

由索引模型根据 Issue 内容生成。

评估

技术栈
ios, javascript
领域
cli, mobile-dev
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。