Fossa supports Swift and Objective-C Cocoa projects with both CocoaPods and Carthage.
Fossa is using CocoaPods Version ~1.0. If your Podfile is built using an earlier version, there is a chance that it may not build correctly. To upgrade See doc.
The CocoaPods build system pulls in dependencies based on:
Fossa derives dependencies by analyzing your Podfile/Podfile.lock files and seeing which dependencies are brought in. Other metadata is fetched directly from repository podspec files.
FOSSA allows you to add your own podspec repos as well. This is done via the Language Settings page under
Cocoapods Settings. The url should be of the form:
https://github.com/artsy/Specs for public repos, and
firstname.lastname@example.org:artsy/Specs.git for private repos.
When adding a new spec repo, FOSSA will attempt to automatically add our public key to the github repo.
If your private spec repos are not working in FOSSA, please make sure that the following public key is added to your github settings:
This is done via the Project Settings deploy key section in your github project:
On-prem users will need to get their public key from the host server (if one doesn't exist, the Cocoapods migration will create a key pair)
Fossa scans through your Project and analyzes any Cartfile that is found. Cartfile.private and Cartfile.resolved files are ignored. It grabs dependencies based on: