Skip to content

Conversation

cgrindel
Copy link
Contributor

@cgrindel cgrindel commented Aug 9, 2022

Related to #573.

  • A client now provides XcodeScheme.BuildTarget values to XcodeScheme.BuildAction. The build target provides a means for specifying individual buildFor settings.
  • Implemented XcodeScheme.withDefautls. This computed property returns a copy of theXcodeScheme with the appropriate defaults applied (e.g. default actions, relevant buildFor settings).
  • Added validation checks to the initializers for XcodeScheme, XcodeScheme.BuildAction, and XcodeScheme.TestAction.

@cgrindel cgrindel force-pushed the cg/gh573_add_build_target_to_xcodescheme branch from b1649b5 to b5010fc Compare August 9, 2022 22:53
@cgrindel
Copy link
Contributor Author

cgrindel commented Aug 9, 2022

@brentleyjones The integration test does not seem to be kicking-off in CI. Any thoughts?

@cgrindel cgrindel requested a review from brentleyjones August 9, 2022 22:54
@brentleyjones
Copy link
Contributor

Let's see if it fixes itself after your next push. If not I'll debug.

@cgrindel cgrindel requested a review from brentleyjones August 10, 2022 04:00
Copy link
Contributor

@brentleyjones brentleyjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this PR have changed the generator scheme to not have tests have the running buildFor?

@cgrindel
Copy link
Contributor Author

Shouldn't this PR have changed the generator scheme to not have tests have the running buildFor?

Good catch. I ran fixtures update and it did update the settings. Do we need to update the tests to detect changes in scheme files?

@cgrindel cgrindel enabled auto-merge (squash) August 10, 2022 13:45
@cgrindel
Copy link
Contributor Author

@brentleyjones It looks like Integration Test is not reporting back to GitHub. Thoughts don't how to debug?

Also, I realized that I never update the Starlark to support the new build targets. I am creating a PR for that now.

@brentleyjones
Copy link
Contributor

Do we need to update the tests to detect changes in scheme files?

They should detect changes already, as it simply diffs the whole bundle folder. If they aren't for some reason, yes, we need to fix that.

It looks like Integration Test is not reporting back to GitHub. Thoughts don't how to debug?

It's a bug on the Workflows side. We are looking into it.

@brentleyjones brentleyjones disabled auto-merge August 10, 2022 13:57
@brentleyjones brentleyjones merged commit 683ef70 into main Aug 10, 2022
@brentleyjones brentleyjones deleted the cg/gh573_add_build_target_to_xcodescheme branch August 10, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants