chaimPaneth/react-native-zoom-bridge

How to delete Screen Share framework?

user1701 opened this issue · 2 comments

I face an error while pushing app to the TestFlight. We will not use screen sharing. How I can delete ScreenShareFramework?

[12:56:38]: Going to upload updated app to App Store Connect
[12:56:38]: �[32mThis might take a few minutes. Please don't interrupt the script.�[0m
[12:57:28]: �[31m[Transporter Error Output]: ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle "appname.app/Frameworks/MobileRTCScreenShare.framework" isn’t consistent with the Mach-O in the main bundle. The main bundle Mach-O contains arm64(machine code), while the nested bundle Mach-O contains armv7(machine code) and arm64(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting."
�[0m
[12:57:28]: �[31m[Transporter Error Output]: ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'appname.app/Frameworks/MobileRTCScreenShare.framework/MobileRTCScreenShare' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."
�[0m
[12:57:28]: �[31m[Transporter Error Output]: ERROR ITMS-90362: "Invalid Info.plist value. The value for the key 'MinimumOSVersion' in bundle appname.app/Frameworks/MobileRTCScreenShare.framework is invalid. The minimum value is 8.0"
�[0m
[12:57:28]: �[31m[Transporter Error Output]: ERROR ITMS-90124: "The binary is invalid. The executable 'appname.app/Frameworks/MobileRTCScreenShare.framework/MobileRTCScreenShare' has type 'OBJECT' that is not valid. Only 'EXECUTE' is permitted."
�[0m
[12:57:28]: �[31m[Transporter Error Output]: 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."
�[0m
[12:57:28]: �[31m[Transporter Error Output]: ERROR ITMS-90210: "Missing load commands. The executable at 'appname.app/Frameworks/MobileRTCScreenShare.framework' does not have the necessary load commands. Try rebuilding the app with the latest Xcode version. If you are using third party development tools, contact the provider."
�[0m
[12:57:29]: �[31mTransporter transfer failed.�[0m

Hi @user1701

After running the production SDK import script go to node_modules/react-native-zoom-bridge/ios/libs and delete MobileRTCScreenShare.framework then run pod install and re-archive.

I will mention this in the readme.

Hi, I am facing this issue. Is there any other solution rather than deleting the screen share framework? We need the screen share functionality.