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

导入 pod TokenCoreDep 问题

Open SuperDarrenChain opened this issue 5 years ago • 12 comments

这边的pod "TokenCore", git: "https://github.com/consenlabs/token-core-ios.git", branch: "master" 是否正确,这边一直pod不了这个问题

SuperDarrenChain avatar Apr 08 '19 11:04 SuperDarrenChain

原因暂时未知,更换为pod 'TokenCore', :git=> 'https://github.com/consenlabs/token-core-ios.git',:commit=>'03817d489a42d882ccffae45468e4199f807dc06' 后解决。 不行的话你就pod update repo。 OS X10.14.4 Xcode 10.2 pod 1.6测试通过。

t0m1sacat avatar May 02 '19 13:05 t0m1sacat

你这个方法是可以podinstall,可是install之后好多报错,framework not found bigint你遇到过吗?

Merlini93 avatar Jul 25 '19 07:07 Merlini93

贴一下podfile看下你的写法?

t0m1sacat avatar Jul 25 '19 07:07 t0m1sacat

Uncomment the next line to define a global platform for your project

platform :ios, '9.0'

target 'wallet' do

Comment the next line if you don't want to use dynamic frameworks

use_frameworks! pod 'TokenCore', :git=> 'https://github.com/consenlabs/token-core-ios.git',:commit=>'03817d489a42d882ccffae45468e4199f807dc06'

Pods for wallet

end

你看有什么问题吗,这个库的exmple我也跑不起来说没有tokencoredep,我现在很迷惑,求指点

Merlini93 avatar Jul 25 '19 07:07 Merlini93

具体报错信息是什么? 你是OC项目还是swift项目?

t0m1sacat avatar Jul 25 '19 07:07 t0m1sacat

看上去没问题,是不是报BigInt` does not specify a Swift version and none of the targets xxxxx 这种错误? 如果是的话在项目中加一个swift文件,把项目变成OC和SWIFT混编的再重新install就好了。

t0m1sacat avatar Jul 25 '19 07:07 t0m1sacat

Mac OS 10.14.5 Xcode10.3 是我新建的swift项目,podfile就这一个。 报错: image image

Merlini93 avatar Jul 25 '19 07:07 Merlini93

去pod的project里面看下TokenCore的Swift版本多少,改成5之后编译通过。

t0m1sacat avatar Jul 25 '19 07:07 t0m1sacat

之前是swift4现在改成swift5了,编译之后依然报同样的错误 image

Merlini93 avatar Jul 25 '19 07:07 Merlini93

大佬方便加个电报交流吗?

Merlini93 avatar Jul 25 '19 07:07 Merlini93

电报号发你QQ邮箱了。

t0m1sacat avatar Jul 25 '19 07:07 t0m1sacat

遇到了同样的问题,求大佬解答

wq19920109 avatar Jul 29 '19 12:07 wq19920109