-
Notifications
You must be signed in to change notification settings - Fork 45
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
Use -json xcodebuild option when extracting resolved settings #65
Use -json xcodebuild option when extracting resolved settings #65
Conversation
Codecov Report
@@ Coverage Diff @@
## master #65 +/- ##
=======================================
Coverage 96.18% 96.18%
=======================================
Files 44 44
Lines 1677 1679 +2
=======================================
+ Hits 1613 1615 +2
Misses 64 64
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! thanks @marciniwanicki
As an enhancement we could look into suppressing some of the xcodebuild output
e.g.
$ xcdff -g resolved_settings
2020-10-12 07:53:12.485 xcodebuild[74228:33668656] Unknown simulator cpu type (16777228)
2020-10-12 07:53:12.486 xcodebuild[74228:33668656] Unknown simulator cpu type (16777228)
2020-10-12 07:53:13.433 xcodebuild[74238:33668904] Unknown simulator cpu type (16777228)
...
Package.resolved
Outdated
"revision": "81bb2bb333eafa68f8ecd8187a4bb56d51e78e97", | ||
"version": "7.14.0" | ||
} | ||
}, | ||
{ | ||
"package": "XcodeProjCExt", | ||
"repositoryURL": "https://github.com/tuist/XcodeProjCExt", | ||
"state": { | ||
"branch": null, | ||
"revision": "21a510c225ff2bc83d5920a21d902af4b1e7e218", | ||
"version": "0.1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: latest master already has this
Signed-off-by: Marcin Iwanicki <marcin.iwanicki@appliwings.com>
Signed-off-by: Marcin Iwanicki <marcin.iwanicki@appliwings.com>
5fd54d2
to
43669dc
Compare
Issue number of the reported bug or feature request: #63
Describe your changes
Use
-json
parameter forxcodebuild -showBuildSettings
command to simplify the output parsing.Testing performed
xcdiff -g resolved_settings
on projects with different settings, verify the diff output is correctxcdiff -g resolved_settings
on projects with the same settings, ensure no differences are found