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

Unable to install pod file #2

Closed
amornn opened this issue Dec 24, 2015 · 2 comments
Closed

Unable to install pod file #2

amornn opened this issue Dec 24, 2015 · 2 comments

Comments

@amornn
Copy link

amornn commented Dec 24, 2015

After adding pod 'DeflateSwift' and running pod install i get the following

Updating local specs repositories
Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `DeflateSwift` required by `Podfile`

 Specs satisfying the `DeflateSwift` dependency were found, but they required a higher minimum deployment target.

Attempted to change ios target to 8.0, 9.0, 9.1 and 9.2 and always get the same thing
Below is the Podfile

# Uncomment this line to define a global platform for your project
# platform :ios, ‘9.2’

target 'UnZipFile' do
use_frameworks!
pod 'DeflateSwift'
end
@tidwall
Copy link
Owner

tidwall commented Dec 24, 2015

DeflateSwift hasn't been updated in a while. It's built for Swift 1 and needs some changes to the syntax of the code before it can work with Swift 2.

Below is the error that I'm seeing.

$ pod lib lint

 -> DeflateSwift (0.0.5)
    - ERROR | xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - ERROR | xcodebuild:  /Users/josh/Projects/tidwall/DeflateSwift/deflate.swift:98:9: error: 'do-while' statement is not allowed; use 'repeat-while' instead

@tidwall
Copy link
Owner

tidwall commented Feb 7, 2016

DeflateSwift has been updated for swift 2.

@tidwall tidwall closed this as completed Feb 7, 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

2 participants