-
Notifications
You must be signed in to change notification settings - Fork 37
Mac os fix #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac os fix #83
Conversation
…cOS_Fix # Conflicts: # codesigndoc/codesigngroup.go
| profilesMap := map[string]profileutil.ProvisioningProfileInfoModel{} | ||
| for _, group := range codeSignGroups { | ||
| certificate := group.Certificate | ||
| certificate := group.Certificate() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not forget about the mac installer certificates
codesigndoc/codesigndoc.go
Outdated
| profilesToExport := []profileutil.ProvisioningProfileInfoModel{} | ||
|
|
||
| if certificatesOnly { | ||
| ipaExportCertificate, err := collectIpaExportCertificate(certificate, installedCertificates) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
collectIpaExportCertificate -> collectExportCertificate or similar (since it is may a macos export)
codesigndoc/codesigndoc.go
Outdated
| profilesToExport := []profileutil.ProvisioningProfileInfoModel{} | ||
|
|
||
| if certificatesOnly { | ||
| ipaExportCertificate, err := collectIpaExportCertificate(certificate, installedCertificates) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also make sure that collectIpaExportCertificate has the export methods updated regarding to the macos export
codesigndoc/codesigngroup.go
Outdated
| exportMethods := []string{"development", "app-store"} | ||
|
|
||
| if isMacArchive { | ||
| exportMethods = append(exportMethods, "developer-id", "installer") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
installer export method?
codesigndoc/codesigngroup.go
Outdated
| // collectIpaExportCodeSignGroups returns the codesigngroups required to export an ipa with the selected export methods | ||
| func collectIpaExportCodeSignGroups(archive xcarchive.IosArchive, installedCertificates []certificateutil.CertificateInfoModel, installedProfiles []profileutil.ProvisioningProfileInfoModel) ([]export.IosCodeSignGroup, error) { | ||
| iosCodeSignGroups := []export.IosCodeSignGroup{} | ||
| func collectIpaExportCodeSignGroups(archive Archive, installedCertificates []certificateutil.CertificateInfoModel, installedProfiles []profileutil.ProvisioningProfileInfoModel) ([]export.CodeSignGroup, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls serahc for ipa and remove everywhere we do not need it.
cmd/scan.go
Outdated
| First of all ` + colorstring.Red("please make sure that you can Archive your app from "+e.tool+".") + ` | ||
| codesigndoc only works if you can archive your app from ` + string(e.tool) + `. | ||
| If you can, and you get a valid IPA file if you export from ` + string(e.tool) + `, | ||
| If you can, and you get a valid IPA/.app file if you export from ` + string(e.tool) + `, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either .ipa or IPA + .app or APP
codesigndoc/codesigngroup.go
Outdated
| selectedTeam := "" | ||
| var certsForSelectedExport []certificateutil.CertificateInfoModel | ||
| log.Debugf("InstalledCerts: %v\n", installedCertificates) | ||
| selectedCertificates, err = filterSertificates(selectedExportMethod, "", selectedCertificates, archiveCertificate, installedCertificates, installedInstallerCertificates) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type: filter_S_ertificates
No description provided.