Skip to content

Xcode8 support #31

@flippinjoe

Description

@flippinjoe

Currently the latest URBNDataSource integration via cocoa pods requires to set the SWIFT_VERSION to use legacy. Using a little cocoapods Podfile hacking to make it work

  post_install do |installer|
      installer.pods_project.targets.each do |target|
          next unless target.name == 'URBNDataSource'

          puts "Configuring swift version for URBNDataSource"
          target.build_configurations.each do |config|
              config.build_settings['SWIFT_VERSION'] = '2.3'
          end
      end
  end

Looks like the SWIFT_VERSION flag needs to be set in the xcconfig of the .podspec

**NOTE: I do plan on getting to this at some point. Just putting here for visibility and in case anybody else wants to get to it sooner

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions