Use Cocoa build-settings passthrough instead of xcconfig

Aperta
#5,633 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
build-system

Direzione di ricerca

First check getsentry/sentry-cocoa#9167 and confirm the updated packaging script is available in the consumed submodule. Then inspect scripts/build-sentry-cocoa.sh and scripts/sentry-cocoa.xcconfig. Done means passing the build setting through --build-settings, preserving inherited preprocessor definitions, and removing the obsolete xcconfig workaround.

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

Descrizione

.NET State: Needs Discussion

Blocked by https://github.com/getsentry/sentry-cocoa/issues/9167.

scripts/build-sentry-cocoa.sh currently uses XCODE_XCCONFIG_FILE to inject SENTRY_CRASH_MANAGED_RUNTIME=1 into the Cocoa build because the upstream packaging script does not expose custom build settings.

  • Once the Cocoa issue is resolved and the updated script is available in the consumed submodule, update build-sentry-cocoa.sh to pass the build setting directly through build-xcframework-sentryobjc.sh --build-settings.
  • Preserve inherited preprocessor definitions alongside SENTRY_CRASH_MANAGED_RUNTIME=1.
  • Remove the obsolete scripts/sentry-cocoa.xcconfig workaround.

via Thomas Hedderwick.

--

View Junior Session [Sentry]

Lingua principale
C#
Stelle
775
Fork
262
Merge medio
1g 16h
PR unite (30g)
118

Preparare l'ambiente

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 getsentry/sentry-dotnet

Tutte le issue di getsentry/sentry-dotnet

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.