2016-11-10 41 views
0

我已經使用迦太基安裝了圖表框架。現在需要更新swift 3版本的框架。如何升級使用迦太基安裝的現有框架

Carthage/Build/iOS/Charts.framework/Charts compiled with older version of Swift language (2.0) than previous files (3.0) for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

如何升級框架?

+0

在你Cartfile,告訴它得到Swift3兼容版本(V3)'github上 「danielgindi /圖表」 〜> 3.0.0' – shallowThought

回答

0

沒有爲斯威夫特3.新版本中,您需要更新您的Cartfile指向這個版本:

github "danielgindi/Charts" == 3.0.0 

然後重新運行carthage update

+0

我用這個,但它顯示了以下相關性是重複的: \t github上「danielgindi/Charts「(在Cartfile中找到) – Elavarasan

+0

請問您可以發佈整個'Cartfile'嗎? – ganzogo

+0

github「danielgindi/Charts」== 3.0.0 github「danielgindi/Charts」〜> 3.0.0這是我的購物車文件... – Elavarasan