Swift / Objective-C
Cocoapods ans SwiftPM support
This analyser is able to run on CocoaPods and/or SwiftPM projects.
For Cocoapods project, it is triggered when either a Podfile or a Podfile.lock file is found in the root folder. When operating on such project the analyser will use the “pod” command in order to load the dependencies graph. If a lock is present, no tooling is necessary.
For SwiftPM, it is triggered when a Package.swift file is found in the root folder. When operating on such project the analyser will use the “swift” command in order to load the dependencies graph. In absence of a Package.swit, the system will analyse the "Package.resolved" files that can be found (in that situation there's no need to have the Swift tooling installed). Please note that, if using the dockerized client, the default image will not contain the tool, and you will need to use the specific image for the language.
The analyser automatically supports projects adopting an hybrid setup where both of the above tooling manage the dependencies. If the requirements listed above are all met the analyser will load dependencies from Cocoapods and SwiftPM.
Last updated
Was this helpful?