Skip to content

fix(ios): catch simulator from platform value. - #471

Merged
lucasfernog merged 1 commit into
tauri-apps:devfrom
Agile86:ios_sim_fix
Jul 31, 2025
Merged

fix(ios): catch simulator from platform value.#471
lucasfernog merged 1 commit into
tauri-apps:devfrom
Agile86:ios_sim_fix

Conversation

@Agile86

@Agile86 Agile86 commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

Summary:

Xcode 16.3 appears to have changed the architecture name used for iOS Simulator builds, which causes the current detection logic to fail when identifying simulator targets.

Changes:

Updated the detection logic to analyze PLATFORM_DISPLAY_NAME instead of relying on architecture alone.

Preserved the previous logic to maintain compatibility with older Xcode versions.

This ensures robust simulator detection across both old and new Xcode releases.

@lucasfernog

Copy link
Copy Markdown
Member

we've done something similar on tauri itself

@lucasfernog

Copy link
Copy Markdown
Member

tauri-apps/tauri#13210

@lucasfernog
lucasfernog merged commit 3f12118 into tauri-apps:dev Jul 31, 2025
16 checks passed
@Agile86
Agile86 deleted the ios_sim_fix branch July 31, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants