Skip to content

Periphery fail for the latest Xcode project format #978

Description

@aiKrice

Describe the bug
Periphery is not supported for Project Format Xcode 16.3 (working for Xcode 16.0)

Reproduction

periphery scan --config config/periphery/periphery.yml --write-baseline config/periphery/baseline.json

Environment
Copy the output from running:
error: (DecodingError) typeMismatch(Swift.String, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "objects", intValue: nil), _DictionaryCodingKey(stringValue: "3E3891782B170DB600C3F9AA", intValue: nil), CodingKeys(stringValue: "shellScript", intValue: nil)], debugDescription: "Expected to decode String but found an array instead.", underlyingError: nil))

periphery version: `3.2.0`
swift -version: `swift-driver version: 1.127.14.1 Apple Swift version 6.2 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) Target: arm64-apple-macosx26.0`
xcodebuild -version: `Xcode 26.0.1 Build version 17A400`

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting feedbackFurther information is requestedxcodeIssues related to Xcode integration

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions