11// swift-tools-version:5.6
22
3- /*
4- *
5- * Hedera Swift SDK
6- *
7- * Copyright (C) 2022 - 2024 Hedera Hashgraph, LLC
8- *
9- * Licensed under the Apache License, Version 2.0 (the "License");
10- * you may not use this file except in compliance with the License.
11- * You may obtain a copy of the License at
12- *
13- * http://www.apache.org/licenses/LICENSE-2.0
14- *
15- * Unless required by applicable law or agreed to in writing, software
16- * distributed under the License is distributed on an "AS IS" BASIS,
17- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18- * See the License for the specific language governing permissions and
19- * limitations under the License.
20- *
21- */
3+ // SPDX-License-Identifier: Apache-2.0
224
235import PackageDescription
246
@@ -84,26 +66,25 @@ let exampleTargets = [
8466let package = Package (
8567 name: " Hiero " ,
8668 platforms: [
87- . macOS( . v10_15 ) ,
69+ . macOS( . v11 ) ,
8870 . iOS( . v13) ,
8971 ] ,
9072 products: [
9173 . library( name: " Hiero " , targets: [ " Hiero " ] )
9274 ] ,
9375 dependencies: [
94- . package ( url: " https://github.com/objecthub/swift-numberkit.git " , from: " 2.5.1 " ) ,
95- . package ( url: " https://github.com/thebarndog/swift-dotenv.git " , from: " 1.0.0 " ) ,
96- . package ( url: " https://github.com/grpc/grpc-swift.git " , from: " 1.23.0 " ) ,
97- . package ( url: " https://github.com/apple/swift-protobuf.git " , from: " 1.29.0 " ) ,
98- . package ( url: " https://github.com/vsanthanam/AnyAsyncSequence.git " , from: " 1.0.0 " ) ,
99- . package ( url: " https://github.com/apple/swift-atomics.git " , from: " 1.1.0 " ) ,
100- // swift-asn1 wants swift 5.7+ past 0.4
101- . package ( url: " https://github.com/apple/swift-asn1.git " , . upToNextMinor( from: " 0.3.0 " ) ) ,
102- . package ( url: " https://github.com/GigaBitcoin/secp256k1.swift.git " , . upToNextMinor( from: " 0.12.0 " ) ) ,
103- . package ( url: " https://github.com/apple/swift-docc-plugin " , from: " 1.0.0 " ) ,
104- . package ( url: " https://github.com/pointfreeco/swift-snapshot-testing.git " , from: " 1.0.0 " ) ,
105- . package ( url: " https://github.com/vapor/vapor.git " , from: " 4.101.3 " ) ,
106- . package ( url: " https://github.com/attaswift/BigInt.git " , from: " 5.2.0 " ) ,
76+ . package ( url: " https://github.com/objecthub/swift-numberkit.git " , from: " 2.6.0 " ) ,
77+ . package ( url: " https://github.com/thebarndog/swift-dotenv.git " , from: " 2.1.0 " ) ,
78+ . package ( url: " https://github.com/grpc/grpc-swift.git " , from: " 1.24.2 " ) ,
79+ . package ( url: " https://github.com/apple/swift-protobuf.git " , from: " 1.28.2 " ) ,
80+ . package ( url: " https://github.com/vsanthanam/AnyAsyncSequence.git " , from: " 1.0.2 " ) ,
81+ . package ( url: " https://github.com/apple/swift-atomics.git " , from: " 1.2.0 " ) ,
82+ . package ( url: " https://github.com/apple/swift-asn1.git " , from: " 1.3.1 " ) ,
83+ . package ( url: " https://github.com/GigaBitcoin/secp256k1.swift.git " , from: " 0.18.0 " ) ,
84+ . package ( url: " https://github.com/apple/swift-docc-plugin " , from: " 1.4.3 " ) ,
85+ . package ( url: " https://github.com/pointfreeco/swift-snapshot-testing.git " , from: " 1.18.0 " ) ,
86+ . package ( url: " https://github.com/vapor/vapor.git " , from: " 4.112.0 " ) ,
87+ . package ( url: " https://github.com/attaswift/BigInt.git " , from: " 5.5.1 " ) ,
10788 // Currently, only used for keccak256
10889 . package ( url: " https://github.com/krzyzanowskim/OpenSSL-Package.git " , from: " 3.3.2000 " ) ,
10990 ] ,
@@ -122,6 +103,7 @@ let package = Package(
122103 // weird name, but whatever, internal targets
123104 . target(
124105 name: " HieroExampleUtilities " ,
106+ dependencies: [ " Hiero " ] ,
125107 resources: [ . process( " Resources " ) ]
126108 ) ,
127109 . target(
0 commit comments