Swift

Prerequisites

    Install CLI​
    Swift projects
      Install Swift​
      Verify Package.swift file exists
      swift package update should be run before running the tool

Command-line

Run the following from the command line. project-name is required.
1
cdefense scan --lang=swift --api-key=<YOUR_API_KEY> \
2
--path=/d/temp/swift-starter --project-name="My Swift Project"
Copied!
​
Last modified 1mo ago
Copy link