Skip to content

fix: support iOS 27 development using Xcode 27 - #15890

Merged
lucasfernog merged 12 commits into
devfrom
fix/ios-27
Aug 31, 2026
Merged

lucasfernog merged 12 commits into
devfrom
fix/ios-27

Conversation

@lucasfernog

@lucasfernog lucasfernog commented Aug 17, 2026 •

Copy link
Copy Markdown
Member

closes #15722

@lucasfernog
lucasfernog requested a review from a team as a code owner August 17, 2026 20:02
@github-actions

github-actions Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Package Changes Through fe3210e

There are 14 changes which include tauri with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri-build with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, tauri-bundler with minor, tauri-macos-sign with minor, @tauri-apps/api with minor, tauri-codegen with minor, tauri-macros with minor, tauri-plugin with minor, tauri-driver with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.11.1 2.12.0
tauri-utils 2.9.3 2.10.0
tauri-macos-sign 2.3.4 2.4.0
tauri-bundler 2.9.4 2.10.0
tauri-runtime 2.11.3 2.12.0
tauri-runtime-wry 2.11.4 2.12.0
tauri-codegen 2.6.3 2.7.0
tauri-macros 2.6.3 2.7.0
tauri-plugin 2.6.3 2.7.0
tauri-build 2.6.3 2.7.0
tauri 2.11.5 2.12.0
@tauri-apps/cli 2.11.4 2.12.0
tauri-cli 2.11.4 2.12.0
tauri-driver 2.0.6 2.1.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog

Copy link
Copy Markdown
Member Author

closes #15722

@socket-security

socket-security Bot commented Aug 17, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​cargo-mobile2@​0.22.4 ⏵ 0.22.57910098100100
Updatedcargo/​swift-rs@​1.0.7 ⏵ 1.0.88010093100100
Updatedcargo/​tao@​0.36.0 ⏵ 0.37.010010094100100

View full report

@JeffTsang

Copy link
Copy Markdown
Contributor

Setting UIApplicationSupportsMultipleScenes to true is not ideal for apps that don't support multiple scenes. It would be better to implement application(_:configurationForConnecting:options:) in the app delegate.

As an example, this is how the Capacitor team added UIScene support: ionic-team/capacitor#8536

@lucasfernog
lucasfernog merged commit 9e9a54d into dev Aug 31, 2026
39 checks passed
@lucasfernog
lucasfernog deleted the fix/ios-27 branch August 31, 2026 11:54
SebastianKumor added a commit to SebastianKumor/Kite-GC that referenced this pull request Sep 10, 2026
The patched project.yml never reached the Xcode project. Only `tauri ios init` runs XcodeGen
(crates/tauri-cli/src/mobile/ios/project.rs is its single call site); `tauri ios build` and
`tauri ios dev` load the existing pbxproj and synchronize values into it. Verified rather than
assumed: with a marker setting added to project.yml, a full `tauri ios build` reached xcodebuild
without the marker ever appearing in project.pbxproj, whose mtime did not change.

So the project is regenerated after patching, with the same call init makes. It happens only when
something needs it: when the patch changed the file, or when the existing pbxproj still copies
libapp.a into the bundle. The signing team survives, since it lives in project.yml.

The plumbing moves to scripts/lib/ios-project.sh and run-ipad.sh uses it too, path fix included.
That matters more than it looks: a dev run generated the project while Externals/ already held a
built library, so it produced exactly the broken pbxproj a later release archive would be rejected
for, and once several copies of libapp.a exist (debug + release, device + simulator) Xcode fails
with "Multiple commands produce .../libapp.a".

The patch stays compatible with tauri-apps/tauri#15890, which adds `excludes: ["**/*.a"]` to the
same group and is not in a released CLI yet: only `buildPhase` is added, any `excludes` is kept.
treetopdevs added a commit to treetopdevs/lattice that referenced this pull request Oct 30, 2026
Tauri 2.11.5's swift-rs could not build its iOS Swift bridge against the
Xcode 27 SDKs (UIKit/AppKit/WebKit not found). Tauri 2.12.0 picked up
upstream tauri-apps/tauri#15890 (swift-rs 1.0.9, Xcode 27 support), and
2.12.3+ also carries #16246 (public @_cdecl entry points for Xcode 27
release links).

tauri 2.11.5 -> 2.12.5, tauri-build 2.6.3 -> 2.7.4, tauri-plugin-deep-link
2.4.9 -> 2.6.3, @tauri-apps/cli 2.11.4 -> 2.12.4, @tauri-apps/api 2.11.1 ->
2.12.4, @tauri-apps/plugin-deep-link 2.4.9 -> 2.6.3.

With this, the iOS simulator probe archive builds under Xcode 27.0 and
tauri:ios:key-reuse:smoke passes on an iOS 27.0 simulator: both protected
keys survive process relaunch and a full shutdown/boot. The generated Xcode
project is unchanged. Desktop cargo test, frontend_shell (33/33) and
mobile:tauri-readiness (5/5) pass.

Co-Authored-By: Claude <noreply@anthropic.com>
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.

[bug] Crash on Xcode 27 Beta 3 runs on macOS 27 Beta

3 participants