Swift and Objective-C

Applicability

Snyk supports Swift for code analysis and Swift and Objective-C for open source. This includes support for CocoaPods.

Check the language availability to be imported as an application, tested, or monitored using the Snyk products.

Supported Swift version

You can use versions up to 5.7.x.

Available functions:

  • SCM import, available for Snyk Open Source and Snyk Code. If used with Snyk Open Source, then the SCM import is available for CocoaPods.

  • Test or monitor your app through CLI and IDE, available for Snyk Open Source and Snyk Code.

  • Test your app's SBOM using pkg:swift, pkg:cocoapods

  • Test your app's packages using pkg:swift, pkg:cocoapods

Package managers and Supported files

Snyk for Swift and Objective-C supports CocoaPods, Swift Package Manager v3.0 or higher as package managers and it uses multiple sources including cocoapods.org maven.org for package registry.

Snyk for Swift and Objective-C supports the following file formats:

  • Snyk Open Source:

    • For CocoaPods: podfile, podfile.lock,

    • For Swift: package.swift

  • Snyk Code: .swift

Frameworks and libraries

The following frameworks and libraries are supported in Snyk for Swift and Objective-C:

  • Swift standard library - Comprehensive

  • Foundation- Comprehensive

  • Appkit - Comprehensive

  • Swift UI - Comprehensive

  • UI Kit - Comprehensive

  • Asynchttpclient - Comprehensive

  • Commoncrypt - Comprehensive

  • Commoncrypto - Comprehensive

  • Cryptokit - Comprehensive

  • Cryptoswift - Comprehensive

  • Cryptor - Comprehensive

  • AlamoFire - Comprehensive

  • Filekit - Comprehensive

  • google-gemini/generative-ai-swift - Comprehensive

  • MacPaw/OpenAI - Comprehensive

  • dylanshine/openai-kit - Comprehensive

  • Pathos - Comprehensive

  • SQLite3 - Comprehensive

  • Webkit - Comprehensive

  • SwiftCLI - Comprehensive

  • ShellOut - Comprehensive

  • SwiftShell - Comprehensive

  • Subprocess - Comprehensive

  • Shout - Comprehensive

  • Swiftline - Comprehensive

  • RNCryptor - Comprehensive

Features

The following features are supported in Snyk for Swift and Objective-C:

Snyk Open Source
Snyk Code
  • License scanning (CocoaPods)

  • Reports

  • Reports

  • Interfile analysis

Last updated

More information

Snyk privacy policy

© 2024 Snyk Limited | All product and company names and logos are trademarks of their respective owners.