Skip to content

Commit

Permalink
fix: xctest bundleId
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Aug 17, 2022
1 parent c790fab commit de7c30a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/run/xctest.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ var xctestCmd = &cobra.Command{
return util.NewErrorPrint(util.ErrSendCommand, "app list", errList)
}
var hasApp = false
re, _ := regexp.Compile(strings.ReplaceAll(wdaBundleID, "*", "/*"))
re, _ := regexp.Compile(strings.ReplaceAll(xcTestBundleID, "*", "/*"))
for _, d := range appList {
a := entity.Application{}
mapstructure.Decode(d, &a)
if re.MatchString(a.CFBundleIdentifier) {
wdaBundleID = a.CFBundleIdentifier
xcTestBundleID = a.CFBundleIdentifier
hasApp = true
break
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var versionCmd = &cobra.Command{
Short: "Version code of sib",
Long: "Version code of sib",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("1.1.7")
fmt.Println("1.1.8")
},
}

Expand Down

0 comments on commit de7c30a

Please sign in to comment.