Skip to content

Commit

Permalink
cmd/gomobile: fix error message to reflect current build target
Browse files Browse the repository at this point in the history
Change-Id: I94b7d1c7029102c252a77f75929066281040b9f2
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/564856
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Emmanuel Odeke <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
Auto-Submit: Hyang-Ah Hana Kim <[email protected]>
  • Loading branch information
sbruens authored and gopherbot committed Apr 1, 2024
1 parent 365c353 commit 755f4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gomobile/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func runBuildImpl(cmd *command) (*packages.Package, error) {
return pkg, nil
}
if buildBundleID == "" {
return nil, fmt.Errorf("-target=ios requires -bundleid set")
return nil, fmt.Errorf("-target=%s requires -bundleid set", buildTarget)
}
nmpkgs, err = goAppleBuild(pkg, buildBundleID, targets)
if err != nil {
Expand Down

0 comments on commit 755f4ef

Please sign in to comment.