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

v2.2.5 not support swift2.3 #1470

Closed
woohyuknrg opened this issue Sep 19, 2016 · 15 comments
Closed

v2.2.5 not support swift2.3 #1470

woohyuknrg opened this issue Sep 19, 2016 · 15 comments

Comments

@woohyuknrg
Copy link

Use Xcode8 & swift2.3, add pod 'Charts', '2.2.5', then pod update, after updated pod, compile project, there are 13 same error: Value of optional type 'xxx?' not unwrapped; did you mean to use '!' or '?'?
Please fix, tks.

@Huang-Libo
Copy link

Huang-Libo commented Sep 19, 2016

@woohyuknrg
You can use swift-2.3 branch instead of cocoaPods.
The next pod version is for v3.0(swift-3.0), I guess.
So, the best way to custom your own demand is to clone the branch which you need to your mac.

@githubkiven
Copy link

@Huang-Libo In Podfile how should I do?

target “abc” do

platform:ios,'8.0'

pod 'Charts/Realm'
use_frameworks!

end

@githubkiven
Copy link

@Huang-Libo I should add anything else?

@Huang-Libo
Copy link

@githubkiven
It depends on your cocoaPods' version.

@aljux
Copy link

aljux commented Sep 19, 2016

@githubkiven
pod 'Charts', :git => 'https://github.com/danielgindi/Charts.git', :branch => 'Swift-2.3'

@shenyufei
Copy link

@aljux
Hello, I use your suggestion.
But it is error,warning: Could not find remote branch Swift-2.3 to clone. fatal: Remote branch Swift-2.3 not found in upstream origin
What should i do? I'm a novice, please detailthank you

@pmairoldi
Copy link
Collaborator

I will hopefully have a charts 2.3 release out tonight or tomorrow. Everything seems to work locally. Thanks for the patience.

@shenyufei
Copy link

shenyufei commented Sep 20, 2016

I mean to use in Xcode 8 swift 2.3, can I use the old version to let him run it?
Such as Charts version 2.2? I've only pod 'Charts', does not add a suffix。 like ~> '2.20'
I have asked other third party, gave me an answer, is this pod 'SnapKit', '~> 0.22.0' .
@petester42
I mean, can I use the old version running now, and if not, I'll wait for your updates

@liuxuan30
Copy link
Member

why don't you search swift 2.3 as keywords? there is already branch for 2.2.5 + 2.3

@shenyufei
Copy link

Here is not it? This is the search results, so I am here to ask questions.
I did as recommended, but it is error of result.

@liuxuan30
Copy link
Member

liuxuan30 commented Sep 21, 2016

apparently not enough: #1291

What branch to use?
Swift 3.0 + Charts 3.0 -> Master // this is recommended to pick :)
Swift 2.3 + Charts 2.2.5 -> Chart2.2.5-Swift2.3 branch
Swift 3.0 + Charts 2.2.5 -> Chart2.2.5-Swift3.0 branch
Swift 2.3 + Charts 3.0 feature ready -> Chart3.0-Swift2.3 branch

@shenyufei
Copy link

Nice,
But I do not understand the branch, I use cocoa pods, should be how to write?
I've seen this, but I do not know how to use Pods, so I came here to ask questions.
I would have said I don't understand. Thank you~

@pmairoldi
Copy link
Collaborator

Im almost done creating a release for swift 2.3 with charts 2.2.5 so hang on tight. There were some complications with cocoapods and xcode 8/realm

@githubkiven
Copy link

@Huang-Libo Pod should be that version?cocoapods-1.0.1?

@pmairoldi
Copy link
Collaborator

I had to use 1.1.0.rc.2 to publish the v2.3.0 pod

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

No branches or pull requests

7 participants