feat:xcode
This commit is contained in:
1 parent
3400e2b465
commit
6c0a6eb498
4 files changed
+77
-17
No files matched your search
+2
-2
@@ -1,2 +1,2 @@
|
||||
.build/
|
||||
dist/
|
||||
DerivedData/
|
||||
Transui.xcodeproj/
|
||||
@@ -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"]),
|
||||
]
|
||||
)
|
||||
@@ -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>
|
||||
@@ -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
|
||||
Reference in new issue
Block a user