Skip to content

Commit 78e71f5

Browse files
committedSep 20, 2024
♻️ Make published value types Sendable
1 parent 3e39c06 commit 78e71f5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎ProjectDescriptionHelpers/CodeSigning.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import ProjectDescription
22

33
/// Representing app code signing
4-
public enum CodeSigning {
4+
public enum CodeSigning: Sendable {
55
/// Code signing identity values
6-
public struct Identity: ExpressibleByStringInterpolation, RawRepresentable {
6+
public struct Identity: ExpressibleByStringInterpolation, RawRepresentable, Sendable {
77
public var rawValue: String
88

99
/// Apple development constant

‎ProjectDescriptionHelpers/Configuration.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ public extension Configuration {
2929
var isRelease: Bool { name.rawValue.lowercased() == "release" }
3030
}
3131

32-
extension Configuration: CustomStringConvertible {
32+
extension Configuration: @retroactive CustomStringConvertible {
3333
public var description: String { name.rawValue }
3434
}

‎ProjectDescriptionHelpers/Environment.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import enum ProjectDescription.Environment
55
///
66
/// Represents standard environments in our app,
77
/// if you need custom environments, you should use your own object.
8-
public enum Environment: String, CaseIterable {
8+
public enum Environment: String, CaseIterable, Sendable {
99
public static var current: Self {
1010
.init(
1111
rawValue: ProjectDescription.Environment.environment

‎ProjectDescriptionHelpers/TeamID.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22

33
/// Represents team ID in Apple Dev portal & App Store Connect,
44
/// basically just provides namespace for your own extensions.
5-
public struct TeamID: RawRepresentable, CustomStringConvertible, ExpressibleByStringInterpolation {
5+
public struct TeamID: RawRepresentable, CustomStringConvertible, ExpressibleByStringInterpolation, Sendable {
66
/// Team ID for Ackee production apps
77
public static let ackeeProduction: Self = "3SMVP6VZP8"
88

0 commit comments

Comments
 (0)
Please sign in to comment.