NativeScript / NativeScript/nativescript-cli

Customize the command used to install CocoaPods

Đang mở
#1,628 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

CocoaPods feature os: ios
Ngôn ngữ chính
JavaScript
Star
1.1k
Fork
204
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu từ luồng tns emulate ios và lần theo nơi CocoaPods chạy pod install. Xem xét workaround được yêu cầu với bundle exec pod install và Gemfile, sau đó xác định cách cung cấp một lệnh tùy chỉnh. Hoàn tất khi luồng mô phỏng iOS có thể sử dụng lệnh đó cho các dự án cần cài đặt CocoaPods tùy chỉnh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
ios, javascript
Lĩnh vực
cli, mobile-dev
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.