NativeScript / NativeScript/nativescript-cli

Cannot Use Pods Inside App Extensions

Offen
#5,244 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature
Vorherrschende Sprache
JavaScript
Sterne
1.1k
Forks
204
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
8

Beschreibung

  • 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, den iOS-Build mit App_Resources/iOS/Podfile und dem AppExtension target zu reproduzieren, und untersuche anschließend den CLI-Ablauf rund um die Pod-Installation und die Einrichtung des App Extension-Projekts. Bestätige den Fehler mit pod install; abgeschlossen ist die Aufgabe, wenn das AppExtension target vor der Installation der Abhängigkeiten vorhanden ist und der Firebase/Messaging pod erfolgreich aufgelöst wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
firebase, ios, javascript
Bereich
build-system, cli, mobile-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.