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

Compilation errors #75

Closed
bennewell opened this issue Oct 19, 2014 · 9 comments
Closed

Compilation errors #75

bennewell opened this issue Oct 19, 2014 · 9 comments

Comments

@bennewell
Copy link

Hi there,

I'm importing SwiftyJSON.swift into my project, but the compiler is flagging up 11 errors - mostly 'Type 'JSON' does not conform to protocol'' for the various LiteralConvertible protocols, and RawRepresentable.

I'm also getting a couple of errors on the line public init?(rawValue: AnyObject) { - 'Expected '(' for initializer parameters' and 'Expected declaration'.

@sperochon
Copy link

Do you use Xcode 6.1?

@bennewell
Copy link
Author

Nope - Xcode 6.0.1

@LukeTangPL
Copy link
Member

Xcode 6.0.1 try 2.0.0, 2.1.0 only support Xcode 6.1

@bennewell
Copy link
Author

Thanks!

@aadilimperoit
Copy link

I am facing the same issue with xCode 7.3 and Installing SwiftyJSON (3.1.0). Below is the attached screenshot for the same.
screen shot 2016-10-05 at 6 27 01 pm

@DavidLari
Copy link

@aadilimperoit Did you see in the read me that the requirement for 3.1 is for Xcode 8? If you still must use 7.3, you need an older version of SwiftyJSON.

@WilsonCP
Copy link

@DavidLari Hi, I also have the same issue. Do you have any idea what version of SwiftyJSON would work with xcode 7.3?

@DavidLari
Copy link

Looks like I have 2.3.3 in my 7.3 project.

@zhigang1992
Copy link
Contributor

You can use version 2.4.0 for support prior to Swift3.

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