Skip to content

Commit 0bf1922

Browse files
committed
test(app-ios): 同步 UASM 模拟器 slice 名称 #17204
1 parent 7d8bd17 commit 0bf1922

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

packages/uni-cli-shared/__tests__/uasm.spec.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ describe('uasm', () => {
613613
)
614614
const simulatorFile = path.resolve(
615615
xcframeworkDir,
616-
`ios-arm64-simulator/${frameworkName}.framework/${frameworkName}`
616+
`ios-arm64_x86_64-simulator/${frameworkName}.framework/${frameworkName}`
617617
)
618618
fs.outputFileSync(deviceFile, `${frameworkName}-device`)
619619
fs.outputFileSync(simulatorFile, `${frameworkName}-simulator`)
@@ -641,7 +641,12 @@ describe('uasm', () => {
641641

642642
test.each([
643643
['device', undefined, 'ios-arm64', 'zstd-device'],
644-
['simulator', 'ios_simulator', 'ios-arm64-simulator', 'zstd-simulator'],
644+
[
645+
'simulator',
646+
'ios_simulator',
647+
'ios-arm64_x86_64-simulator',
648+
'zstd-simulator',
649+
],
645650
])('copy the %s slice', (_, deviceType, libraryIdentifier, content) => {
646651
createFramework('zstd')
647652
if (deviceType) {

0 commit comments

Comments
 (0)