Open ehsanzeinali opened 2 years ago
Hello, Removing manually the WebRTC.framework inside mediasoup framework from pod fixes the issue (delete the folder called "Frameworks", not only the framework itself ;-))
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
2. Delete unnecessary architectures of MediaSoup Cd terminal to this root:
/Project/Pods/mediasoup_ios_client/build/mediasoup_client_ios.framework/Frameworks
To get info of Architectures:
lipo mediasoup_client_ios -archs
To remove architecture (in this situation we delete x86_64):
lipo -remove x86_64 mediasoup_client_ios -o mediasoup_client_ios
/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.
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)