ethand91 / mediasoup-ios-client

Mediasoup 3 iOS Client
ISC License
130 stars 64 forks source link

APP STORE ISSUES #85

Closed sivakumaraketi closed 3 years ago

sivakumaraketi commented 3 years ago

I am getting below mediasoup related issue when uploading the appstore

App Store Connect Operation Error ERROR ITMS-90087: “Unsupported Architectures. The executable for encounternow.app/Frameworks/mediasoup_client_ios.framework/Frameworks/WebRTC.framework contains unsupported architectures ‘[i386, x86_64]’.” App Store Connect Operation Error ERROR ITMS-90685: “CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value ‘org.webrtc.WebRTC’ under the iOS application ‘encounternow.app’.” App Store Connect Operation Error ERROR ITMS-90209: “Invalid Segment Alignment. The app binary at ‘encounternow.app/Frameworks/mediasoup_client_ios.framework/Frameworks/WebRTC.framework/WebRTC’ does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.” App Store Connect Operation Error ERROR ITMS-90205: “Invalid Bundle. The bundle at ‘encounternow.app/Frameworks/mediasoup_client_ios.framework’ contains disallowed nested bundles.” App Store Connect Operation Error ERROR ITMS-90206: “Invalid Bundle. The bundle at ‘encounternow.app/Frameworks/mediasoup_client_ios.framework’ contains disallowed file ‘Frameworks’.” App Store Connect Operation Error ERROR ITMS-90125: “The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple’s linker.” App Store Connect Operation Warning WARNING ITMS-90806: “CFBundleIdentifier collision. Each bundle must have a unique bundle identifier. The bundle identifier ‘org.webrtc.WebRTC’ is used in the bundles ‘[Payload/encounternow.app/Frameworks/mediasoup_client_ios.framework/Frameworks/WebRTC.framework, Payload/encounternow.app/Frameworks/WebRTC.framework]’” App Store Connect Operation Warning WARNING ITMS-90080: “The executable ‘Payload/encounternow.app/Frameworks/mediasoup_client_ios.framework/Frameworks/WebRTC.framework’ is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library.”

sivakumaraketi commented 3 years ago

using pod https://cocoapods.org/pods/mediasoup_ios_client

tanaymondal commented 3 years ago

App Store doesn't support simulator architecture [i386, x86_64]. Use the below command to strip unsupported architecture. lipo -remove i386 Framework_SDK -o Framework_SDK lipo -remove x86_64 Framework_SDK -o Framework_SDK