Skip to content

Conversation

@sebastianv1
Copy link
Contributor

When using custom schemes with "same_as_run" for the profile action, I noticed that the build target's pre/post build actions were being duplicated in the generated scheme because we copy the whole build target into the profile action (incl post_actions and pre_actions).

This just copies the id from the build target instead.

@sebastianv1 sebastianv1 requested a review from a team as a code owner December 26, 2024 16:37
@sebastianv1 sebastianv1 force-pushed the sebastianv1/fix-dup-actions branch 2 times, most recently from f77a73f to 21f1b06 Compare December 26, 2024 17:45
When using custom schemes with "same_as_run" for the profile action, I noticed that the build target's pre/post build actions were being duplicated in the generated scheme because we copy the whole build target into the profile action (incl post_actions and pre_actions).

This just copies the `id` from the build target instead.

Signed-off-by: Sebastian Shanus <[email protected]>
@sebastianv1 sebastianv1 force-pushed the sebastianv1/fix-dup-actions branch from 21f1b06 to 7668ec5 Compare January 8, 2025 16:38
@brentleyjones brentleyjones merged commit 8eacfbf into MobileNativeFoundation:main Jan 8, 2025
11 of 13 checks passed
karim-alweheshy pushed a commit to karim-alweheshy/rules_xcodeproj that referenced this pull request Mar 6, 2025
When using custom schemes with "same_as_run" for the profile action, I
noticed that the build target's pre/post build actions were being
duplicated in the generated scheme because we copy the whole build
target into the profile action (incl post_actions and pre_actions).

This just copies the `id` from the build target instead.

Signed-off-by: Sebastian Shanus <[email protected]>
Signed-off-by: Karim Alweheshy <[email protected]>
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