Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit d654a5d

Browse files
authored
Add missing brace
1 parent 3adaf23 commit d654a5d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Sources/prostore/install/GenerateCert.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,3 +358,4 @@ public final class GenerateCert {
358358
throw CertGenError.writeFailed("i2d_PKCS12_bio failed for \(path)")
359359
}
360360
}
361+
}

Sources/prostore/install/installApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ public func installApp(from ipaURL: URL) throws {
412412
if status == errSecSuccess,
413413
let arr = items as? [[String: Any]],
414414
let first = arr.first,
415-
let identityRef = first[kSecImportItemIdentity as String] as? SecIdentity
415+
let identityRef = first[kSecImportItemIdentity as String] as! SecIdentity
416416
{
417417
// convert to sec_identity_t for sec_protocol_options_set_local_identity()
418418
// sec_identity_create is available on modern Apple SDKs — returns sec_identity_t?

0 commit comments

Comments
 (0)