NativeScript / NativeScript/nativescript-cli
Customize the command used to install CocoaPods
還沒有人認領這個 Issue。
- 主要語言
- 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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 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