A tool to identify unused code in Swift projects.
--option "arg1" "arg2"
.--external-encodable-protocols
is deprecated, use --external-codable-protocols
instead.--enable-unused-import-analysis
.--auto-remove
.--retain-codable-properties
option to retain all properties on Codable types.--retain-files
option to retain all declarations within the given files.@dynamicMemberLookup
are now retained.--external-codable-protocols
now retains enums that conform to CodingKey
.@inlinable
function.NSPrincipalClass
and WKExtensionDelegateClassName
are now retained.2.17.1
--file-targets-path
option.2.17.0
--relative-results
option to output result paths relative to the current directory.--quiet
now silences warnings too.2.16.0
PreviewProvider
) are no longer retained by default. Retain them with --retain-swift-ui-previews
.--retain-public
.2.15.1
INDEX_ENABLE_DATA_STORE
is now forcefully enabled as it's required for indexing in some cases.2.15.0
2.14.1
2.14.0
--retain-objc-annotated
option.--external-test-case-classes
option to allow external types to be treated as XCTestCase subclasses.// periphery:ignore - explanation of why this is necessary
--file-targets-path
.--retain-objc-accessible
is enabled.