Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.
This repository was archived by the owner on Aug 12, 2026. It is now read-only.

Unknown argument: '-enforce-exclusivity\=checked' on Xcode 12 #107

Closed

Description

@OdNairy

Periphery works nice on Xcode 11.7 but produces an error with Xcode 12 GM during Indexing step:

Error: SourceKit index request failed for file '<REDACTED>/File.swift': error: unknown argument: '-enforce-exclusivity\=checked'

Activity

  1. bovillaios commented on Jan 18, 2021

    @bovillaios

    Did anyone have a turnaround for this solution? I am using the latest version (2.4.1) of Periphery.

  2. ileitch commented on Jan 18, 2021

    @ileitch
    Contributor

    @bovillaios Periphery 2.4.1 no longer uses SourceKit, so this error should not be possible. Can you describe your situation?

  3. bovillaios commented on Jan 18, 2021

    @bovillaios

    Hi @ileitch , When we run the project either from Xcode (12.3) or Terminal. I am getting this error. Earlier with Xcode 11.x it was working fine for us. Can u plz help us?

  4. ileitch commented on Jan 18, 2021

    @ileitch
    Contributor

    This error exact error is not possible with 2.4.1, are you sure this is exactly what you're seeing? Can you please provide the full output of running Periphery with the --verbose option.

  5. bovillaios commented on Jan 18, 2021

    @bovillaios

    @ileitch, I am extremely sorry. I was referring to the periphery Pod version. Now released about the brew Package version also. I have updated the brew package. Now it is working fine. Thanks a lot. Made my day!!

  6. ileitch commented on Jan 18, 2021

    @ileitch
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions