Skip to content

Commit 02068bd

Browse files
authored
Make ProvisionedDevices Optional
Fixes #7 Many profiles do not have an associated list of devices such as app-store profiles as once signed it works on any. This commit has been tested through 70 profiles on my machine hopefully testing most iOS situations (macOS is still a question mark).
1 parent 8ae2b45 commit 02068bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftyProvisioningProfile/Model/ProvisioningProfile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public struct ProvisioningProfile: Codable {
4141
public var name: String
4242

4343
/// An array of device UUIDs that are provisioned on this profile
44-
public var provisionedDevices: [String]
44+
public var provisionedDevices: [String]?
4545

4646
/// An array of team identifier of which this profile belongs to
4747
public var teamIdentifiers: [String]

0 commit comments

Comments
 (0)