forked from firka/flutter
Set BUILD_DIR when determining if plugins support arm64 simulators (#90088)
This commit is contained in:
@@ -695,6 +695,7 @@ Information about project "Runner":
|
||||
final Directory podXcodeProject = project.ios.hostAppRoot.childDirectory('Pods').childDirectory('Pods.xcodeproj')
|
||||
..createSync(recursive: true);
|
||||
|
||||
final String buildDirectory = fileSystem.path.absolute('build', 'ios');
|
||||
fakeProcessManager.addCommands(<FakeCommand>[
|
||||
kWhichSysctlCommand,
|
||||
kARMCheckCommand,
|
||||
@@ -710,6 +711,8 @@ Information about project "Runner":
|
||||
'-project',
|
||||
podXcodeProject.path,
|
||||
'-showBuildSettings',
|
||||
'BUILD_DIR=$buildDirectory',
|
||||
'OBJROOT=$buildDirectory',
|
||||
],
|
||||
stdout: '''
|
||||
Build settings for action build and target plugin1:
|
||||
@@ -748,6 +751,7 @@ Build settings for action build and target plugin2:
|
||||
final Directory podXcodeProject = project.ios.hostAppRoot.childDirectory('Pods').childDirectory('Pods.xcodeproj')
|
||||
..createSync(recursive: true);
|
||||
|
||||
final String buildDirectory = fileSystem.path.absolute('build', 'ios');
|
||||
fakeProcessManager.addCommands(<FakeCommand>[
|
||||
kWhichSysctlCommand,
|
||||
kARMCheckCommand,
|
||||
@@ -763,6 +767,8 @@ Build settings for action build and target plugin2:
|
||||
'-project',
|
||||
podXcodeProject.path,
|
||||
'-showBuildSettings',
|
||||
'BUILD_DIR=$buildDirectory',
|
||||
'OBJROOT=$buildDirectory',
|
||||
],
|
||||
exitCode: 1,
|
||||
),
|
||||
@@ -789,6 +795,7 @@ Build settings for action build and target plugin2:
|
||||
final Directory podXcodeProject = project.ios.hostAppRoot.childDirectory('Pods').childDirectory('Pods.xcodeproj')
|
||||
..createSync(recursive: true);
|
||||
|
||||
final String buildDirectory = fileSystem.path.absolute('build', 'ios');
|
||||
fakeProcessManager.addCommands(<FakeCommand>[
|
||||
kWhichSysctlCommand,
|
||||
kARMCheckCommand,
|
||||
@@ -804,6 +811,8 @@ Build settings for action build and target plugin2:
|
||||
'-project',
|
||||
podXcodeProject.path,
|
||||
'-showBuildSettings',
|
||||
'BUILD_DIR=$buildDirectory',
|
||||
'OBJROOT=$buildDirectory',
|
||||
],
|
||||
stdout: '''
|
||||
Build settings for action build and target plugin1:
|
||||
|
||||
Reference in New Issue
Block a user