NativeScript / NativeScript/nativescript-cli

Customize the command used to install CocoaPods

Offen
#1,628 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

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

Beschreibung

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

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 beim Ablauf tns emulate ios und verfolge, wo CocoaPods pod install ausführt. Prüfe den angeforderten Workaround mit bundle exec pod install und Gemfile und definiere anschließend, wie ein benutzerdefinierter Befehl bereitgestellt würde. Als abgeschlossen gilt die Aufgabe, wenn der iOS-Emulationsablauf diesen Befehl für Projekte verwenden kann, die eine angepasste CocoaPods-Installation benötigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
ios, javascript
Bereich
cli, mobile-dev
Issue-Typ
Feature
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.