Skip to content

Conversation

@BirmacherAkos
Copy link
Contributor

No description provided.

Squashed commits:
[2489af1] MacOS fix (+1 squashed commit)
Squashed commits:
[b1229e9]  -
…cOS_Fix

# Conflicts:
#	codesigndoc/codesigngroup.go
profilesMap := map[string]profileutil.ProvisioningProfileInfoModel{}
for _, group := range codeSignGroups {
certificate := group.Certificate
certificate := group.Certificate()
Copy link
Contributor

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

profilesToExport := []profileutil.ProvisioningProfileInfoModel{}

if certificatesOnly {
ipaExportCertificate, err := collectIpaExportCertificate(certificate, installedCertificates)
Copy link
Contributor

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)

profilesToExport := []profileutil.ProvisioningProfileInfoModel{}

if certificatesOnly {
ipaExportCertificate, err := collectIpaExportCertificate(certificate, installedCertificates)
Copy link
Contributor

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

exportMethods := []string{"development", "app-store"}

if isMacArchive {
exportMethods = append(exportMethods, "developer-id", "installer")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

installer export method?

// 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) {
Copy link
Contributor

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.

Squashed commits:
[caa3bab] removed some IPA
[3eeebc2] exportCerts: MacOS - The installer certificate export option only available after the app-store certificate export.
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) + `,
Copy link
Contributor

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

selectedTeam := ""
var certsForSelectedExport []certificateutil.CertificateInfoModel
log.Debugf("InstalledCerts: %v\n", installedCertificates)
selectedCertificates, err = filterSertificates(selectedExportMethod, "", selectedCertificates, archiveCertificate, installedCertificates, installedInstallerCertificates)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type: filter_S_ertificates

@godrei godrei merged commit 4fad9fd into master Jul 3, 2018
@godrei godrei deleted the MacOS_Fix branch July 3, 2018 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants