diff --git a/cmd/fyne/internal/commands/package-mobile.go b/cmd/fyne/internal/commands/package-mobile.go index b59c99cb..78702815 100644 --- a/cmd/fyne/internal/commands/package-mobile.go +++ b/cmd/fyne/internal/commands/package-mobile.go @@ -81,7 +81,7 @@ func (p *Packager) packageIOS(target string, tags []string) error { fmt.Println("Creating icons for", relPath(appDir)) } err = runCmdCaptureOutput("xcrun", "actool", "Images.xcassets", "--compile", appDir, "--platform", - "iphoneos", "--target-device", "iphone", "--minimum-deployment-target", "9.0", "--app-icon", "AppIcon", + "iphoneos", "--target-device", "iphone", "--minimum-deployment-target", "13.0", "--app-icon", "AppIcon", "--output-format", "human-readable-text", "--output-partial-info-plist", "/dev/null") if err != nil { return err @@ -148,7 +148,7 @@ func compileLaunchScreen(dir, appDir, background string) error { } return runCmdCaptureOutput("xcrun", "ibtool", "--compile", filepath.Join(appDir, "LaunchScreen.storyboardc"), - "--target-device", "iphone", "--minimum-deployment-target", "9.0", storyboard) + "--target-device", "iphone", "--minimum-deployment-target", "13.0", storyboard) } // parseHexColor converts a "#RRGGBB" colour into 0-1 components, defaulting to white. diff --git a/cmd/fyne/internal/mobile/build.go b/cmd/fyne/internal/mobile/build.go index 16444c9d..a6dae80c 100644 --- a/cmd/fyne/internal/mobile/build.go +++ b/cmd/fyne/internal/mobile/build.go @@ -288,7 +288,7 @@ func addBuildFlags(cmd *command) { cmd.Flag.StringVar(&buildLdflags, "ldflags", "", "") cmd.Flag.StringVar(&buildTarget, "os", "android", "") cmd.Flag.StringVar(&buildBundleID, "bundleid", "", "") - cmd.Flag.StringVar(&buildIOSVersion, "iosversion", "7.0", "") + cmd.Flag.StringVar(&buildIOSVersion, "iosversion", "13.0", "") cmd.Flag.IntVar(&buildAndroidAPI, "androidapi", minAndroidAPI, "") cmd.Flag.BoolVar(&buildA, "a", false, "") diff --git a/cmd/fyne/internal/mobile/build_iosapp.go b/cmd/fyne/internal/mobile/build_iosapp.go index d53be8ff..264cf984 100644 --- a/cmd/fyne/internal/mobile/build_iosapp.go +++ b/cmd/fyne/internal/mobile/build_iosapp.go @@ -546,7 +546,7 @@ var projPbxprojTmpl = template.Must(template.New("projPbxproj").Parse(`// !$*UTF GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = {{if .Debug}}YES{{else}}NO{{end}}; PRODUCT_BUNDLE_IDENTIFIER = {{.BundleID}}; PROVISIONING_PROFILE_SPECIFIER = "{{.Profile}}"; diff --git a/cmd/fyne/internal/templates/data/LaunchScreen.storyboard b/cmd/fyne/internal/templates/data/LaunchScreen.storyboard index 5f02ee1f..587cdea0 100644 --- a/cmd/fyne/internal/templates/data/LaunchScreen.storyboard +++ b/cmd/fyne/internal/templates/data/LaunchScreen.storyboard @@ -3,7 +3,7 @@ - +