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

Remove the Always embed swift libraries flag #526

Merged
merged 1 commit into from
Jun 22, 2022
Merged

Conversation

a-maurice
Copy link
Collaborator

As part of enabled swift, we had forced ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to YES, but that should not be necessary, as we also add an empty swift file to the target, which will enable swift. On top of that, the always embed flag seems to cause problems for some when submitting apps because of the additional framework folder it might make.

See:
firebase/firebase-unity-sdk#349
and
googleads/googleads-mobile-unity#2065

As part of enabled swift, we had forced ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to YES, but that should not be necessary, as we also add an empty swift file to the target, which will enable swift. On top of that, the always embed flag seems to cause problems for some when submitting apps because of the additional framework folder it might make.
@a-maurice a-maurice requested a review from chkuang-g June 22, 2022 19:04
@chkuang-g chkuang-g merged commit 379916e into master Jun 22, 2022
@chkuang-g chkuang-g deleted the swift_flag branch June 22, 2022 19:24
Copy link
Collaborator

@chkuang-g chkuang-g left a comment

Choose a reason for hiding this comment

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

LGTM

@chkuang-g
Copy link
Collaborator

Note that this solution only avoid stepping into this issue. If you still encounter the same problem, please refer to
https://forum.unity.com/threads/an-empty-folder-named-frameworks-in-unityframework-framework.751559/

chkuang-g added a commit that referenced this pull request Jun 23, 2022
- Version 1.2.172 - Jun 23, 2022
* iOS Resolver - Stop forcing `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` to `YES`,
  which seems to cause problem for some when submitting apps. See #526 for more
  information.
@chkuang-g chkuang-g mentioned this pull request Jun 23, 2022
chkuang-g added a commit that referenced this pull request Jun 23, 2022
- Version 1.2.172 - Jun 23, 2022
* iOS Resolver - Stop forcing `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` to `YES`,
  which seems to cause problem for some when submitting apps. See #526 for more
  information.
@googlesamples googlesamples locked and limited conversation to collaborators Jul 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants