Skip to content

Commit 3e8335e

Browse files
committed
gogio: fix darwin builds with custom schemes
Signed-off-by: inkeliz <[email protected]>
1 parent f1c443a commit 3e8335e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gogio/iosbuild.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ func buildInfoPlist(bi *buildInfo) (string, error) {
311311
AppName string
312312
AppID string
313313
Version string
314-
VersionCode uint32
314+
VersionCode uint32
315315
Platform string
316316
MinVersion int
317317
SupportPlatform string
@@ -320,7 +320,7 @@ func buildInfoPlist(bi *buildInfo) (string, error) {
320320
AppName: appName,
321321
AppID: bi.appID,
322322
Version: bi.version.String(),
323-
VersionCode: bi.version.VersionCode,
323+
VersionCode: bi.version.VersionCode,
324324
Platform: platform,
325325
MinVersion: minIOSVersion,
326326
SupportPlatform: supportPlatform,

gogio/macosbuild.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func (b *macBuilder) setInfo(buildInfo *buildInfo, name string) error {
129129
manifestSrc := struct {
130130
Name string
131131
Bundle string
132-
Version int
132+
Version Semver
133133
Schemes []string
134134
}{
135135
Name: name,

0 commit comments

Comments
 (0)