Repository navigation
fix: support iOS 27 development using Xcode 27 - #15890
Conversation
Package Changes Through fe3210eThere 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 VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
closes #15722 |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
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 |
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.
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>
closes #15722