Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
7a8bbbd8
Unverified
Commit
7a8bbbd8
authored
Feb 04, 2021
by
Jenn Magder
Committed by
GitHub
Feb 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install prebuilt iOS app only once (#75387)
parent
7aa17231
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
devices.dart
packages/flutter_tools/lib/src/ios/devices.dart
+0
-4
ios_device_start_prebuilt_test.dart
...est/general.shard/ios/ios_device_start_prebuilt_test.dart
+0
-19
No files found.
packages/flutter_tools/lib/src/ios/devices.dart
View file @
7a8bbbd8
...
...
@@ -332,10 +332,6 @@ class IOSDevice extends Device {
return
LaunchResult
.
failed
();
}
packageId
=
buildResult
.
xcodeBuildExecution
?.
buildSettings
[
'PRODUCT_BUNDLE_IDENTIFIER'
];
}
else
{
if
(!
await
installApp
(
package
))
{
return
LaunchResult
.
failed
();
}
}
packageId
??=
package
.
id
;
...
...
packages/flutter_tools/test/general.shard/ios/ios_device_start_prebuilt_test.dart
View file @
7a8bbbd8
...
...
@@ -27,21 +27,6 @@ import '../../src/common.dart';
import
'../../src/context.dart'
;
import
'../../src/fakes.dart'
;
const
FakeCommand
kDeployCommand
=
FakeCommand
(
command:
<
String
>[
'Artifact.iosDeploy.TargetPlatform.ios'
,
'--id'
,
'123'
,
'--bundle'
,
'/'
,
'--no-wifi'
,
],
environment:
<
String
,
String
>{
'PATH'
:
'/usr/bin:null'
,
'DYLD_LIBRARY_PATH'
:
'/path/to/libraries'
,
}
);
// The command used to actually launch the app with args in release/profile.
const
FakeCommand
kLaunchReleaseCommand
=
FakeCommand
(
command:
<
String
>[
...
...
@@ -123,7 +108,6 @@ void main() {
testWithoutContext
(
'IOSDevice.startApp attaches in debug mode via log reading on iOS 13+'
,
()
async
{
final
FileSystem
fileSystem
=
MemoryFileSystem
.
test
();
final
FakeProcessManager
processManager
=
FakeProcessManager
.
list
(<
FakeCommand
>[
kDeployCommand
,
kAttachDebuggerCommand
,
]);
final
IOSDevice
device
=
setUpIOSDevice
(
...
...
@@ -160,7 +144,6 @@ void main() {
testWithoutContext
(
'IOSDevice.startApp launches in debug mode via log reading on <iOS 13'
,
()
async
{
final
FileSystem
fileSystem
=
MemoryFileSystem
.
test
();
final
FakeProcessManager
processManager
=
FakeProcessManager
.
list
(<
FakeCommand
>[
kDeployCommand
,
kLaunchDebugCommand
,
]);
final
IOSDevice
device
=
setUpIOSDevice
(
...
...
@@ -198,7 +181,6 @@ void main() {
testWithoutContext
(
'IOSDevice.startApp succeeds in release mode'
,
()
async
{
final
FileSystem
fileSystem
=
MemoryFileSystem
.
test
();
final
FakeProcessManager
processManager
=
FakeProcessManager
.
list
(<
FakeCommand
>[
kDeployCommand
,
kLaunchReleaseCommand
,
]);
final
IOSDevice
device
=
setUpIOSDevice
(
...
...
@@ -226,7 +208,6 @@ void main() {
testWithoutContext
(
'IOSDevice.startApp forwards all supported debugging options'
,
()
async
{
final
FileSystem
fileSystem
=
MemoryFileSystem
.
test
();
final
FakeProcessManager
processManager
=
FakeProcessManager
.
list
(<
FakeCommand
>[
kDeployCommand
,
FakeCommand
(
command:
<
String
>[
'script'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment