Skip to content

Commit 42ad8db

Browse files
authored
fix: get scheme from args if available (#488)
* fix: get scheme from args if available * changeset
1 parent e438f23 commit 42ad8db

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/eleven-buckets-joke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@rnef/platform-apple-helpers': patch
3+
---
4+
5+
fix: get scheme from args if available

packages/platform-apple-helpers/src/lib/commands/build/createBuild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const createBuild = async ({
4545

4646
let xcodeProject: XcodeProjectInfo;
4747
let sourceDir: string;
48-
let scheme: string | undefined;
48+
let scheme = args.scheme;
4949
const deviceOrSimulator = args.destination
5050
? // there can be multiple destinations, so we'll pick the first one
5151
args.destination[0].match(/simulator/i)

0 commit comments

Comments
 (0)