Skip to content
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

fix: remove ios embed framework build phase duplication (#1558) #1595

Merged
merged 6 commits into from
Apr 5, 2024

Conversation

munkiki7
Copy link
Contributor

image

The linking phase is still added multiple times, but I could not find a way to check if it is already added.
But this does not break the build.

@munkiki7 munkiki7 requested a review from bitsandfoxes as a code owner March 22, 2024 09:30
@bitsandfoxes
Copy link
Contributor

The linking phase is still added multiple times, but I could not find a way to check if it is already added.

Can't we just check for one of the things we do (i.e. adding the framework) and bail early instead of linking it twice?

@munkiki7
Copy link
Contributor Author

munkiki7 commented Apr 4, 2024

The linking phase is still added multiple times, but I could not find a way to check if it is already added.

Can't we just check for one of the things we do (i.e. adding the framework) and bail early instead of linking it twice?

This is a completely separate point, so, for example, if the user builds, then opens the XCode project, and deletes the link task, and builds again, it won't be added. This is a low-probability case, and a clean build will fix it.

So, do you want me to leave it as is, or do only one check for framework and linking as you have proposed?

@bitsandfoxes
Copy link
Contributor

This is a completely separate point, so, for example, if the user builds, then opens the XCode project, and deletes the link task, and builds again, it won't be added. This is a low-probability case, and a clean build will fix it.

I think this is very much self-inflicted then and we're good.

Copy link
Contributor

@bitsandfoxes bitsandfoxes left a comment

Choose a reason for hiding this comment

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

Thanks!

CHANGELOG.md Outdated Show resolved Hide resolved
@bitsandfoxes bitsandfoxes merged commit a09d431 into main Apr 5, 2024
1 of 2 checks passed
@bitsandfoxes bitsandfoxes deleted the fix/ios-build-phase-duplication branch April 5, 2024 12:09
Copy link
Contributor

github-actions bot commented Apr 5, 2024

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- remove ios embed framework build phase duplication (#1558) ([#1595](https://github.com/getsentry/sentry-unity/pull/1595))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 5807875

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.

3 participants