Swift / Objective-C

Cocoapods ans SwiftPM support

This analyser is able to run on either CocoaPods 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 situaion 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.

Last updated