web3swift icon indicating copy to clipboard operation
web3swift copied to clipboard

Issues with 'Utilities' and 'SECP256K1' in web3swift 3.3.0

Open moitani03 opened this issue 11 months ago • 5 comments

Hi,

After resolving the type mismatch, I now get "Cannot find 'Utilities' in scope" and "Cannot find 'SECP256K1' in scope" when using web3swift 3.3.0 in xcode

DefaultCryptoProvider.txt

I expected both to be available with import web3swift. Can you help resolve this? Thanks!

Best, moitani03

moitani03 avatar Mar 18 '25 06:03 moitani03

@moitani03 please import the following:

import Web3Core
import WalletConnectSigner

Also managed to compile on deprecated package. https://github.com/WalletConnect/WalletConnectSwiftV2.git. I had on my intel based Mac, swift 6 missing WalletConnector issue. Then it would be a question for Reown about migration problem.

SYhotmail avatar Apr 10 '25 13:04 SYhotmail

Hi,

After resolving the type mismatch, I now get "Cannot find 'Utilities' in scope" and "Cannot find 'SECP256K1' in scope" when using web3swift 3.3.0 in xcode

DefaultCryptoProvider.txt

I expected both to be available with import web3swift. Can you help resolve this? Thanks!

Best, moitani03

Are you integrating via 'pod install' or via 'SPM' ?

UniqueSilence avatar May 16 '25 01:05 UniqueSilence

I had to deal with the same issue via spm, so I resolved compiling secp256k1 as a xcframework and adding it to my project

Airos478963 avatar Oct 14 '25 07:10 Airos478963

then the compilation was successful?

---- Replied Message ---- | From | Brayan @.> | | Date | 10/14/2025 15:48 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [web3swift-team/web3swift] Issues with 'Utilities' and 'SECP256K1' in web3swift 3.3.0 (Issue #884) | Airos478963 left a comment (web3swift-team/web3swift#884)

I had to deal with the same issue via spm, so I resolved compiling secp256k1 as a xcframework and adding it to my project

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

UniqueSilence avatar Oct 14 '25 09:10 UniqueSilence

then the compilation was successful?

Yes, everything is working now for me.

Airos478963 avatar Oct 30 '25 21:10 Airos478963