Skip to content

Commit

Permalink
ProvisionedDevices is not present for wildcard profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreffs authored and stackotter committed Mar 1, 2025
1 parent e14e7cd commit 5bd25e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extension ProvisioningProfile: Decodable {
self.init(
teamIdentifierArray: try container.decode([String].self, forKey: .teamIdentifierArray),
expirationDate: try container.decode(Date.self, forKey: .expirationDate),
provisionedDevices: try container.decode([String].self, forKey: .provisionedDevices),
provisionedDevices: try container.decodeIfPresent([String].self, forKey: .provisionedDevices) ?? [],
platforms: try container.decode([String].self, forKey: .platforms),
appId: try container.decode(String.self, forKey: .appId),
entitlements: try container.decode(Entitlements.self, forKey: .entitlements),
Expand Down

0 comments on commit 5bd25e0

Please sign in to comment.