Skip to content

Simulator builds have incorrect CFBundleSupportedPlatforms #191

Closed

Description

@kabiroberai

We currently hardcode CFBundleSupportedPlatforms to iPhoneOS but we should derive this from the triple instead. See #160 (reply in thread)

info["CFBundleSupportedPlatforms"] = ["iPhoneOS"]

Discussed in #160

Originally posted by ibrahima August 19, 2025
Hi! I've gotten Xtool working to build my iOS app, but it's not running on my iPad. I have been trying out this service called Appetize which provides cloud iOS simulators. But when I upload the build to the site it says the build was meant for a physical device, not a simulator, and doesn't start. I built with xtool dev build --triple arm64-apple-ios-simulator so I feel like it should create a simulator compatible build, right?

As a side note I wonder if the app isn't working because it uses storyboards. Does xtool support those somehow/do I need to configure it to use the storyboard?

Activity

  1. added theissue type on Jan 4, 2026
  2. added
    bug
    on Jan 4, 2026
  3. removed theissue type on Jan 4, 2026
  4. mvanhorn commented on Oct 4, 2026

    @mvanhorn
    Contributor

    While packing an application, Packer assigns CFBundleSupportedPlatforms the fixed array iPhoneOS. The build triple is already available on buildSettings, but that assignment never reads it, so a simulator triple is packed the same way as a device triple.

    Application packing now sets CFBundleSupportedPlatforms from Packer.cfBundleSupportedPlatforms(for:).

  5. added a commit that references this issue on Oct 4, 2026
    8041b92
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions