Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

导入 pod TokenCoreDep 问题 #70

Open
SuperDarrenChain opened this issue Apr 8, 2019 · 12 comments
Open

导入 pod TokenCoreDep 问题 #70

SuperDarrenChain opened this issue Apr 8, 2019 · 12 comments

Comments

@SuperDarrenChain
Copy link

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

@t0m1sacat
Copy link

原因暂时未知,更换为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测试通过。

@Merlini93
Copy link

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

@t0m1sacat
Copy link

贴一下podfile看下你的写法?

@Merlini93
Copy link

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,我现在很迷惑,求指点

@t0m1sacat
Copy link

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

@t0m1sacat
Copy link

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

@Merlini93
Copy link

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

@t0m1sacat
Copy link

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

@Merlini93
Copy link

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

@Merlini93
Copy link

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

@t0m1sacat
Copy link

电报号发你QQ邮箱了。

@wq19920109
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants