spotify / XCMetrics

XCMetrics is the easiest way to collect Xcode build metrics and improve developer productivity.
https://xcmetrics.io
Other
1.1k stars 77 forks source link

Log not send when executed from terminal via xcodebuild. #45

Closed kronenthaler closed 3 years ago

kronenthaler commented 3 years ago

I have been gathering logs compiling directly from Xcode without problem. I tried to run the xcodebuild command to automate some experiments, and i noticed the log are not being sent.

I have redirected the output of the post action to a file, but nothing is printed there. I run the same project unmodified from Xcode and the logs are sent with no problem.

Any tips or pointers will be appreciated!

ecamacho commented 3 years ago

How are you running xcodebuild? Since Xcode 11, xcodebuild only generates the build logs when the option -resultBundlePath. Be sure to set that option to a valid path.

kronenthaler commented 3 years ago

Thanks i will give it a try. Feel free to close the ticket.