Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions codesigndoc/codesigngroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,11 @@ func collectExportCodeSignGroups(archive Archive, installedCertificates []certif
if len(certificateOptions) == 1 {
selectedCertificateOption = certificateOptions[0]

fmt.Printf("Codesign Indentity for %s ipa export: %s\n", selectedExportMethod, selectedCertificateOption)
fmt.Printf("Codesign Identity for %s ipa export: %s\n", selectedExportMethod, selectedCertificateOption)
} else {
sort.Strings(certificateOptions)

question := fmt.Sprintf("Select the Codesign Indentity for %s ipa export", selectedExportMethod)
question := fmt.Sprintf("Select the Codesign Identity for %s ipa export", selectedExportMethod)
selectedCertificateOption, err = goinp.SelectFromStringsWithDefault(question, 1, certificateOptions)
if err != nil {
return nil, fmt.Errorf("failed to read input: %s", err)
Expand All @@ -347,7 +347,7 @@ func collectExportCodeSignGroups(archive Archive, installedCertificates []certif
}
}
if selectedCertificate == nil {
return nil, errors.New("failed to find selected Codesign Indentity")
return nil, errors.New("failed to find selected Codesign Identity")
}

// Select Profiles
Expand Down
6 changes: 3 additions & 3 deletions codesigndocuitests/codesigngroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ func collectExportCodeSignGroups(testRunner IOSTestRunner, installedCertificates
if len(certificateOptions) == 1 {
selectedCertificateOption = certificateOptions[0]

fmt.Printf("Codesign Indentity for %s signing: %s\n", selectedCodeSignMethod, selectedCertificateOption)
fmt.Printf("Codesign Identity for %s signing: %s\n", selectedCodeSignMethod, selectedCertificateOption)
} else {
sort.Strings(certificateOptions)

question := fmt.Sprintf("Select the Codesign Indentity for %s method", selectedCodeSignMethod)
question := fmt.Sprintf("Select the Codesign Identity for %s method", selectedCodeSignMethod)
selectedCertificateOption, err = goinp.SelectFromStringsWithDefault(question, 1, certificateOptions)
if err != nil {
return nil, fmt.Errorf("failed to read input: %s", err)
Expand All @@ -262,7 +262,7 @@ func collectExportCodeSignGroups(testRunner IOSTestRunner, installedCertificates
}
}
if selectedCertificate == nil {
return nil, errors.New("failed to find selected Codesign Indentity")
return nil, errors.New("failed to find selected Codesign Identity")
}

// Select Profiles
Expand Down