Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcodebuild does not generate a valid xcactivitylog #156

Closed
BBC6BAE9 opened this issue Jan 19, 2022 · 2 comments
Closed

xcodebuild does not generate a valid xcactivitylog #156

BBC6BAE9 opened this issue Jan 19, 2022 · 2 comments

Comments

@BBC6BAE9
Copy link

BBC6BAE9 commented Jan 19, 2022

I use xcodebuild command to compile my project,generate new xcactivitylog, but there is no data in it. Does anyone know how to fix it?

xcodebuild build -project xxx.xcodeproj -scheme xxx -configuration Release -sdk iphonesimulator

@BBC6BAE9 BBC6BAE9 changed the title what does ".xcactivitylog is not a valid SLF log" mean? update later Jan 20, 2022
@BBC6BAE9 BBC6BAE9 changed the title update later xcodebuild does not generate a valid xcactivitylog Jan 20, 2022
@BBC6BAE9 BBC6BAE9 reopened this Jan 20, 2022
@BBC6BAE9
Copy link
Author

Since Xcode 11, xcodebuild only generates the .xcactivitylog build logs when the option -resultBundlePath is present. If you're compiling with that command and not with Xcode, be sure to set that option to a valid path ending in .xcresult.

@CraigSiemens
Copy link

Was there anything else besides adding -resultBundlePath that you changed? We're running into the same issue but already have -resultBundlePath being passed to xcodebuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants