Skip to content

APPLE: Support building for iOS and visionOS Simulators#3707

Closed
dgovil wants to merge 2 commits intoPixarAnimationStudios:devfrom
dgovil:AppleSimulatorSupport
Closed

APPLE: Support building for iOS and visionOS Simulators#3707
dgovil wants to merge 2 commits intoPixarAnimationStudios:devfrom
dgovil:AppleSimulatorSupport

Conversation

@dgovil
Copy link
Copy Markdown
Collaborator

@dgovil dgovil commented Jul 5, 2025

Description of Change(s)

This PR adds support for building for the iOS and visionOS simulator targets. This enables developers to test and run locally without deploying to a device, especially useful if they don't have a device yet.

Requires #3706 to be merged first.

Note: Storm does not render in a simulator, but the codepaths still execute. This is due to the limited metal support in Simulator environments. However, since the codepaths still execute, its still valuable to be able to run imaging on a simulator to test other aspects of the build.

Checklist

@dgovil dgovil added needs review Issue needing input/review by the repo maintainer (Pixar) build Build-related issue/PR labels Jul 5, 2025
@jesschimein
Copy link
Copy Markdown
Collaborator

Filed as internal issue #USD-11184

(This is an automated message. See here for more information.)

@gvanush
Copy link
Copy Markdown

gvanush commented Oct 18, 2025

Hi @dgovil,
Is there an ETA for merging this?

@dgovil
Copy link
Copy Markdown
Collaborator Author

dgovil commented Oct 18, 2025

No, that would be up to Pixar's scheduling but we'll work with them towards getting this in

maddyadams added a commit to apple/SwiftUsd that referenced this pull request Nov 20, 2025
Made MethodsReturningReferences be borrowing by default

Build system:
Add support for iOS/visionOS simulator builds of SwiftUsd/OpenUSD
Cherry pick PixarAnimationStudios/OpenUSD#3707 to add support for compiling for iOS/visionOS simulator
Add support for Intel and macOS Universal binaries

Scripts:
Add a `--force` flag to make-swift-package. Now, it will abort if you try to run it and the `generatedPackageDir` already exists unless you use `--force`.
Change how ShellUtil.runCommandAndGetOutput works to avoid swiftlang/swift#57827
maddyadams added a commit to apple/SwiftUsd that referenced this pull request Nov 20, 2025
Made MethodsReturningReferences be borrowing by default

Build system:
Add support for iOS/visionOS simulator builds of SwiftUsd/OpenUSD
Cherry pick PixarAnimationStudios/OpenUSD#3707 to add support for compiling for iOS/visionOS simulator
Add support for Intel and macOS Universal binaries

Scripts:
Add a `--force` flag to make-swift-package. Now, it will abort if you try to run it and the `generatedPackageDir` already exists unless you use `--force`.
Change how ShellUtil.runCommandAndGetOutput works to avoid swiftlang/swift#57827
@pixar-oss pixar-oss closed this in 40acc94 Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build-related issue/PR needs review Issue needing input/review by the repo maintainer (Pixar)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants