Compare commits

..

No commits in common. "1131cb17c6114a0b41263be1b5788188548adc41" and "fde2062507e0c85d299c433a2af2fce83a265565" have entirely different histories.

3 changed files with 15 additions and 4 deletions

View File

@ -14,15 +14,15 @@ let package = Package(
targets: ["Push"]), targets: ["Push"]),
], ],
dependencies: [ dependencies: [
.package(url: "https://christophhagen.de/git/ch/Push-Definitions.git", from: "1.0.0"), .package(url: "https://christophhagen.de/git/ch/Push-API.git", from: "0.7.2"),
.package(url: "https://github.com/swift-server-community/APNSwift.git", from: "4.0.0"), .package(url: "https://github.com/kylebrowning/APNSwift.git", from: "4.0.0"),
.package(url: "https://github.com/apple/swift-crypto.git", "1.0.0" ..< "3.0.0") .package(url: "https://github.com/apple/swift-crypto.git", "1.0.0" ..< "3.0.0")
], ],
targets: [ targets: [
.target( .target(
name: "Push", name: "Push",
dependencies: [ dependencies: [
.product(name: "PushMessageDefinitions", package: "Push-Definitions"), .product(name: "PushAPI", package: "Push-API"),
.product(name: "Crypto", package: "swift-crypto") .product(name: "Crypto", package: "swift-crypto")
]), ]),
] ]

View File

@ -1,5 +1,5 @@
import Foundation import Foundation
import PushMessageDefinitions import PushAPI
import SwiftUI import SwiftUI
#if canImport(CryptoKit) #if canImport(CryptoKit)

View File

@ -0,0 +1,11 @@
import XCTest
@testable import Push_iOS
final class Push_iOSTests: XCTestCase {
func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct
// results.
XCTAssertEqual(Push_iOS().text, "Hello, World!")
}
}