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

Build error in Xcode 7.2 #39

Closed
bibhas2 opened this issue Jan 26, 2016 · 3 comments
Closed

Build error in Xcode 7.2 #39

bibhas2 opened this issue Jan 26, 2016 · 3 comments

Comments

@bibhas2
Copy link

bibhas2 commented Jan 26, 2016

I am using SwiftSerializer 0.1 and Xcode 7.2. I have installed SwiftSerializer using pods:

platform :ios, '9.0'
use_frameworks!

target 'PodTest' do
    pod 'SwiftSerializer', '~> 0.1'
end

I am getting many compilation errors in Serializable.swift file. Here are a few examples.

/Users/xxx/Documents/PodTest/Pods/SwiftSerializer/src/Serializable.swift:27:59: 'NSString' is not implicitly convertible to 'String'; did you mean to use 'as' to explicitly convert?

/Users/xxx/Documents/PodTest/Pods/SwiftSerializer/src/Serializable.swift:30:58: 'AnyObject!' is not convertible to 'Serializable'; did you mean to use 'as!' to force downcast?

/Users/xxx/Documents/PodTest/Pods/SwiftSerializer/src/Serializable.swift:62:61: Extra argument 'error' in call
@0-M
Copy link

0-M commented Jan 28, 2016

I think the issue is that this repo needs to be updated to support Swift 2

@turowicz
Copy link
Owner

@bibhas2 @mmarkman I will be resurrecting this repository this weekend.

@sjturley
Copy link
Collaborator

sjturley commented May 6, 2016

@bibhas2 This should be fixed in pod version 0.6

@sjturley sjturley closed this as completed May 6, 2016
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

4 participants