# AppStore Distribution Failed with Errors

**URL:** <https://devforum.zoom.us/t/appstore-distribution-failed-with-errors/24651>\
**Category:** iOS\
**Created:** [July 20, 2020, 4:52pm UTC](https://devforum.zoom.us/t/appstore-distribution-failed-with-errors/24651 "2020-07-20T16:52:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobiak](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@Tobiak](https://devforum.zoom.us/u/Tobiak)\
**Post date:** [July 20, 2020, 4:52pm UTC](https://devforum.zoom.us/t/appstore-distribution-failed-with-errors/24651/1 "2020-07-20T16:52:23Z")

</div>

**Description**  
We tried to distribute App on AppStore and got the following errors.

**Which version?**  
v5.0.24433.0616

**To Reproduce(If applicable)**  
Added Frameworks downloaded from here into existing App:  
“[https://github.com/zoom/zoom-sdk-ios/archive/master.zip”](https://github.com/zoom/zoom-sdk-ios/archive/master.zip%E2%80%9D),  
**Frameworks added to project:**  
MobileRTC.framework  
MobileRTCScreenShare.framework  
MobileRTCResources.bundle

**Smartphone (please complete the following information):**  
-Xcode Version 11.5

- OS: iOS 11

**Additional context**  
This is the list of errors show when trying to distribute to Appstore:

**App Store Connect Operation Error**  
Invalid Mach-O Format. The Mach-O in bundle “Myapp.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.

App Store Connect Operation Error  
Invalid Bundle Structure - The binary file ‘Myapp.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](https://developer.apple.com/go/?id=bundle-structure) for information on the iOS app bundle structure.

App Store Connect Operation Error  
Invalid Info.plist value. The value for the key ‘MinimumOSVersion’ in bundle Myapp.app/Frameworks/MobileRTCScreenShare.framework is invalid. The minimum value is 8.0

App Store Connect Operation Error  
The binary is invalid. The executable ‘Myapp.app/Frameworks/MobileRTCScreenShare.framework/MobileRTCScreenShare’ has type ‘OBJECT’ that is not valid. Only ‘EXECUTE’ is permitted.

App Store Connect Operation Error  
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 Error  
Missing load commands. The executable at ‘Myapp.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.

Kindly help with this, It is urgent I should say.

Thank you.

---

<div class="post-metadata">

**Author:** ![Tobiak](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@Tobiak](https://devforum.zoom.us/u/Tobiak)\
**Post date:** [July 21, 2020, 4:51pm UTC](https://devforum.zoom.us/t/appstore-distribution-failed-with-errors/24651/2 "2020-07-21T16:51:27Z")

</div>

Please, any help with this? It is kind of urgent.

Thanks.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 24, 2020, 4:42am UTC](https://devforum.zoom.us/t/appstore-distribution-failed-with-errors/24651/3 "2020-07-24T04:42:54Z")

</div>

Hi @Tobiak,

Thanks for the post. Regarding the issue you are facing, please try the following:

1. In the build setting of your broadcast extension, please set `Bitcode` to NO. Or you could use `lipo` to decouple the `MobileRTCScreenShare.framework` into an `arm64` only framework. The framework includes both `arm64` and `armv7`.
2. Set the `minimumOSVersion` in the `MobileRTCScreenShare.framework/Info.plist` to be 8.0. We will enhance this part in the next release.

Hope this helps. Thanks!
