Merge pull request #68 from kkk669/playground

Add Package.swift for Swift Playgrounds
This commit is contained in:
Kenta Kubo 2023-05-01 00:09:07 +09:00 committed by GitHub
commit ec054cde2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 52 additions and 1 deletions

2
.gitignore vendored
View file

@ -47,7 +47,7 @@ playground.xcworkspace
# *.xcodeproj
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm
.swiftpm
.build/

51
Package.swift Normal file
View file

@ -0,0 +1,51 @@
// swift-tools-version: 5.8
// WARNING:
// This file is automatically generated.
// Do not edit it by hand because the contents will be replaced.
import PackageDescription
import AppleProductTypes
let package = Package(
name: "DNSecure",
platforms: [
.iOS("16.1")
],
products: [
.iOSApplication(
name: "DNSecure",
targets: ["DNSecure"],
bundleIdentifier: "xyz.kebo.DNSecure",
teamIdentifier: "X4678G5DL2",
displayVersion: "1.4.3",
bundleVersion: "19",
appIcon: .asset("AppIcon"),
accentColor: .asset("AccentColor"),
supportedDeviceFamilies: [
.pad,
.phone
],
supportedInterfaceOrientations: [
.portrait,
.landscapeRight,
.landscapeLeft,
.portraitUpsideDown(.when(deviceFamilies: [.pad]))
],
appCategory: .utilities
)
],
targets: [
.executableTarget(
name: "DNSecure",
path: "DNSecure"
),
.testTarget(
name: "DNSecureTests",
dependencies: [
"DNSecure"
],
path: "DNSecureTests"
)
]
)