Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Xcode 27 build fails because AppAuthCore_Privacy resource bundle targets iOS 12.0

Aperta Adatta ai principianti
#979 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
ios, objective-c

Direzione di ricerca

Inizia dal AppAuth podspec e verifica come il relativo deployment target viene applicato al target nativo e al bundle di risorse per la privacy. Esegui pod install con AppAuth 2.1.0, quindi verifica che entrambi i target generati usino iOS 15.0 o una versione successiva e che il progetto venga compilato con Xcode 27.

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

Descrizione

bug triage

Summary

Xcode 27 fails the build because AppAuth 2.1.0 generates its privacy resource
bundle with an iOS 12.0 deployment target.

Xcode 27 supports deployment targets starting at iOS 15.0.

Environment

  • AppAuth-iOS: 2.1.0
  • react-native-app-auth: 8.4.1
  • React Native: 0.83.2
  • Xcode: 27
  • Application deployment target: iOS 17.2
  • CocoaPods: 1.16.2

Generated targets

After running pod install, the generated Pods project contains:

AppAuth: 12.0
AppAuth-AppAuthCore_Privacy: 12.0

Error

The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
12.0, but the range of supported deployment target versions is
15.0 to 27.0.x.

The build failure is reported for:

AppAuth-AppAuthCore_Privacy

Steps to reproduce

  1. Create an iOS project using CocoaPods.
  2. Add AppAuth version 2.1.0.
  3. Set the application deployment target to iOS 15 or later.
  4. Run pod install.
  5. Build with Xcode 27.
  6. Observe that AppAuthCore_Privacy retains iOS 12.0.

Expected behavior

AppAuth and its privacy resource bundle should use an iOS deployment target
supported by Xcode 27, preferably iOS 15.0 or later.

Suggested change

Raise the minimum iOS deployment target in the AppAuth podspec to iOS 15.0 so
both the native target and generated privacy resource bundle receive a valid
deployment target.

Temporary workaround

Applications can raise generated pod deployment targets in their Podfile
post_install hook. However, correcting the package podspec prevents CocoaPods
from generating unsupported targets.

Related issue

React Native has a related issue where deployment-target normalization skips
resource-bundle targets:

https://github.com/react/react-native/issues/58555

Lingua principale
Objective-C
Stelle
2k
Fork
867
Merge medio
9g 20h
PR unite (30g)
1

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 openid/AppAuth-iOS

Tutte le issue di openid/AppAuth-iOS

Issue simili

Altre issue su Objective-C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.