From 25a814d5610def59c19409b32f0eaed8fcb2c2ab Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 27 Mar 2024 12:30:08 +0900 Subject: [PATCH] cmd/ebitenmobile: bug fix: wrong path was used Updates #2937 --- cmd/ebitenmobile/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ebitenmobile/main.go b/cmd/ebitenmobile/main.go index 697c1a44b..61facba9f 100644 --- a/cmd/ebitenmobile/main.go +++ b/cmd/ebitenmobile/main.go @@ -251,7 +251,7 @@ func doBind(args []string, flagset *flag.FlagSet, buildOS string) error { // TODO: strings.Title is used here for the consistency with gomobile (see cmd/gomobile/bind_iosapp.go). // As strings.Title is deprecated, golang.org/x/text/cases should be used. frameworkNameBase = strings.Title(frameworkNameBase) - dir := filepath.Join(buildO, name, frameworkNameBase+".framework", "Versions", "A") + dir := filepath.Join(buildO, name, frameworkNameBase+".framework") if err := os.WriteFile(filepath.Join(dir, "Headers", prefixUpper+"EbitenViewController.h"), []byte(replacePrefixes(objcH)), 0644); err != nil { return err