Feat macos #2

Merged
jourintown merged 6 commits from feat_macos into main 2026-08-29 20:30:30 +02:00
4 changed files with 77 additions and 17 deletions
Showing only changes of commit 6c0a6eb498 - Show all commits

No files matched your search

+2 -2
View File
@@ -1,2 +1,2 @@
.build/
dist/
DerivedData/
Transui.xcodeproj/
-15
View File
@@ -1,15 +0,0 @@
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "TransuiMac",
platforms: [.macOS("15.0")],
products: [
.executable(name: "Transui", targets: ["Transui"])
],
targets: [
.executableTarget(name: "Transui"),
.testTarget(name: "TransuiTests", dependencies: ["Transui"]),
]
)
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.device.audio-input</key>
<true/>
</dict>
</plist>
+67
View File
@@ -0,0 +1,67 @@
name: Transui
options:
createIntermediateGroups: true
deploymentTarget:
macOS: "15.0"
xcodeVersion: "16.0"
configs:
Debug: debug
Release: release
settings:
base:
CODE_SIGN_STYLE: Automatic
CURRENT_PROJECT_VERSION: 1
MARKETING_VERSION: 0.1.0
SWIFT_VERSION: 5.0
targets:
Transui:
type: application
platform: macOS
deploymentTarget: "15.0"
sources:
- path: Sources/Transui
settings:
base:
CODE_SIGN_ENTITLEMENTS: Transui.entitlements
ENABLE_HARDENED_RUNTIME: "YES"
GENERATE_INFOPLIST_FILE: "NO"
INFOPLIST_FILE: Info.plist
PRODUCT_BUNDLE_IDENTIFIER: io.github.transui.macos
PRODUCT_NAME: Transui
TransuiTests:
type: bundle.unit-test
platform: macOS
deploymentTarget: "15.0"
sources:
- path: Tests/TransuiTests
dependencies:
- target: Transui
settings:
base:
GENERATE_INFOPLIST_FILE: "YES"
PRODUCT_BUNDLE_IDENTIFIER: io.github.transui.macos.tests
schemes:
Transui:
build:
targets:
Transui: all
TransuiTests: [test]
run:
config: Debug
test:
config: Debug
gatherCoverageData: true
targets:
- TransuiTests
profile:
config: Release
analyze:
config: Debug
archive:
config: Release