Open thipokch opened 2 years ago
Seems to be caused by ProcessBuilder. I replaced ProcessBuilder with Gradle's exec and the command seems to be working.
Very strange. I never had this issue. The ProcessBuilder itself is used so that environment variables can be passed to the process that is executed (e.g. xcodebuild). In the debug log you should see want environment variables are set to the ProcessBuilder. Maybe this is the cause for this problem.
One other question: What Xcode Version do you use, and what gradle version?
Thanks for the cool plugin. Please help me find out why the folder structure
When I copied the xcodebuild command from Gradle debug mode and run it in terminal, it seems to be generating what archive task expects.
Here's my build.gradle.kts (I also did it with groovy and it's the same issue).
I tried working around this issue, by running
archive
task, but the command resulted issue as seen in #457.