# Invalid CFBundleSupportedPlatforms value using xcodebuild

**URL:** <https://devforum.zoom.us/t/invalid-cfbundlesupportedplatforms-value-using-xcodebuild/71995>\
**Category:** iOS\
**Created:** [July 11, 2022, 9:53am UTC](https://devforum.zoom.us/t/invalid-cfbundlesupportedplatforms-value-using-xcodebuild/71995 "2022-07-11T09:53:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![criva](https://avatars.discourse-cdn.com/v4/letter/c/e9a140/32.png) [@criva](https://devforum.zoom.us/u/criva)\
**Post date:** [July 11, 2022, 9:53am UTC](https://devforum.zoom.us/t/invalid-cfbundlesupportedplatforms-value-using-xcodebuild/71995/1 "2022-07-11T09:53:12Z")

</div>

**Description**  
I am using xcodebuild for creating the app package for publising.

> xcodebuild archive -configuration Release -workspace $(system.defaultworkingdirectory)/MyApp/MyApp.xcworkspace -scheme MyApp -archivePath $(system.defaultworkingdirectory)/MyAppArchive CODE\_SIGNING\_ALLOWED=NO
> 
> xcodebuild -exportArchive -archivePath $(system.defaultworkingdirectory)/MyAppArchive.xcarchive -exportPath $(system.defaultworkingdirectory)/Final -exportOptionsPlist $(system.defaultworkingdirectory)/MyApp/ExportOptions.plist

The build is successfully created but when the ipa file is uploaded (by Apple Transporter app) the package analysis fails with the following error.

> Asset validation failed (90542)  
> Invalid CFBundleSupportedPlatforms value. The CFBundleSupportedPlatforms key in the Info.plist file in “Payload/MyApp.app/MobileRTCResources.bundle/zdcRes.bundle” bundle contains an invalid value, [iPhoneSimulator]. Consider removing the CFBundleSupportedPlatforms key from the Info.plist file. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. (ID: ad0feaa8-4504-4a67-aa34-6625b81ee555)

The issue is present also building/packaging the app using Xcode/Organizer.

What Am I missing?

Xcode version 13.4.1  
iOS Meeting SDK version v5.10.6.3611

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 10, 2022, 7:53pm UTC](https://devforum.zoom.us/t/invalid-cfbundlesupportedplatforms-value-using-xcodebuild/71995/2 "2022-08-10T19:53:17Z")

</div>

Closed on August 10, 2022, 7:53pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [December 2, 2022, 8:36pm UTC](https://devforum.zoom.us/t/invalid-cfbundlesupportedplatforms-value-using-xcodebuild/71995/3 "2022-12-02T20:36:44Z")

</div>

@criva ,

Thank you for posting in the Zoom Developer Forum. This thread has closed, but I want to address your questions. You see that error because Apple does not upload apps with a simulator platform. The fix is to either remove the zdcRes.bundle in the MobileRTCResources.bundle or update to the latest version. I’ve linked a thread that details the root cause and the solution to resolving this problem. Please take a look and let me know if you have any questions.

> [@Unable to upload app with latest SDK to App Store Connect](https://devforum.zoom.us/t/unable-to-upload-app-with-latest-sdk-to-app-store-connect/79463/5):
>
> Following up, when uploading an App, Apple does not allow packaging and it with the simulator. This is why the error suggests "considering removing the CFBundleSupportedPlatforms key from the Info.plist file. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. " To this point, this is a known behavior that has since been addressed in version 5.13.0 of the iOS SDK. Please update your App to the latest versi…
