Comments (6)
Does the same happen if you wait a while after the xcodebuild
command returns before running xclogparser
? We have noticed that sometimes Xcode/xcodebuild
take a while to finish writing the log to disk, so if you try to parse it immediately after, xclogparser
will not be able to read the file structure correctly since it hasn't been written fully yet.
from xclogparser.
Hmm, that is interesting. I did see one case where the next day, I ran my script (which calls xclogparser
) and is magically worked.
I've run a few tests with xcodebuild
and those xcactivitylog
files don't seem to work even if I try a few hours later. Doesn't seem to matter if I use -resultBundlePath
or override the derived data. It has worked sometimes so I'm just not quite sure. These are quite large files. 1-5GB (what zip says it would uncompress if it could).
from xclogparser.
BTW, I read your article regarding usage of Rome. Very interesting! Do you happen to know if there is an equivalent for Pods? Or maybe asked another way ... do you use pods at all or have you been able to use Carthage for all your dependencies?
from xclogparser.
@mobileben There are some CocoaPods plugins to use binaries instead of rebuilding all the dependencies from source. Take a look at https://github.com/leavez/cocoapods-binary.
from xclogparser.
@BalestraPatrick Cool thanks. I tried using it, though it seems to have some issues with some pods. Ideally I want to have us ditch pods altogether.
Just curious. Do you have internal libs/frameworks which are Carthage packages? And if so, how do you facilitate debugging or modifying it when used with the app? For example we are using private pods (these are locally linked and are committed in our monorepo). Right now the pods project file is included in the workspace. So this means that you essentially have access to all code in the Xcode project.
I'm trying to move us away from that and to prebuilts. However, due to how the app is built, many of those private pods more or less need to app in order to develop for. Do you have a similar circumstance and if so how do you work around this?
I'm working on a proof of concept of using xcodegen
to build project files which by default will use prebuilts. But if you need say private pod A or B, it will include those as subprojects. Part of my plan is to move away from pods and to create Xcode projects for everything that can then be added to the app when one needs to debug.
from xclogparser.
@mobileben That's one way of doing it. We don't really use Carthage or CocoaPods for internal code exactly for that reason.
from xclogparser.
Related Issues (20)
- xcodebuild does not generate a valid xcactivitylog HOT 2
- Error: xcactivitylog is not a valid xcactivitylog file HOT 5
- Missing C files and Swift files count in HTML reports -v0.2.33
- Chrome unable to load index.html with error code 5 HOT 1
- SonarQube integrations HOT 2
- Issues with HTML Reporter (and solutions) HOT 5
- Error parsing Xcode 14 log HOT 5
- XCLogParser does not pick up deprecation warnings from xcodebuild
- 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 7
- 【discuss】Should the log file loaded with encoding UTF-8 ?
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.