Skip to content

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

Open
apparition47 wants to merge 2 commits into
RoRoche:masterfrom
apparition47:pods-patch
Open

Update and version control pods to compile properly in xcode 8#3
apparition47 wants to merge 2 commits into
RoRoche:masterfrom
apparition47:pods-patch

Conversation

@apparition47
Copy link
Copy Markdown

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