Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Failed to build project for debug: Cannot find type 'JSONRPC' in scope #1390

@Andoran90

Description

@Andoran90

Describe the bug
When upgrading to 1.19.0 and higher failed to build project in debug, because of Cannot find type 'JSONRPC' in scope.

func getSessionRequest(id: JSONRPC.RPCID) -> (request: Request, context: VerifyContext?)? {
    fatalError("Unimplemented")
}

Remove JSONRPC. so the project can be build in debug

SDK Version

  • Client: Swift
  • Version 1.19.0 and higher

To Reproduce
Steps to reproduce the behavior:

  1. Add pod 'WalletConnectSwiftV2', :git => 'https://github.com/WalletConnect/WalletConnectSwiftV2', :tag => '1.19.0'
  2. Click on Build button
  3. See error Cannot find type 'JSONRPC' in scope

Expected behavior
Build successful

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions