mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-01-06 22:51:09 +01:00
16 lines
769 B
Swift
16 lines
769 B
Swift
import Foundation
|
|
|
|
let machServiceName = "com.xcodesorg.xcodesapp.Helper"
|
|
let clientBundleID = "com.xcodesorg.xcodesapp"
|
|
let subjectOrganizationalUnit = Bundle.main.infoDictionary!["CODE_SIGNING_SUBJECT_ORGANIZATIONAL_UNIT"] as! String
|
|
|
|
@objc(HelperXPCProtocol)
|
|
protocol HelperXPCProtocol {
|
|
func getVersion(completion: @escaping (String) -> Void)
|
|
func xcodeSelect(absolutePath: String, completion: @escaping (Error?) -> Void)
|
|
func devToolsSecurityEnable(completion: @escaping (Error?) -> Void)
|
|
func addStaffToDevelopersGroup(completion: @escaping (Error?) -> Void)
|
|
func acceptXcodeLicense(absoluteXcodePath: String, completion: @escaping (Error?) -> Void)
|
|
func runFirstLaunch(absoluteXcodePath: String, completion: @escaping (Error?) -> Void)
|
|
}
|