token-core-ios icon indicating copy to clipboard operation
token-core-ios copied to clipboard

[!] Error installing TokenCore [!] Failed to download 'TokenCore'.

Open jxxxyz opened this issue 7 years ago • 11 comments

macintoshdeMacBook-Pro:Example macintosh$ pod install Analyzing dependencies Pre-downloading: TokenCore from [email protected]:consenlabs/token-core-ios.git, branch master

[!] Error installing TokenCore [!] Failed to download 'TokenCore'. macintoshdeMacBook-Pro:Example macintosh$

jxxxyz avatar Oct 25 '18 07:10 jxxxyz

Troubleshooting

sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / Password: installer: Package name is macOS_SDK_headers_for_macOS_10.14 installer: Installing at base path / installer: The install was successful.

jxxxyz avatar Oct 25 '18 07:10 jxxxyz

I think it should be fixed after #7

kaichen avatar Oct 25 '18 09:10 kaichen

/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg 目录下没有这个包,怎么安装

ShouBinCheng avatar Oct 30 '18 10:10 ShouBinCheng

你可以在Apple Developer 下载页面下载到这个包

XuNeal avatar Oct 31 '18 03:10 XuNeal

终端下:xcode-select install 等安装完就可以了

ShouBinCheng avatar Oct 31 '18 11:10 ShouBinCheng

你们在oc的工程下,可以使用吗?

culturetown avatar Nov 05 '18 02:11 culturetown

Analyzing dependencies Pre-downloading: TokenCore from https://github.com/consenlabs/token-core-ios.git, branch master Pre-downloading: web3swift from https://github.com/bankex/web3swift.git [!] CocoaPods could not find compatible versions for pod "BigInt": In Podfile: TokenCore (from https://github.com/consenlabs/token-core-ios.git, branch master) was resolved to 0.1, which depends on BigInt (= 3.0.0)

web3swift (from `https://github.com/bankex/web3swift.git`) was resolved to 2.0.1, which depends on
  BigInt (~> 3.1)

好像是tokencore需要用3.0.0版本的BigInt和web3swift 冲突,pod 不下来

haizhiwen avatar Nov 07 '18 09:11 haizhiwen

你们在oc的工程下,可以使用吗?

目前并未在OC的工程下测试过,您可以试一下

XuNeal avatar Nov 08 '18 02:11 XuNeal

Analyzing dependencies Pre-downloading: TokenCore from https://github.com/consenlabs/token-core-ios.git, branch master Pre-downloading: web3swift from https://github.com/bankex/web3swift.git [!] CocoaPods could not find compatible versions for pod "BigInt": In Podfile: TokenCore (from https://github.com/consenlabs/token-core-ios.git, branch master) was resolved to 0.1, which depends on BigInt (= 3.0.0)

web3swift (from `https://github.com/bankex/web3swift.git`) was resolved to 2.0.1, which depends on
  BigInt (~> 3.1)

好像是tokencore需要用3.0.0版本的BigInt和web3swift 冲突,pod 不下来

我们晚点看看能不能将BigInt升级到3.1,也欢迎提PR

XuNeal avatar Nov 08 '18 02:11 XuNeal

@XuNeal 十分感谢开源这个库. 帮助很大 升级 BigInt 的时候. 是否也能升级下 CryptoSwift 的版本.

linKnowEasy avatar Nov 08 '18 03:11 linKnowEasy

CryptoSwift 也是不一样的,需要升一下级

haizhiwen avatar Nov 09 '18 07:11 haizhiwen