Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1042ac9
update osxkeychain to work with go 1.11 version.
BirmacherAkos Jan 11, 2019
0c582a6
feat: init xcodeUITestsCmd
BirmacherAkos Jan 14, 2019
6d421f2
filterScheme by BuildFortesting == YES
BirmacherAkos Jan 14, 2019
0087e74
-
BirmacherAkos Jan 14, 2019
fe2c392
filter schemes: If the scheme has a UITest target then we will list it
BirmacherAkos Jan 15, 2019
f0f8707
add xcodeuitestcmd.go
BirmacherAkos Jan 15, 2019
97e5b53
Merge branch 'master' into UITarget
BirmacherAkos Jan 15, 2019
0a97e9a
dep: add xcode-project to the dependency list.
BirmacherAkos Jan 15, 2019
8c70393
init codesigndocUITests.go temporarily.
BirmacherAkos Jan 16, 2019
4b3e0ac
Certs only
BirmacherAkos Jan 16, 2019
11b7e2f
get profile for UITestTarget
BirmacherAkos Jan 17, 2019
e6f00a6
clean
BirmacherAkos Jan 18, 2019
1aebe1f
-
BirmacherAkos Jan 18, 2019
fb928fd
clean
BirmacherAkos Jan 18, 2019
3f2ff96
add BuildForTestingError; If the scheme has multiple UITest target ru…
BirmacherAkos Jan 21, 2019
43bc59a
remove LogPretty() and clean
BirmacherAkos Jan 21, 2019
c3a1dc3
add CreateXcodeManagedSelectableCodeSignGroupFilter
BirmacherAkos Jan 21, 2019
38a18ab
CI fix
BirmacherAkos Jan 21, 2019
322fa55
dep: update go-xcode dependency
BirmacherAkos Jan 21, 2019
1c5517a
fix some log
BirmacherAkos Jan 21, 2019
2080485
dep: update go-xcode and xcode-project dependendcies
BirmacherAkos Jan 24, 2019
0863f4a
dep: re-init dep: add prune option and remove the unused dependencies
BirmacherAkos Jan 24, 2019
82f68aa
PR clean - fix
BirmacherAkos Jan 24, 2019
0191085
fix some log / comment
BirmacherAkos Jan 24, 2019
441ca8c
PR clean - fix
BirmacherAkos Jan 25, 2019
0ae0e55
ref: --certs-only flag moved from global flag to xcode and xamarin co…
BirmacherAkos Jan 25, 2019
e6db130
Revert "ref: --certs-only flag moved from global flag to xcode and xa…
BirmacherAkos Jan 25, 2019
8e85fd5
add some log for scheme scanning
BirmacherAkos Feb 4, 2019
6571171
dep: lock deps on master branch; dep update
BirmacherAkos Feb 8, 2019
6238bf3
PR: change filterCertificates method name to selectFilteredCertificat…
BirmacherAkos Feb 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
107 changes: 62 additions & 45 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 12 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@

[[constraint]]
name = "github.com/bitrise-io/go-utils"
branch = "master"
name = "github.com/bitrise-io/go-utils"

[[constraint]]
name = "github.com/bitrise-io/goinp"
branch = "master"
name = "github.com/bitrise-io/goinp"

[[constraint]]
name = "github.com/bitrise-tools/go-xamarin"
branch = "master"
name = "github.com/bitrise-tools/go-xamarin"

[[constraint]]
branch = "master"
name = "github.com/bitrise-tools/go-xcode"

[[constraint]]
branch = "master"
name = "github.com/bitrise-tools/xcode-project"

[[constraint]]
name = "github.com/pkg/errors"
Expand All @@ -25,3 +30,7 @@
[[constraint]]
name = "github.com/stretchr/testify"
branch = "master"

[prune]
go-tests = true
unused-packages = true
2 changes: 1 addition & 1 deletion bitriseio/bitrise/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (client *Client) GetUploadedProvisioningProfileUUIDby(profileSlug string) (
return "", err
}

data, err := profileutil.NewProvisioningProfileInfo(*plistData, profileutil.ProfileTypeIos)
data, err := profileutil.NewProvisioningProfileInfo(*plistData)
if err != nil {
return "", err
}
Expand Down
24 changes: 24 additions & 0 deletions cmd/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,30 @@ with as many details & logs as you can share!
` + colorstring.Redf("Error: %s", e.msg)
}

// BuildForTestingError ...
type BuildForTestingError struct {
tool Tool
msg string
}

// Error ...
func (e BuildForTestingError) Error() string {
return colorstring.Redf("Error: %s", e.msg) + `

------------------------------` + `
First of all, check the selected scheme in ` + string(e.tool) + `:
- Make sure, you have enabled at least one UITest target for test run in the selected scheme's build option.
- Make sure that the UITest target is added (and enabled) in the selected scheme's test option.

After this ` + colorstring.Red("please make sure that you can run build-for-testing for your app from "+e.tool+".") + `
codesigndoc only works if you can run build-for-testing for your app from ` + string(e.tool) + `.
For this run a ` + colorstring.Red("clean") + ` in your ` + string(e.tool) + `, after that, run a ` + colorstring.Red("build-for-testing") + ` for your app in ` + string(e.tool) + `.
If you can, and you get a valid *-Runner.app file, ` + colorstring.Red("please create an issue") + ` on GitHub at: https://github.com/bitrise-tools/codesigndoc/issues
with as many details & logs as you can share!
------------------------------
`
}

func printFinished(provProfilesUploaded bool, certsUploaded bool) {
fmt.Println()
log.Successf("That's all.")
Expand Down
Loading