name: kanbangit-native options: bundleIdPrefix: de.kanbangit.ios deploymentTarget: iOS: 17.0 fileGroups: [../../src] configs: debug: debug release: release settingGroups: app: base: PRODUCT_NAME: KanbanGit SWIFT_VERSION: "5.0" PRODUCT_MODULE_NAME: KanbanGitNative TARGETED_DEVICE_FAMILY: "1,2" CODE_SIGN_STYLE: Manual DEVELOPMENT_TEAM: ZZX2KZGTHU ENABLE_USER_SCRIPT_SANDBOXING: false PRODUCT_BUNDLE_IDENTIFIER: de.kanbangit.ios MARKETING_VERSION: "0.2.6" CURRENT_PROJECT_VERSION: "6" configs: debug: CODE_SIGN_IDENTITY: Apple Development release: CODE_SIGN_IDENTITY: Apple Distribution targetTemplates: app: type: application sources: - path: Sources scheme: environmentVariables: RUST_BACKTRACE: full RUST_LOG: info settings: groups: [app] targets: kanbangit-native_iOS: type: application platform: iOS sources: - path: Sources - path: ../../../ui/workspace-navigation.js - path: ../../../ui/workspace-settings.js - path: Assets.xcassets - path: kanbangit-native_iOS - path: LaunchScreen.storyboard info: path: kanbangit-native_iOS/Info.plist properties: NSCameraUsageDescription: Choose a profile picture using your camera. NSPhotoLibraryUsageDescription: Choose a profile picture from your photo library. LSRequiresIPhoneOS: true UILaunchStoryboardName: LaunchScreen UIRequiredDeviceCapabilities: [arm64, metal] UISupportedInterfaceOrientations: - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad: - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight CFBundleShortVersionString: $(MARKETING_VERSION) CFBundleVersion: $(CURRENT_PROJECT_VERSION) entitlements: path: kanbangit-native_iOS/kanbangit-native_iOS.entitlements scheme: environmentVariables: RUST_BACKTRACE: full RUST_LOG: info testTargets: - WorkspaceTests - WorkspaceUITests settings: base: ENABLE_BITCODE: false ARCHS: [arm64] VALID_ARCHS: arm64 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: libapp.a embed: false - sdk: CoreGraphics.framework - sdk: Metal.framework - sdk: MetalKit.framework - sdk: QuartzCore.framework - sdk: Security.framework - sdk: UIKit.framework - sdk: WebKit.framework preBuildScripts: - script: | set -eu if [ -n "${KANBANGIT_IOS_LIBRARY:-}" ]; then mkdir -p "$SRCROOT/Externals/arm64/$CONFIGURATION" cp "$KANBANGIT_IOS_LIBRARY" "$SRCROOT/Externals/arm64/$CONFIGURATION/libapp.a" exit 0 fi export PATH="$(dirname "$(rustup which cargo)"):$PATH" export RUSTC="$(rustup which rustc)" cd "$SRCROOT/../../.." ./node_modules/.bin/tauri ios xcode-script -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}/libapp.a - $(SRCROOT)/Externals/arm64/${CONFIGURATION}/libapp.a WorkspaceTests: type: bundle.unit-test platform: iOS sources: - path: ../../../ui/workspace-navigation.js - path: ../../../ui/workspace-settings.js - path: Tests - path: Sources/kanbangit-native/WorkspacePolicy.swift - path: Sources/kanbangit-native/WorkspaceViewController.swift - path: Sources/kanbangit-native/en.lproj settings: base: GENERATE_INFOPLIST_FILE: YES PRODUCT_BUNDLE_IDENTIFIER: de.kanbangit.ios.tests DEVELOPMENT_TEAM: ZZX2KZGTHU CODE_SIGN_STYLE: Manual SWIFT_VERSION: "5.0" WorkspaceUITests: type: bundle.ui-testing platform: iOS sources: [UITests] dependencies: - target: kanbangit-native_iOS settings: base: GENERATE_INFOPLIST_FILE: YES PRODUCT_BUNDLE_IDENTIFIER: de.kanbangit.ios.uitests DEVELOPMENT_TEAM: ZZX2KZGTHU CODE_SIGN_STYLE: Manual SWIFT_VERSION: "5.0" TEST_TARGET_NAME: kanbangit-native_iOS