Skip to content

Xcode 16.3 / Swift 6.1 Member operator '!=' of protocol 'EVReflectable' must have at least one argument of type 'Self' #327

Open

Description

@qyzdo

Hi! It looks like changes in Swift 6.1 have changed rules for member operators of protocols: swiftlang/swift#78733. Because of this EVReflectable can't be compiled with Xcode 16.3 version.

Image

Activity

  1. evermeer commented on Apr 1, 2025

    @evermeer
    Owner

    I think the change is simply replacing EVReflectable for all parameters there to Self. Unfortunately my MacBook is out of order. Would be nice if someone could test that and make a PR.

  2. qyzdo commented on Apr 1, 2025

    @qyzdo
    Author

    I'll try to do this in my free time. Currently, I made a local CocoaPod with updated parameters to Self, and it seems to be working fine.

  3. UpendraVerma commented on Apr 4, 2025

    @UpendraVerma

    i am getting the same error in Xcode 16.3

  4. qyzdo commented on Apr 7, 2025

    @qyzdo
    Author

    @evermeer, I was trying to run the tests, but it seems like they weren't updated for a long time, and I couldn't compile them. I fixed the arm64 compiling issue by updating the podfile, but then I had some Moya objective-c header issues.

  5. h4acda commented on Apr 10, 2025

    @h4acda

    Indeed, changing the four 'EVReflectable' to 'Self' would suffice. Could the author please update it? It can be done without using a MAC computer or using WIN's notepad, and any changes can be submitted. Thank you

  6. added a commit that references this issue on Apr 18, 2025
  7. lucalucic commented on May 9, 2025

    @lucalucic

    why the fix is not available yet?

  8. LuizPanariello commented on May 21, 2025

    @LuizPanariello

    Is this version available?

  9. phucnguyen1998 commented on Aug 4, 2025

    @phucnguyen1998

    Please use the code from the latest branch. Update the Podfile with the following line:

    pod 'EVReflection', :git => 'https://github.com/evermeer/EVReflection', :branch => 'master'

  10. Pateo-shengzhichen commented on Oct 15, 2025

    @Pateo-shengzhichen

    Please use the code from the latest branch. Update the Podfile with the following line:

    pod 'EVReflection', :git => 'https://github.com/evermeer/EVReflection', :branch => 'master'

    I use the pod config to load the lib, but I had get the git error:

    [!] Error installing EVReflection
    [!] Failed to download 'EVReflection': [!] /opt/homebrew/bin/git clone https://github.com/evermeer/EVReflection /var/folders/3l/nj4dcxm13f54cf55wn6z8p5w0000gn/T/d20251015-43463-iz5gpv --template=

    正克隆到 '/var/folders/3l/nj4dcxm13f54cf55wn6z8p5w0000gn/T/d20251015-43463-iz5gpv'...
    error: RPC 失败。curl 18 Transferred a partial file
    error: 预期仍然需要 1347 个字节的正文
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: 过早的文件结束符(EOF)
    fatal: fetch-pack:无效的 index-pack 输出

  11. Pateo-shengzhichen commented on Oct 15, 2025

    @Pateo-shengzhichen

    @evermeer Hi ,do we have the plan to make a version for the commit that fix the the error? Thank you.

  12. Pateo-shengzhichen commented on Jan 20, 2026

    @Pateo-shengzhichen

    I try again, the follow source work fine.

    pod 'EVReflection', :git => 'https://github.com/evermeer/EVReflection', :branch => 'master'

    Thank you . @evermeer

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