reown-com / reown-swift

Apache License 2.0
30 stars 10 forks source link

App crash after migrate from Web3Wallet to WalletKit #47

Closed nghiepdaocong closed 2 weeks ago

nghiepdaocong commented 3 weeks ago

Describe the bug A clear and concise description of what the bug is. I upgraded the app following the guide: https://docs.reown.com/walletkit/upgrade/from-web3wallet-ios but the app crashed after launch with fatalError below:

guard let configURL = Bundle.resourceBundle.url(forResource: "PackageConfig", withExtension: "json") else {
            fatalError("Unable to find PackageConfig.json in the resource bundle")
        }

I imported lib via: pod 'reown-swift', :git => 'https://github.com/reown-com/reown-swift.git', :tag => '1.0.4'
Infomation

llbartekll commented 3 weeks ago

hey @nghiepdaocong, we may deprecate cocoapods soon, could you switch to SPM?

nghiepdaocong commented 2 weeks ago

@llbartekll Thank you so much! It work fine when I use SPM.