Outblock / fcl-swift

MIT License
12 stars 7 forks source link

FCL-Swift is not compatible with the MetaMask iOS SDK due to dependency on different starscream versions #29

Open ErichWood opened 5 months ago

ErichWood commented 5 months ago

If you want to have FLC and MetaMask in the same iOS app, we need to update the starscream dependency to 4.0.6.

Failed to resolve dependencies   Dependencies could not be resolved because root depends on 'fcl-swift' 0.1.2..<1.0.0 and root depends on 'metamask-ios-sdk' 0.6.5..<1.0.0.
  'metamask-ios-sdk' is incompatible with 'fcl-swift' because 'metamask-ios-sdk' >= 0.6.5 practically depends on 'starscream' 4.0.6 (1).
  'fcl-swift' >= 0.1.2 practically depends on 'starscream' 3.1.1 because 'fcl-swift' 0.1.2 depends on 'starscream' 3.1.1 and 'fcl-swift' 0.1.3 depends on 'starscream' 3.1.1.
  'fcl-swift' {0.1.2, 0.1.4..<1.0.0} practically depends on 'starscream' 3.1.1 because no versions of 'fcl-swift' match the requirement 0.1.4..<1.0.0 and 'fcl-swift' 0.1.2 depends on 'starscream' 3.1.1.
  'socket.io-client-swift' >= 16.1.0 practically depends on 'starscream' 4.0.6 because no versions of 'socket.io-client-swift' match the requirement 16.1.1..<17.0.0 and 'socket.io-client-swift' 16.1.0 depends on 'starscream' 4.0.6.
  'metamask-ios-sdk' >= 0.6.5 practically depends on 'socket.io-client-swift' 16.1.0..<17.0.0 because no versions of 'metamask-ios-sdk' match the requirement 0.6.6..<1.0.0 and 'metamask-ios-sdk' 0.6.5 depends on 'socket.io-client-swift' 16.1.0..<17.0.0.
     (1) 'metamask-ios-sdk' >= 0.6.5 practically depends on 'starscream' 4.0.6.