MobileNativeFoundation / XCLogParser

Tool to parse Xcode and xcodebuild logs stored in the xcactivitylog format
Apache License 2.0
1.74k stars 123 forks source link

I get some files with xcodebuild -resultBundlePath but not .xcactivitylog #114

Closed cxr0715 closed 3 years ago

cxr0715 commented 3 years ago

Version

Version 12.0 (12A7209)

Problem

Run the following command

xcodebuild build -workspace TestDemoPod.xcworkspace -scheme TestDemoPod -configuration Debug -sdk iphonesimulator14.0 -arch x86_64 -resultBundlePath TeseDemoPod/Result

I get these files

企业微信20201210-152435@2x

I can't get .xcactivitylog file with xcodebuild -resultBundlePath command. What should I do? THX

ecamacho commented 3 years ago

@cxr0715 can you also pass a derived data path flag using --derived_data /path/to/custom/DerivedData? After doing that, check in that path. Inside the directory Logs/Build there should be xcactivitylog files.

cxr0715 commented 3 years ago

THX! I use this command and find .xcactivitylog file in Logs/Build

xcodebuild build -workspace TestDemoPod.xcworkspace -scheme TestDemoPod -configuration Debug -sdk iphonesimulator14.0 -arch x86_64 -derivedDataPath TeseDemoPod/Result -resultBundlePath TestDemoPod/Result/Result