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

Update and version control pods to compile properly in xcode 8 #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

apparition47
Copy link

This is a great project, however, I couldn't get it to build properly the first time in xcode 8. The included ver of Alamofire was giving me compile-time errors. I updated the pods to the latest minor ver and it seems to have fixed my issues.

I also included the following in Podfile to fix the "use legacy swift language version" flag for each of the pods. (A lot of pods are now Swift 3 compatible but this project probably needs to be refactored to support them.)

# Use Legacy Swift Language Version
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |configuration|
      configuration.build_settings['SWIFT_VERSION'] = "2.3"
    end
  end

Thanks!

P.S. Also I was getting another error because I didn't have SwiftGen installed. Maybe there should be a note about that in the README.md?

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

Successfully merging this pull request may close these issues.

1 participant