periphery icon indicating copy to clipboard operation
periphery copied to clipboard

A tool to identify unused code in Swift projects.

Results 153 periphery issues
Sort by recently updated
recently updated
newest added

**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....

needs investigation
xcode

**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...

needs investigation

**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...

needs investigation

**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...

needs investigation

```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...

xcode

**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...

needs investigation
xcode

**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...

needs investigation

Using Xcode 16.3 the documents state to choose "cross-platform". Now the selection is "other" ![Image](https://github.com/user-attachments/assets/8369a421-c1cd-45b5-b193-c3abc26717ed)

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...