Skip to content

Commit 81af12a

Browse files
authored
fix(cli): point build to proper workspace name (#6373)
1 parent e50f17a commit 81af12a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/ios/build.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { writeFileSync, unlinkSync } from '@ionic/utils-fs';
2-
import { join } from 'path';
2+
import { basename, join } from 'path';
33
import rimraf from 'rimraf';
44

55
import { runTask } from '../common';
@@ -19,7 +19,7 @@ export async function buildiOS(
1919
'xcodebuild',
2020
[
2121
'-workspace',
22-
`${theScheme}.xcworkspace`,
22+
basename(await config.ios.nativeXcodeWorkspaceDirAbs),
2323
'-scheme',
2424
`${theScheme}`,
2525
'-destination',

0 commit comments

Comments
 (0)