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

[Binary upload error] Multiple binaries with same code sign path #40

Closed
leonardo-ferreira07 opened this issue Nov 10, 2021 · 3 comments
Closed

Comments

@leonardo-ferreira07
Copy link

leonardo-ferreira07 commented Nov 10, 2021

Hello Phrase team,

We have been using Phrase on our main iOS app and recently we included Phrase into our macOS Catalyst project as well - the Phrase sdk was added into the macOS project via SPM. In our internal tests, no issues have been raised, all works perfectly.

But today when trying to upload a new build to App Store, we caught a new issue due to multiple binaries being signed using the same sign path. We really appreciate if you have any ideas on a workaround or a fix for this error.
We tried also adding the sdk manually as per your documentation, but it says that we need to use a XCFramework instead of simple .framework library type.

Below is a screenshot of the error, after integration with SPM and tried to upload a build for macOS (Catalyst):

photo_2021-11-09_21-06-14

@winkelsdorf
Copy link
Contributor

Hello @leonardo-ferreira07,

sorry for the late reply, as we are currently preparing a new release.

The error you get is like related to Xcode including the framework for the different targets twice. In such a situation I would suggest checking the Build Phases if there are any duplicates. If not currently the only way is to manually remove the duplicate using a build script phase (or something similar).

But: we are looking into supporting mac Catalyst natively with the next release. That might solve your problem soon.

hth!
Frederik

@winkelsdorf
Copy link
Contributor

Feel free to test again with our latest RC: https://github.com/phrase/ios-sdk/releases/tag/4.0.1-rc.1

@winkelsdorf
Copy link
Contributor

I am pleased to announce that v4.0.1 has just been released, which provides the correct xcframeworks. I'm closing this issue for now, if there are any questions let me know - just reopen or create a new ticket.

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

No branches or pull requests

2 participants