Comments (5)
Yes, it is a known problem. ๐ Currently I am investigating why it happens. I will give an update here if I would be able to figure out what's wrong.
from xclogparser.
Hi we also had the same issue when using the -debug-time-function-bodies
and -debug-time-expression-type-checking
flags with Xcode 13.x. For some reason Xcode was creating truncated log files. But somehow it's working now that we bumped to use Xcode 13.2.1. I'm pinging @aleksandergrzyb since he verified this recently, maybe he can have some insights about it.
from xclogparser.
We've noticed that in our case .xcactivitylog
is invalid, because xcodebuild
didn't finish creating it before exiting. Probably the process terminates, because it takes lots of time to generate .xcactivitylog
in our case (it has over 50 MB). We solved this issue by executing clean
action after build
action to occupy xcodebuild
process a little bit longer.
In your case please execute following and check if that helps:
xcodebuild \
-scheme Neo \
-destination "platform=iOS Simulator,name=iPhone SE (2nd generation)" \
-resultBundlePath "$RESULT_BUNDLE_PATH" \
OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies -Xfrontend -debug-time-expression-type-checking" \
build clean
from xclogparser.
Interesting, that seems to work most of the time. Through sometimes it looks like the clean
is removing the xcactivitylog
of the build
. It's not all the time though so I'm not sure if it's a race condition or if there's something else causing it.
This also meant that the xclogparser
now starts grabbing the xcactivitylog
from the clean
since it's the newest log. I had to change our script to take the second newest file and pass it using the --file
option.
But at least we've got some stats to work with now, thanks! But we're still slightly limited by another issue #148.
from xclogparser.
Closing this and moving the conversation to #148
from xclogparser.
Related Issues (20)
- Error while adding XCLogParser as Swift Package HOT 2
- Xcode13/14 xcactivitylog missing when running test
- [discussion] Did we has a plan to resolve space time with "new_build_system"? HOT 1
- Error: Error parsing the log: Unexpected className found parsing DocumentLocation DVTMemberDocumentLocation HOT 2
- XCLogParser does not pick up all deprecation warnings HOT 2
- Analyser messages are truncated in JSON output
- Unexpected className found parsing IDEActivityLogMessage IDEActivityLogActionMessage HOT 3
- FEATURE: New reporter for OpenTelemetry HOT 3
- Swift Type check and functions build times not generated HOT 10
- Release the latest changes? HOT 2
- Memory Usage explosion in parse command in version 0.2.37 HOT 8
- ใdiscussใShould the log file loaded with encoding UTF-8 ?
- Swift Compilation marked as others type HOT 1
- Huge html report size HOT 2
- Failed create json report Xcode 15.3 HOT 5
- Error: The line *{"wcDuration":152493 doesn't seem like a valid SLF line HOT 1
- parse xcode14.3 xcactivitylog error HOT 2
- any test xcactivitylog file for 0.2.39 release HOT 1
- Unexpected token parsing array of IDEActivityLogSectionAttachment HOT 1
- Unused variable warning not being returned by the `parse` command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xclogparser.