periphery
periphery copied to clipboard
A tool to identify unused code in Swift projects.
**Describe the bug** Create a new project in Xcode, add some basic Unit and UI Tests, add Periphery as an Aggregate and run the `scan` command from a Build Phase....
**Describe the bug** Given a Swift package library providing *libraries¨ And an application using one of these librairies, When a `static` property of a `public struct` of the *library* is...
**Describe the bug** Given this [Swift Package](https://github.com/Orange-OpenSource/ouds-ios) which provides several *libraries* (saying *OUDSComponents* and *OUDSTokensSemantic*) And a *typealias* defined in *OUDSComponents* pointing to a type defined in *OUDSTokensSemantic* When in...
**Describe the bug** When analyzing the code, it is not taken into account that the target may be cross-platform. Some functions may not be available or used in one of...
```swift /// Repository Docs var onAirRepository: OnAirRepositoryProtocol { get } // periphery:ignore ``` _Originally posted by @Ernest0-Production in https://github.com/peripheryapp/periphery/issues/891#issuecomment-2887298914_
### Description When running the Periphery scan command as part of an Xcode run script, the build fails with exit status '65'. However, the same command succeeds without any issues...
**Describe the bug** Error in Xcode integration. After trying to follow and debug the instructions for Periphery. Xcode reports exit status 65 (which is oh - so helpful). **Reproduction** Click...
**Describe the bug** A clear and concise description of what the bug is. **Reproduction** If you are reporting an incorrect result, please provide a sample Xcode or Swift package project...
Using Xcode 16.3 the documents state to choose "cross-platform". Now the selection is "other" 
When using Periphery in Xcode using the aggregated target, the Build Setting > Supported Platforms has to be the same as your main build platforms. F.e. if your main target...