Some checks failed
Audit / audit-js (push) Failing after 0s
bench / bench (map[os:ubuntu-latest runner:xvfb-run --auto-servernum target:x86_64-unknown-linux-gnu], nightly) (push) Failing after 0s
covector version or publish / run-integration-tests (ubuntu-latest) (push) Failing after 0s
Audit / audit-rust (push) Failing after 0s
test `@tauri-apps/cli` / test (ubuntu-latest) (push) Failing after 0s
test `tauri-cli` / test (map[os:ubuntu-latest target:x86_64-unknown-linux-gnu]) (push) Failing after 0s
test core / test (map[args:--all-features key:all], map[cargo:cargo command:test os:ubuntu-latest target:x86_64-unknown-linux-gnu toolchain:1.90]) (push) Failing after 0s
test core / test (map[args:--no-default-features key:no-default], map[cargo:cargo command:test os:ubuntu-latest target:x86_64-unknown-linux-gnu toolchain:1.90]) (push) Failing after 0s
test core / test (map[args:--no-default-features key:no-default], map[cargo:cross command:build os:ubuntu-latest target:aarch64-linux-android toolchain:1.90]) (push) Failing after 0s
deploy schema worker / deploy (push) Failing after 0s
lint rust / clippy (map[cargo:cargo include: os:ubuntu-latest target:x86_64-unknown-linux-gnu]) (push) Failing after 0s
lint rust / clippy (map[cargo:cross include:--package api os:ubuntu-latest target:aarch64-linux-android]) (push) Failing after 0s
supply chain health status / check rust dependencies with cargo vet (push) Failing after 0s
test `@tauri-apps/api` e2e (mobile) / android (push) Failing after 0s
test `@tauri-apps/api` e2e / test (map[name:Linux os:ubuntu-latest]) (push) Failing after 0s
test core / test (map[args:--all-features key:all], map[cargo:cross command:build os:ubuntu-latest target:aarch64-linux-android toolchain:1.90]) (push) Failing after 0s
Udeps / changes (push) Failing after 0s
Udeps / setup (push) Has been skipped
Udeps / udeps (push) Has been skipped
bench / bench (map[os:macos-latest runner: target:aarch64-apple-darwin], nightly) (push) Has been cancelled
bench / bench (map[os:windows-latest runner: target:x86_64-pc-windows-msvc], nightly) (push) Has been cancelled
covector version or publish / run-integration-tests (macos-latest) (push) Has been cancelled
covector version or publish / run-integration-tests (windows-latest) (push) Has been cancelled
covector version or publish / version-or-publish (push) Has been cancelled
test `@tauri-apps/cli` / test (macos-latest) (push) Has been cancelled
test `tauri-cli` / test (map[args:--no-default-features --features native-tls-vendored os:windows-latest restore-only:true target:aarch64-pc-windows-msvc]) (push) Has been cancelled
test `tauri-cli` / test (map[os:macos-latest target:x86_64-apple-darwin]) (push) Has been cancelled
test `tauri-cli` / test (map[os:windows-latest target:x86_64-pc-windows-msvc]) (push) Has been cancelled
test core / test (map[args:--all-features key:all], map[cargo:cargo command:build os:macos-latest target:aarch64-apple-ios toolchain:1.90]) (push) Has been cancelled
test core / test (map[args:--all-features key:all], map[cargo:cargo command:test os:macos-14 target:aarch64-apple-darwin toolchain:1.90]) (push) Has been cancelled
lint rust / clippy (map[cargo:cargo include: os:macos-latest target:aarch64-apple-darwin]) (push) Has been cancelled
lint rust / clippy (map[cargo:cargo include: os:windows-latest target:x86_64-pc-windows-msvc]) (push) Has been cancelled
lint rust / clippy (map[cargo:cargo include:--package api os:macos-latest target:aarch64-apple-ios]) (push) Has been cancelled
test `@tauri-apps/api` e2e (mobile) / ios (push) Has been cancelled
test `@tauri-apps/api` e2e / test (map[name:Windows os:windows-latest]) (push) Has been cancelled
test `@tauri-apps/api` e2e / test (map[name:macOS os:macos-latest]) (push) Has been cancelled
test `@tauri-apps/cli` / test (windows-latest) (push) Has been cancelled
test core / test (map[args:--all-features key:all], map[cargo:cargo command:test os:windows-latest target:x86_64-pc-windows-msvc toolchain:1.90]) (push) Has been cancelled
test core / test (map[args:--no-default-features key:no-default], map[cargo:cargo command:build os:macos-latest target:aarch64-apple-ios toolchain:1.90]) (push) Has been cancelled
test core / test (map[args:--no-default-features key:no-default], map[cargo:cargo command:test os:macos-14 target:aarch64-apple-darwin toolchain:1.90]) (push) Has been cancelled
test core / test (map[args:--no-default-features key:no-default], map[cargo:cargo command:test os:windows-latest target:x86_64-pc-windows-msvc toolchain:1.90]) (push) Has been cancelled
175 lines
8.2 KiB
YAML
175 lines
8.2 KiB
YAML
name: {{app.name}}
|
|
options:
|
|
bundleIdPrefix: {{app.identifier}}
|
|
deploymentTarget:
|
|
iOS: {{apple.ios-version}}
|
|
fileGroups: [{{join file-groups}}]
|
|
configs:
|
|
debug: debug
|
|
release: release
|
|
settingGroups:
|
|
app:
|
|
base:
|
|
PRODUCT_NAME: {{app.stylized-name}}
|
|
PRODUCT_BUNDLE_IDENTIFIER: {{app.identifier}}
|
|
{{#if apple.development-team}}
|
|
DEVELOPMENT_TEAM: {{apple.development-team}}
|
|
{{/if}}
|
|
targetTemplates:
|
|
app:
|
|
type: application
|
|
sources:
|
|
- path: Sources
|
|
scheme:
|
|
environmentVariables:
|
|
RUST_BACKTRACE: full
|
|
RUST_LOG: info
|
|
settings:
|
|
groups: [app]
|
|
targets:
|
|
{{app.name}}_iOS:
|
|
type: application
|
|
platform: iOS
|
|
sources:
|
|
- path: Sources
|
|
- path: Assets.xcassets
|
|
# Exclude built static libs: regenerating with xcodegen after a build
|
|
# otherwise turns the per-configuration libapp.a copies into colliding
|
|
# resources ("Multiple commands produce …/libapp.a"). They are linked
|
|
# via LIBRARY_SEARCH_PATHS, never bundled as resources.
|
|
- path: Externals
|
|
excludes: ["**/*.a"]
|
|
- path: {{app.name}}_iOS
|
|
- path: {{app.asset-dir}}
|
|
buildPhase: resources
|
|
type: folder
|
|
{{~#each asset-catalogs}}
|
|
- {{prefix-path this}}{{/each}}
|
|
{{~#each ios-additional-targets}}
|
|
- path: {{prefix-path this}}{{/each}}
|
|
- path: LaunchScreen.storyboard
|
|
info:
|
|
path: {{app.name}}_iOS/Info.plist
|
|
properties:
|
|
LSRequiresIPhoneOS: true
|
|
UILaunchStoryboardName: LaunchScreen
|
|
UIRequiredDeviceCapabilities: [arm64, metal]
|
|
UISupportedInterfaceOrientations:
|
|
- UIInterfaceOrientationPortrait
|
|
- UIInterfaceOrientationLandscapeLeft
|
|
- UIInterfaceOrientationLandscapeRight
|
|
UISupportedInterfaceOrientations~ipad:
|
|
- UIInterfaceOrientationPortrait
|
|
- UIInterfaceOrientationPortraitUpsideDown
|
|
- UIInterfaceOrientationLandscapeLeft
|
|
- UIInterfaceOrientationLandscapeRight
|
|
CFBundleShortVersionString: {{apple.bundle-version-short}}
|
|
CFBundleVersion: "{{apple.bundle-version}}"
|
|
{{~#each apple.plist-pairs}}
|
|
{{this.key}}: {{this.value}}{{/each}}
|
|
entitlements:
|
|
path: {{app.name}}_iOS/{{app.name}}_iOS.entitlements
|
|
scheme:
|
|
environmentVariables:
|
|
RUST_BACKTRACE: full
|
|
RUST_LOG: info
|
|
{{~#if ios-command-line-arguments}}
|
|
commandLineArguments:
|
|
{{~#each ios-command-line-arguments}}
|
|
"{{this}}": true
|
|
{{/each}}{{~/if}}
|
|
settings:
|
|
base:
|
|
ENABLE_BITCODE: false
|
|
ARCHS: [{{join ios-valid-archs}}]
|
|
VALID_ARCHS: {{~#each ios-valid-archs}} {{this}} {{/each}}
|
|
LIBRARY_SEARCH_PATHS[arch=x86_64]: $(inherited) $(PROJECT_DIR)/Externals/x86_64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(PLATFORM_NAME) $(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/$(PLATFORM_NAME)
|
|
LIBRARY_SEARCH_PATHS[arch=arm64]: $(inherited) $(PROJECT_DIR)/Externals/arm64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(PLATFORM_NAME) $(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/$(PLATFORM_NAME)
|
|
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: true
|
|
EXCLUDED_ARCHS[sdk=iphoneos*]: x86_64
|
|
groups: [app]
|
|
dependencies:
|
|
- framework: {{ lib-output-file-name }}
|
|
embed: false
|
|
{{~#each ios-libraries}}
|
|
- framework: {{this}}
|
|
embed: false{{/each}}{{#if ios-vendor-frameworks}}{{~#each ios-vendor-frameworks}}
|
|
- framework: {{this}}{{/each}}{{/if}}{{#if ios-vendor-sdks}}{{~#each ios-vendor-sdks}}
|
|
- sdk: {{prefix-path this}}{{/each}}{{/if}}
|
|
- sdk: CoreGraphics.framework
|
|
- sdk: Metal.framework
|
|
- sdk: MetalKit.framework
|
|
- sdk: QuartzCore.framework
|
|
- sdk: Security.framework
|
|
- sdk: UIKit.framework{{#if this.ios-frameworks}}{{~#each ios-frameworks}}
|
|
- sdk: {{this}}.framework{{/each}}{{/if}}
|
|
- sdk: WebKit.framework
|
|
preBuildScripts:
|
|
{{~#each ios-pre-build-scripts}}{{#if this.path}}
|
|
- path {{this.path}}{{/if}}{{#if this.script}}
|
|
- script: {{this.script}}{{/if}}{{#if this.name}}
|
|
name: {{this.name}}{{/if}}{{#if this.input-files}}
|
|
inputFiles: {{~#each this.input-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.output-files}}
|
|
outputFiles: {{~#each this.output-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.input-file-lists}}
|
|
inputFileLists: {{~#each this.output-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.output-file-lists}}
|
|
outputFileLists: {{~#each this.output-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.shell}}
|
|
shell: {{this.shell}}{{/if}}{{#if this.show-env-vars}}
|
|
showEnvVars: {{this.show_env_vars}}{{/if}}{{#if this.run-only-when-installing}}
|
|
runOnlyWhenInstalling: {{this.run-only-when-installing}}{{/if}}{{#if this.based-on-dependency-analysis}}
|
|
basedOnDependencyAnalysis: {{this.based-on-dependency-analysis}}{{/if}}{{#if this.discovered-dependency-file}}
|
|
discoveredDependencyFile: {{this.discovered-dependency-file}}{{/if}}
|
|
{{~/each}}
|
|
|
|
- script: {{ tauri-binary }} {{ tauri-binary-args-str }} -v --platform ${PLATFORM_DISPLAY_NAME:?} --sdk-root ${SDKROOT:?} --framework-search-paths "${FRAMEWORK_SEARCH_PATHS:?}" --header-search-paths "${HEADER_SEARCH_PATHS:?}" --gcc-preprocessor-definitions "${GCC_PREPROCESSOR_DEFINITIONS:-}" --configuration ${CONFIGURATION:?} ${FORCE_COLOR} ${ARCHS:?}
|
|
name: Build Rust Code
|
|
basedOnDependencyAnalysis: false
|
|
outputFiles:
|
|
- $(SRCROOT)/Externals/x86_64/${CONFIGURATION}/{{ lib-output-file-name }}
|
|
- $(SRCROOT)/Externals/arm64/${CONFIGURATION}/{{ lib-output-file-name }}
|
|
{{~#if ios-post-compile-scripts}}
|
|
postCompileScripts:
|
|
{{~#each ios-post-compile-scripts}}{{#if this.path}}
|
|
- path {{this.path}}{{/if}}{{#if this.script}}
|
|
- script: {{this.script}}{{/if}}{{#if this.name}}
|
|
name: {{this.name}}{{/if}}{{#if this.input-files}}
|
|
inputFiles: {{~#each this.input-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.output-files}}
|
|
outputFiles: {{~#each this.output-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.input-file-lists}}
|
|
inputFileLists: {{~#each this.output-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.output-file-lists}}
|
|
outputFileLists: {{~#each this.output-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.shell}}
|
|
shell: {{this.shell}}{{/if}}{{#if this.show-env-vars}}
|
|
showEnvVars: {{this.show_env_vars}}{{/if}}{{#if this.run-only-when-installing}}
|
|
runOnlyWhenInstalling: {{this.run-only-when-installing}}{{/if}}{{#if this.based-on-dependency-analysis}}
|
|
basedOnDependencyAnalysis: {{this.based-on-dependency-analysis}}{{/if}}{{#if this.discovered-dependency-file}}
|
|
discoveredDependencyFile: {{this.discovered-dependency-file}}{{/if}}
|
|
{{~/each~}}
|
|
{{~/if~}}
|
|
{{~#if ios-post-build-scripts}}
|
|
postBuildScripts:
|
|
{{~#each ios-post-build-scripts}}{{#if this.path}}
|
|
- path {{this.path}}{{/if}}{{#if this.script}}
|
|
- script: {{this.script}}{{/if}}{{#if this.name}}
|
|
name: {{this.name}}{{/if}}{{#if this.input-files}}
|
|
inputFiles: {{~#each this.input-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.output-files}}
|
|
outputFiles: {{~#each this.output-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.input-file-lists}}
|
|
inputFileLists: {{~#each this.output-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.output-file-lists}}
|
|
outputFileLists: {{~#each this.output-files}}
|
|
- {{this}}{{/each}}{{/if}}{{#if this.shell}}
|
|
shell: {{this.shell}}{{/if}}{{#if this.show-env-vars}}
|
|
showEnvVars: {{this.show_env_vars}}{{/if}}{{#if this.run-only-when-installing}}
|
|
runOnlyWhenInstalling: {{this.run-only-when-installing}}{{/if}}{{#if this.based-on-dependency-analysis}}
|
|
basedOnDependencyAnalysis: {{this.based-on-dependency-analysis}}{{/if}}{{#if this.discovered-dependency-file}}
|
|
discoveredDependencyFile: {{this.discovered-dependency-file}}{{/if}}
|
|
{{~/each~}}
|
|
{{~/if}}
|