openbakery / gradle-xcodePlugin

gradle plugin for building Xcode Projects for iOS, watchOS, macOS or tvOS
Apache License 2.0
455 stars 127 forks source link

Archive task fails #429

Closed aditisaini91 closed 4 years ago

aditisaini91 commented 4 years ago

Hi,

I was facing the issue : https://github.com/openbakery/gradle-xcodePlugin/issues/416. But the build process would work completelty fine, just the swift support folder missing. When I changed the plugin version from "org.openbakery:xcode-plugin:0.19.+" to "org.openbakery:xcode-plugin:0.20.0.develop.+", I got a following build error :

A problem was found with the configuration of task ':archive'.

Cannot write to file '...../archive' specified for property 'outputDirectory' as it is a directory.

I am using gradle version 4.1.

Please let me know how this could be fixed.

Thanks in advance

renep commented 4 years ago

Can you upgrade to gradle version 5 or newer. The latests changes in the plugin was to be compatible with gradle 6.+.

aditisaini91 commented 4 years ago

That worked! thank you so much!