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

upload Appstore connect Unsupported Architectures #127

Open
ehsanzeinali opened this issue Aug 13, 2022 · 2 comments
Open

upload Appstore connect Unsupported Architectures #127

ehsanzeinali opened this issue Aug 13, 2022 · 2 comments

Comments

@ehsanzeinali
Copy link

when i trying upload my project to appstore connect i got this error :

Unsupported Architectures. The executable for PalPhone.app/Frameworks/ mediasoup_client_jos.framework/Frameworks/WebRTC.framework contains unsupported architectures '[×86_64, ¡386]. (ID: e069f8c-f0db-4811-8545-fcce206924e1)

Screen Shot 2022-08-13 at 6 00 02 PM

@NarasimhaDo
Copy link

Hello,
Removing manually the WebRTC.framework inside mediasoup framework from pod fixes the issue (delete the folder called "Frameworks", not only the framework itself ;-))

@mohamnexus
Copy link

To Publish on AppStore follow this guidline:

1. Delete second WebRTC framework:
Go to this root:

/Project/Pods/mediasoup_ios_client/build/mediasoup_client_ios.framework/Frameworks

image

2. Delete unnecessary architectures of MediaSoup
Cd terminal to this root:

/Project/Pods/mediasoup_ios_client/build/mediasoup_client_ios.framework/Frameworks

image

To get info of Architectures:
lipo mediasoup_client_ios -archs

image

To remove architecture (in this situation we delete x86_64):
lipo -remove x86_64 mediasoup_client_ios -o mediasoup_client_ios

  1. Delete architectures from WebRTC
    Go to this root by terminal (WebRTC file):

/Project/Pods/mediasoup_ios_client/mediasoup-client-ios/dependencies/webrtc/src/out_ios_libs/WebRTC.framework/

To get info of Architectures:
lipo WebRTC -archs

You have to Delete these architectures: (i386 , x86_64)
lipo -remove x86_64 WebRTC -o WebRTC
lipo -remove i386 WebRTC -o WebRTC

Now you can archive the project and send to Apple.

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

3 participants