[0.88] SwiftPM: move injected build settings and build scripts out of project.pbxproj

Chiusa
#1,453 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
react-native, swift

Direzione di ricerca

Start by reading the linked SwiftPM change in PR #58834 and the prerequisite PR #59043, then inspect the new ReactNativeSPM/ folder and its committed build settings and build-phase scripts. Make sure the SwiftPM opt-ins for RN_STRICT_API and RN_ALLOW_FRAMEWORKS are present before applying the move. Done means the injected settings and scripts are outside project.pbxproj and an spm update no longer changes that file.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Type Pick Request
Target Branch

0.88

Link to commit or PR to be picked

https://github.com/react/react-native/pull/59313

Description

A routine SwiftPM spm update, such as a React Native version bump, no longer changes project.pbxproj. The build settings and build-phase scripts that React Native adds now go into committed files in a new ReactNativeSPM/ folder.

This is a port PR against 0.88-stable of #58834, which already landed in main. We opened it to avoid merge conflicts. It is PR 5 of 5 in a stack (#59309, #59310, #59311, #59312, #59313); merge them in that order.

The commit on main also contains changes from #59043, which is not on 0.88-stable. This port leaves those changes out, so #59043 does not need to be picked.

Lingua principale
JavaScript
Stelle
429
Fork
11
Merge medio
4h 13m
PR unite (30g)
7

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di reactwg/react-native-releases

Tutte le issue di reactwg/react-native-releases

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.