gradle-xcodePlugin icon indicating copy to clipboard operation
gradle-xcodePlugin copied to clipboard

Support for Cordova app

Open saravnandm opened this issue 4 years ago • 1 comments

Hi, I'm trying to use the lib for my Cordova app. When I run "gradle xcodebuild" getting the following error. I knew the error is due to placing the build.gradle file in root instead of .xcodeproj/.xcworkspace ios project folder. Is there a way to set the path of .xcodeproj ?

Task :xcodebuildConfig FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':xcodebuildConfig'.

java.io.FileNotFoundException: No Xcode project files were found in /Users/saravanan/Documents/testapp_workspace/testapp_frontend_new/Gradle Upload

@renep

saravnandm avatar Jun 24 '20 15:06 saravnandm

As far as I know not having the .xcodeproj or .xcworkspace in the same directory as the build.gradle causes problems. To be honest: In the several years I have used this gradle plugin to build my apps, I have never had the need for this, and I don't think this is gonna change in the foreseeable future. Normally I extend and fix things in this project when I need it myself, or when I think this is a needed thing to have. But Cordova support is not a feature that I need, therefor it is very very unlikely that I will investigate and fix this. So for Cordova support will only happen when someone sends me a pull request.

renep avatar Jun 29 '20 07:06 renep