-
Notifications
You must be signed in to change notification settings - Fork 822
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
Add stopOnEveryMainThreadCheckerIssue #799
Changes from 8 commits
cf7cfed
5487e3c
8f103c6
dea537d
364aa7d
dece42e
7e6e0af
b06bc49
40902fb
2252ee4
2f0c5ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,6 +116,7 @@ targets: | |
- App_iOS_UITests | ||
gatherCoverageData: true | ||
disableMainThreadChecker: true | ||
stopOnEveryMainThreadCheckerIssue: false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we set this to true to generate the diff in the checked in fixture 👍 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My understanding is that the default should be false because it shouldn't stop on every main thread checker issue. Am I right? |
||
configVariants: | ||
- Test | ||
- Staging | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -712,6 +712,7 @@ class SpecLoadingTests: XCTestCase { | |
"language": "en", | ||
"region": "US", | ||
"disableMainThreadChecker": true, | ||
"stopOnEveryMainThreadCheckerIssue": false, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we set this to true, otherwise we're not testing the parsing as false is the default There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My understanding is that the default should be false because it shouldn't stop on every main thread checker issue. Am I right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @yonaskolb / @brentleyjones Can I please get a bit of help on this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ionutivan you are correct about the default, what @yonaskolb was asking for is that we set it to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @brentleyjones Thank you for the help! |
||
"environmentVariables": [ | ||
"TEST_VAR": "TEST_VAL", | ||
], | ||
|
@@ -738,6 +739,7 @@ class SpecLoadingTests: XCTestCase { | |
language: "en", | ||
region: "US", | ||
disableMainThreadChecker: true, | ||
stopOnEveryMainThreadCheckerIssue: false, | ||
commandLineArguments: ["ENV1": true], | ||
environmentVariables: [XCScheme.EnvironmentVariable(variable: "TEST_VAR", value: "TEST_VAL", enabled: true)], | ||
preActions: [.init(name: "Do Thing", script: "dothing", settingsTarget: "test")], | ||
|
@@ -782,6 +784,7 @@ class SpecLoadingTests: XCTestCase { | |
], | ||
"gatherCoverageData": true, | ||
"disableMainThreadChecker": true, | ||
"stopOnEveryMainThreadCheckerIssue": false, | ||
], | ||
] | ||
let scheme = try Scheme(name: "Scheme", jsonDictionary: schemeDictionary) | ||
|
@@ -931,6 +934,7 @@ class SpecLoadingTests: XCTestCase { | |
], | ||
"gatherCoverageData": true, | ||
"disableMainThreadChecker": true, | ||
"stopOnEveryMainThreadCheckerIssue": false, | ||
], | ||
], | ||
], | ||
|
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.
Could you add docs to down below in
Schemes
as well https://github.com/yonaskolb/XcodeGen/blob/master/Docs/ProjectSpec.md#schemeThere 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.
Of course! Done