We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ed55b1 commit 4405db6Copy full SHA for 4405db6
Sources/AppStoreConnectCLI/Services/AppStoreConnectService.swift
@@ -683,6 +683,24 @@ class AppStoreConnectService {
683
.map(Device.init)
684
}
685
686
+ func enableBundleIdCapability(
687
+ bundleId: String,
688
+ capabilityType: CapabilityType
689
+ ) throws {
690
+ let bundleIdResourceId = try ReadBundleIdOperation(
691
+ options: .init(bundleId: bundleId)
692
+ )
693
+ .execute(with: requestor)
694
+ .await()
695
+ .id
696
+
697
+ _ = try EnableBundleIdCapabilityOperation(
698
+ options: .init(bundleIdResourceId: bundleIdResourceId, capabilityType: capabilityType)
699
700
701
702
+ }
703
704
/// Make a request for something `Decodable`.
705
///
706
/// - Parameters:
0 commit comments