Open cawfree opened 4 years ago
It is not possible to install web3swift in web3-react-native.podspec because it relies on us to specify :modular_headers => true, which the linter does not recognize:
web3swift
web3-react-native.podspec
:modular_headers => true
s.dependency 'secp256k1.c', '0.1.2', :modular_headers => true s.dependency 'web3swift', '2.2.1', :modular_headers => true
However, when doing this, executing pod install throws the following error:
pod install
[!] Invalid `Podfile` file: [!] Invalid `web3-react-native.podspec` file: [!] Unsupported version requirements. ["0.1.2", {:modular_headers=>true}] is not valid.
Specify these dependencies manually in the App's Podfile:
Podfile
pod 'secp256k1.c', '0.1.2', :modular_headers => true pod 'web3swift', '2.2.1', :modular_headers => true
This is not acceptable though, because React Native libraries (>0.60) should not necessitate any manual configuration of the Podfile.
Issue
It is not possible to install
web3swift
inweb3-react-native.podspec
because it relies on us to specify:modular_headers => true
, which the linter does not recognize:However, when doing this, executing
pod install
throws the following error:Workaround
Specify these dependencies manually in the App's
Podfile
:This is not acceptable though, because React Native libraries (>0.60) should not necessitate any manual configuration of the
Podfile
.