NativeScript / NativeScript/nativescript-cli

Cannot Use Pods Inside App Extensions

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

まだ誰も着手していません。

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

説明

  • CLI: 6.3.2
  • Cross-platform modules: 6.3.2
  • Android Runtime: 6.3.1
  • iOS Runtime: 6.3.0
  • Plugin(s):
"@nstudio/nativescript-pulltorefresh": "^1.1.1",
    "colorsys": "^1.0.22",
    "credit-card-type": "^8.2.0",
    "dotenv": "^7.0.0",
    "google-geocoder": "^0.2.1",
    "moment": "^2.24.0",
    "nativescript-apple-sign-in": "^1.0.0",
    "nativescript-background-http": "^4.2.0",
    "nativescript-cardview": "^3.2.0",
    "nativescript-checkbox": "^3.0.3",
    "nativescript-color-picker": "^1.6.0",
    "nativescript-directions": "^1.3.1",
    "nativescript-email": "^1.5.5",
    "nativescript-fingerprint-auth": "^7.0.2",
    "nativescript-geolocation": "^5.1.0",
    "nativescript-gif": "^4.0.2",
    "nativescript-imagepicker": "^7.1.0",
    "nativescript-iqkeyboardmanager": "^1.5.1",
    "nativescript-loading-indicator": "^2.5.2",
    "nativescript-mapbox": "^4.4.1",
    "nativescript-masked-text-field": "^4.0.3",
    "nativescript-phone": "^1.4.0",
    "nativescript-plugin-firebase": "^10.3.3",
    "nativescript-stripe": "^6.0.0",
    "nativescript-theme-core": "^2.0.23",
    "nativescript-vue": "^2.4.0",
    "tns-core-modules": "~6.3.0",
    "vuex": "^3.1.0"

Currently, I cannot use pods inside App Extensions with nativescript.

It tries to install pods before adding the App Extension to the project.

For example:

App_Resources/iOS/Podfile
end target 'AppExtension' do pod 'Firebase/Messaging' end
Build Error:
[!] Unable to find a target named `AppExtension`, did find ``ProjectNameHere`.
'pod install' command failed.`

This means it's impossible to have images appear on iOS notifications with Firebase.

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

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

はじめの一歩

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

調査の方向性

まず App_Resources/iOS/Podfile と AppExtension target を使って iOS ビルドを再現し、次に pod のインストールと App Extension プロジェクトのセットアップに関する CLI フローを調査します。pod install で失敗を確認してください。AppExtension target が依存関係のインストール前に存在し、Firebase/Messaging pod が正常に解決されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
firebase, ios, javascript
領域
build-system, cli, mobile-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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