NativeScript / NativeScript/nativescript-cli

[iOS] MaterialComponents dependency clash

オープン
#4,954 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@KristianDD がすでに取り組んでいます。

2019年9月17日 から。

主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

説明

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.0.3
  • Cross-platform modules: 6.0.6
  • Android Runtime: 6.0.1
  • iOS Runtime: 6.0.2
  • Plugin(s):

Describe the bug

The hardcoded version of the MaterialComponents/Tabs pod restricts the use of other updated components such as MaterialComponents/ProgressView. It results in an error when installing the pods:

[!] CocoaPods could not find compatible versions for pod "MaterialComponents/ProgressView+Theming":
  In Podfile:
    MaterialComponents/ProgressView+Theming

Specs satisfying the `MaterialComponents/ProgressView+Theming` dependency were found, but they required a higher minimum deployment target.
'pod install' command failed.

To Reproduce

Add a podfile to any project with the following lines:

pod 'MaterialComponents/ProgressView'
pod 'MaterialComponents/ProgressView+Theming'

Expected behavior
App compiles fine with no problems.

Sample project

Additional context

One restriction on the iOS side compared to the Android side is that on Android you are able to set variables to modify the library versions that uses, this is currently not true for the iOS side. Adding this capability may be a better long term solution.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。