feat(KAN-54): add local iOS and iPadOS Xcode builds
CI/CD / preconditions (pull_request) Successful in 2s
CI/CD / test_and_check_app (pull_request) Successful in 6m59s
CI/CD / Publish immutable image (pull_request) Skipped

This commit is contained in:
2026-09-26 20:52:56 +02:00
parent 859229fa21
commit d07b17ebdb
42 changed files with 1836 additions and 6 deletions
+14
View File
@@ -0,0 +1,14 @@
use tauri::{WebviewUrl, WebviewWindowBuilder};
pub fn context<R: tauri::Runtime>() -> tauri::Context<R> {
tauri::generate_context!()
}
pub fn builder() -> tauri::Builder<tauri::Wry> {
tauri::Builder::default().setup(|app| {
WebviewWindowBuilder::new(app, "host", WebviewUrl::App("index.html".into()))
.on_navigation(|_| false)
.build()?;
Ok(())
})
}
+8 -4
View File
@@ -1,16 +1,20 @@
#[cfg(target_os = "android")]
mod android;
#[cfg(not(target_os = "android"))]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
mod desktop;
#[cfg(not(target_os = "android"))]
#[cfg(target_os = "ios")]
mod ios;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
mod locale;
#[cfg(not(target_os = "android"))]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
mod server;
#[cfg(target_os = "android")]
pub use android::{builder, context};
#[cfg(not(target_os = "android"))]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub use desktop::{builder, context};
#[cfg(target_os = "ios")]
pub use ios::{builder, context};
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {