github / github/codeql

Swift: Xcode 16.2 - could not build module

Offen
#19,284 17 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @redsun82 Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

ADO pipelines using codeql bundle 2.21.0 with Xcode 16.2 and the following task configuration block me to compile a swift project. It fails on `could not build module` related errors.

Pipeline:
```
- task: AdvancedSecurity-Codeql-Init@1
inputs:
enableAutomaticCodeQLInstall: true
languages: swift
querysuite: security-and-quality
- task: Xcode@5
displayName: 'Build and archive'
inputs:
configuration: 'ANONYMISED'
sdk: iphoneos
xcWorkspacePath: ANONYMISED.xcodeproj
scheme: 'ANONYMISED'
xcodeVersion: specifyPath
xcodeDeveloperDir: '/Applications/Xcode_$(xcodeVersion).app/Contents/Developer'
packageApp: true
archivePath: 'output/release'
exportPath: 'output/release'
exportOptions: plist
exportOptionsPlist: 'Signing/$(buildType)/exportOptions.plist'
signingOption: default
```

Output:
[logging.txt](https://github.com/user-attachments/files/19700668/logging.txt)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.