mirror of
https://github.com/kkebo/DNSecure.git
synced 2026-03-11 08:54:36 +00:00
Add Package.swift for Swift Playgrounds
Swift Playgrounds support is currently limited because it doesn't support essential entitlements for DNSecure. However, this is useful for me to modify UI with Swift Playgrounds.
This commit is contained in:
parent
4b13699ddd
commit
34a1d4f81b
2 changed files with 52 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -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
51
Package.swift
Normal 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"
|
||||
)
|
||||
]
|
||||
)
|
||||
Loading…
Reference in a new issue