Skip to content

Commit 755f4ef

Browse files
sbruensgopherbot
authored andcommitted
cmd/gomobile: fix error message to reflect current build target
Change-Id: I94b7d1c7029102c252a77f75929066281040b9f2 Reviewed-on: https://go-review.googlesource.com/c/mobile/+/564856 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
1 parent 365c353 commit 755f4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gomobile/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func runBuildImpl(cmd *command) (*packages.Package, error) {
160160
return pkg, nil
161161
}
162162
if buildBundleID == "" {
163-
return nil, fmt.Errorf("-target=ios requires -bundleid set")
163+
return nil, fmt.Errorf("-target=%s requires -bundleid set", buildTarget)
164164
}
165165
nmpkgs, err = goAppleBuild(pkg, buildBundleID, targets)
166166
if err != nil {

0 commit comments

Comments
 (0)