Code Monkey home page Code Monkey logo

Comments (5)

aleksandergrzyb avatar aleksandergrzyb commented on July 21, 2024 3

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.

ecamacho avatar ecamacho commented on July 21, 2024

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.

aleksandergrzyb avatar aleksandergrzyb commented on July 21, 2024

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.

CraigSiemens avatar CraigSiemens commented on July 21, 2024

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.

ecamacho avatar ecamacho commented on July 21, 2024

Closing this and moving the conversation to #148

from xclogparser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.