mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 02:29:55 +02:00
Enable complete strict concurrency and switch the app target to Swift 6. - Isolate model dependency protocols to @MainActor - Make the CoreRepository blocking-FFI bridge race-free: nonisolated(unsafe) core handle, nonisolated runCore/readSnapshot, @Sendable work block, Sendable domain models - Fix Binding method-reference captures; @preconcurrency imports for CoreNFC/AVFoundation/VnidropCore; isolate the NFC/QR delegate helpers
55 lines
1.8 KiB
YAML
55 lines
1.8 KiB
YAML
# XcodeGen spec for the native SwiftUI VniDrop app (iOS/iPadOS/macOS).
|
|
# Regenerate the project with: xcodegen generate (run from apple/)
|
|
# Requires the Rust core first: apple/scripts/build-core.sh debug
|
|
name: VniDrop
|
|
options:
|
|
bundleIdPrefix: com.vnidrop
|
|
deploymentTarget:
|
|
iOS: "18.2"
|
|
macOS: "15.0"
|
|
createIntermediateGroups: true
|
|
|
|
packages:
|
|
VnidropCore:
|
|
path: VnidropCore
|
|
|
|
targets:
|
|
VniDrop:
|
|
type: application
|
|
supportedDestinations: [iOS, macOS]
|
|
configFiles:
|
|
Debug: Signing.xcconfig
|
|
Release: Signing.xcconfig
|
|
sources:
|
|
- path: VniDrop
|
|
excludes:
|
|
- "Resources/Info.plist"
|
|
- "Resources/VniDrop.entitlements"
|
|
- "Resources/**/.DS_Store"
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: com.vnidrop.app
|
|
MARKETING_VERSION: "0.1.0"
|
|
CURRENT_PROJECT_VERSION: "1"
|
|
GENERATE_INFOPLIST_FILE: NO
|
|
INFOPLIST_FILE: VniDrop/Resources/Info.plist
|
|
# Mirror the Info.plist identity so Xcode's Identity editor shows it too
|
|
# (the editor reads these build settings, not the manual plist).
|
|
INFOPLIST_KEY_CFBundleDisplayName: VniDrop
|
|
INFOPLIST_KEY_LSApplicationCategoryType: public.app-category.utilities
|
|
SWIFT_VERSION: "6.0"
|
|
SWIFT_STRICT_CONCURRENCY: complete
|
|
ENABLE_USER_SCRIPT_SANDBOXING: NO
|
|
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
|
|
CODE_SIGN_STYLE: Automatic
|
|
configs:
|
|
debug:
|
|
CODE_SIGN_ENTITLEMENTS: VniDrop/Resources/VniDrop.entitlements
|
|
release:
|
|
CODE_SIGN_ENTITLEMENTS: VniDrop/Resources/VniDrop.entitlements
|
|
dependencies:
|
|
- package: VnidropCore
|
|
- sdk: SystemConfiguration.framework
|
|
- sdk: Security.framework
|
|
- sdk: libresolv.tbd
|