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

Carthage failing with scheme "AppAuth_watchOS"

Aperta
#810 4 commenti 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
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
objective-c

Direzione di ricerca

Inizia con AppAuth.xcodeproj e il comando segnalato carthage bootstrap --use-xcframeworks, concentrandoti su come viene selezionato e compilato lo schema AppAuth_watchOS. Confronta la configurazione degli schemi macOS, iOS e watchOS mostrata nei log. Il lavoro è completato quando l’installazione Carthage richiesta non fallisce più quando watchOS non è necessario e il comando interessato è stato verificato.

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

Descrizione

bug triage

Describe the bug
Using Carthage to install AppAuth-iOS it's falling to me when carthage try to install the watchOS scheme.

Is there any way to disable watchOS scheme before installing it? I don't need it for my project

To Reproduce
Steps to reproduce the behavior:

  1. Cartfile added: github "openid/AppAuth-iOS" == 1.6.2
  2. in the Terminal run carthage bootstrap --use-xcframeworks
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • Device: MacBook Pro M1 Pro
  • OS: 13.5.1 (22G90)
  • Xcode Version 15.1 (15C65)
  • Carthage version 0.39.1

Additional context

*** Building scheme "AppAuth_macOS" in AppAuth.xcodeproj *** Building scheme "AppAuth_iOS" in AppAuth.xcodeproj *** Building scheme "AppAuth_watchOS" in AppAuth.xcodeproj Build Failed Task failed with exit code 70: /usr/bin/xcrun xcodebuild -project /Users/x/projects/x/Carthage/Checkouts/AppAuth-iOS/AppAuth.xcodeproj -scheme AppAuth_watchOS -configuration Release -derivedDataPath /Users/x/Library/Caches/org.carthage.CarthageKit/DerivedData/15.1_15C65/AppAuth-iOS/1.6.2 -sdk watchos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/d5/hth0x90s6z94_b888pks4cfm0000gn/T/AppAuth-iOS SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/x/projects/x/Carthage/Checkouts/AppAuth-iOS)

More logs:

`/usr/bin/xcrun xcodebuild -project /Users/x/projects/x/Carthage/Checkouts/AppAuth-iOS/AppAuth.xcodeproj -scheme AppAuth_watchOS -configuration Release -derivedDataPath /Users/x/Library/Caches/org.carthage.CarthageKit/DerivedData/15.1_15C65/AppAuth-iOS/1.6.2 -sdk watchos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/d5/hth0x90s6z94_b888pks4cfm0000gn/T/AppAuth-iOS SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/x/projects/x/Carthage/Checkouts/AppAuth-iOS)Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project /Users/x/projects/x/Carthage/Checkouts/AppAuth-iOS/AppAuth.xcodeproj -scheme AppAuth_watchOS -configuration Release -derivedDataPath /Users/x/Library/Caches/org.carthage.CarthageKit/DerivedData/15.1_15C65/AppAuth-iOS/1.6.2 -sdk watchos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/d5/hth0x90s6z94_b888pks4cfm0000gn/T/AppAuth-iOS SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO

User defaults from command line:
IDEArchivePathOverride = /var/folders/d5/hth0x90s6z94_b888pks4cfm0000gn/T/AppAuth-iOS
IDEDerivedDataPathOverride = /Users/x/Library/Caches/org.carthage.CarthageKit/DerivedData/15.1_15C65/AppAuth-iOS/1.6.2
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
CARTHAGE = YES
CLANG_ENABLE_CODE_COVERAGE = NO
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
ONLY_ACTIVE_ARCH = NO
SDKROOT = watchos10.2
SKIP_INSTALL = YES
STRIP_INSTALLED_PRODUCT = NO
VALIDATE_WORKSPACE = NO`

Lingua principale
Objective-C
Stelle
2k
Fork
866
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.