Skip to content

Commit 3125a9e

Browse files
authored
Trying to fix the livesync on iOS device (#2692)
1 parent e5b319e commit 3125a9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/services/ios-project-service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,9 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
179179
return (() => {
180180
let projectRoot = this.platformData.projectRoot;
181181
let archivePath = options && options.archivePath ? path.resolve(options.archivePath) : path.join(projectRoot, "/build/archive/", this.$projectData.projectName + ".xcarchive");
182-
let args = ["archive", "-archivePath", archivePath]
182+
let args = ["archive", "-archivePath", archivePath, "-configuration", this.$options.release ? "Release" : "Debug"]
183183
.concat(this.xcbuildProjectArgs(projectRoot, "scheme"));
184+
184185
this.$childProcess.spawnFromEvent("xcodebuild", args, "exit", { cwd: this.$options, stdio: 'inherit' }).wait();
185186
return archivePath;
186187
}).future<string>()();

0 commit comments

Comments
 (0)