gonzalezreal / Groot

From JSON to Core Data and back.
Other
534 stars 61 forks source link

Swift3 #69

Closed cjjenkinson closed 8 years ago

cjjenkinson commented 8 years ago

Having some issues running on legacy versions of Swift, latest version of Xcode 8 requires an automatic conversion of certain projects using legacy Swift versions - about 95% converts correctly but there are still some compile issues with Groot.

Update

For those using CocoaPods and have just upgraded to Xcode 8 using iOS10 for project, specify the version of swift in your project and there shouldn't be an issue with Groot.

post_install do |installer|
  installer.pods_project.build_configuration_list.build_configurations.each do |configuration|
  configuration.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
    configuration.build_settings['SWIFT_VERSION'] = '2.3'
  end
end
bizibizi commented 8 years ago

Does Groot work with swift3 ?

gonzalezreal commented 8 years ago

I am preparing a new release ready for Swift 3. It will be ready soon.

gonzalezreal commented 8 years ago

Happy to to report that Groot 2.0 is ready, supporting Swift 3 and Xcode 8 https://github.com/gonzalezreal/Groot/releases/tag/2.0