Repository: tauri
Issue: [bug] run `pnpm tauri ios dev` failed, command ["xcodebuild"] exited with code 65
Labels: type: bug,status: needs triage,platform: iOS

### Describe the bug

run `pnpm tauri ios dev` returns the following: 

````
error: failed to run custom build command for `tauri v2.2.3`

Caused by:
  process didn't exit successfully: `/Users/echo/XcodeProject/Personal/tauri-app/src-tauri/target/debug/build/tauri-037514aa3ee3496c/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-check-cfg=cfg(custom_protocol)
  cargo:rustc-check-cfg=cfg(dev)
  cargo:rustc-cfg=dev
  cargo:dev=true
  cargo:rustc-check-cfg=cfg(desktop)
  cargo:rustc-check-cfg=cfg(mobile)
  cargo:rustc-cfg=mobile

  --- stderr
  thread 'main' panicked at /Users/echo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swift-rs-1.0.7/src-rs/build.rs:42:56:
  called `Result::unwrap()` on an `Err` value: Error("expected ident", line: 1, column: 2)
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:665:5
     1: core::panicking::panic_fmt
               at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:74:14
     2: core::result::unwrap_failed
               at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/result.rs:1700:5
     3: core::result::Result<T,E>::unwrap
               at /Users/echo/.rustup/toolchains/1.83.0-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:1104:23
     4: swift_rs::build::SwiftEnv::new
               at /Users/echo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swift-rs-1.0.7/src-rs/build.rs:42:9
     5: swift_rs::build::SwiftLinker::link
               at /Users/echo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swift-rs-1.0.7/src-rs/build.rs:215:25
     6: tauri_utils::build::link_swift_library
               at /Users/echo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.1.1/src/build.rs:25:3
     7: tauri_utils::build::link_apple_library
               at /Users/echo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.1.1/src/build.rs:11:5
     8: build_script_build::main
               at ./build.rs:328:7
     9: core::ops::function::FnOnce::call_once
               at /Users/echo/.rustup/toolchains/1.83.0-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
Failed to run `cargo build`: command ["cargo", "build", "--package", "tauri-app", "--manifest-path", "/Users/echo/XcodeProject/Personal/tauri-app/src-tauri/Cargo.toml", "--target", "aarch64-apple-ios-sim", "--features", "tauri/rustls-tls", "--lib", "--no-default-features"] exited with code 101
    Error Failed to run `cargo build`: command ["cargo", "build", "--package", "tauri-app", "--manifest-path", "/Users/echo/XcodeProject/Personal/tauri-app/src-tauri/Cargo.toml", "--target", "aarch64-apple-ios-sim", "--features", "tauri/rustls-tls", "--lib", "--no-default-features"] exited with code 101
 ELIFECYCLE  Command failed with exit code 1.
Command PhaseScriptExecution failed with a nonzero exit code

note: Run script build phase 'Build Rust Code' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'tauri-app_iOS' from project 'tauri-app')
** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution Build\ Rust\ Code /Users/echo/Library/Developer/Xcode/DerivedData/tauri-app-anhhqqpuuguyqcdgrusyrcxkfzrl/Build/Intermediates.noindex/tauri-app.build/debug-iphonesimulator/tauri-app_iOS.build/Script-4CFF21EFA1FFE4D2AB9D6998.sh (in target 'tauri-app_iOS' from project 'tauri-app')
	Building workspace tauri-app with scheme tauri-app_iOS and configuration debug
(2 failures)
command ["xcodebuild"] exited with code 65
    Error command ["xcodebuild"] exited with code 65
 ELIFECYCLE  Command failed with exit code 1.
````

### Reproduction

_No response_

### Expected behavior

_No response_

### Full `tauri info` output

```text
`
pnpm tauri info

> tauri-app@0.1.0 tauri /Users/echo/XcodeProject/Personal/tauri-app
> tauri "info"


[✔] Environment
    - OS: Mac OS 15.0.0 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.83.0 (90b35a623 2024-11-26)
    ✔ cargo: 1.83.0 (5ffbef321 2024-10-29)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: 1.83.0-aarch64-apple-darwin (default)
    - node: 23.6.0
    - pnpm: 9.15.4
    - yarn: 1.22.22
    - npm: 10.9.2

[-] Packages
    - tauri 🦀: 2.2.3
    - tauri-build 🦀: 2.0.5
    - wry 🦀: 0.48.1
    - tao 🦀: 0.31.1
    - @tauri-apps/api : 2.2.0
    - @tauri-apps/cli : 2.2.5

[-] Plugins
    - tauri-plugin-opener 🦀: 2.2.5
    - @tauri-apps/plugin-opener : 2.2.5

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite

[-] iOS
    - Developer Teams: CLOSELI TECHNOLOGY HOLDING LIMITED (ID: X4A7JZGSRG)
`
```

### Stack trace

```text

```

### Additional context

_No response_