Skip to content

Declaration conflict and unknown extension reference errors after upgrading from 3.6.0 to 3.7.1 #1105

@juicyfru1t

Description

@juicyfru1t

After upgrading Periphery from version 3.6.0 to 3.7.1, the analysis fails with indexing errors that did not occur in
the previous version.

Environment:

  • Periphery version: 3.7.1 (previously 3.6.0 - worked fine)
  • Xcode version: 26.3.0
  • macOS version: Darwin 25.3.0
  • Project type: Large multi-module iOS project with mixed Swift/Objective-C codebase

Errors:

Error: Unknown extended reference kind for extension 'extension'

Declaration conflict detected: a declaration with the USR 'c:@e@HHErrorTypeCode@HHErrorCommonBadRequest' has already
been indexed.

Command PhaseScriptExecution failed with a nonzero exit code

The HHErrorTypeCode and number of other files are Objective-C enums that may be bridged to Swift

I can provide more context if needed. Any hints how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions