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
6891928a
Unverified
Commit
6891928a
authored
Jan 06, 2021
by
Jenn Magder
Committed by
GitHub
Jan 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optionally include CocoaPods xcconfig (#73112)
parent
28db5a0f
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
27 additions
and
27 deletions
+27
-27
Debug.xcconfig
dev/benchmarks/macrobenchmarks/ios/Flutter/Debug.xcconfig
+1
-1
Release.xcconfig
dev/benchmarks/macrobenchmarks/ios/Flutter/Release.xcconfig
+1
-1
Flutter-Debug.xcconfig
...arks/macrobenchmarks/macos/Flutter/Flutter-Debug.xcconfig
+1
-1
Flutter-Release.xcconfig
...ks/macrobenchmarks/macos/Flutter/Flutter-Release.xcconfig
+1
-1
Debug.xcconfig
...flutter_driver_screenshot_test/ios/Flutter/Debug.xcconfig
+1
-1
Release.xcconfig
...utter_driver_screenshot_test/ios/Flutter/Release.xcconfig
+1
-1
Debug.xcconfig
...egration_tests/flutter_gallery/ios/Flutter/Debug.xcconfig
+1
-1
Release.xcconfig
...ration_tests/flutter_gallery/ios/Flutter/Release.xcconfig
+1
-1
Flutter-Debug.xcconfig
...ests/flutter_gallery/macos/Flutter/Flutter-Debug.xcconfig
+1
-1
Flutter-Release.xcconfig
...ts/flutter_gallery/macos/Flutter/Flutter-Release.xcconfig
+1
-1
Debug.xcconfig
..._tests/ios_app_with_extensions/ios/Flutter/Debug.xcconfig
+1
-1
Release.xcconfig
...ests/ios_app_with_extensions/ios/Flutter/Release.xcconfig
+1
-1
Debug.xcconfig
...ation_tests/release_smoke_test/ios/Flutter/Debug.xcconfig
+1
-1
Release.xcconfig
...ion_tests/release_smoke_test/ios/Flutter/Release.xcconfig
+1
-1
cocoapods.dart
packages/flutter_tools/lib/src/macos/cocoapods.dart
+1
-1
Debug.xcconfig
...s/host_app_ephemeral_cocoapods/Config.tmpl/Debug.xcconfig
+1
-1
Release.xcconfig
...host_app_ephemeral_cocoapods/Config.tmpl/Release.xcconfig
+1
-1
packages_test.dart
...er_tools/test/commands.shard/permeable/packages_test.dart
+4
-4
cocoapods_test.dart
...lutter_tools/test/general.shard/macos/cocoapods_test.dart
+4
-4
Debug.xcconfig
packages/integration_test/example/ios/Flutter/Debug.xcconfig
+1
-1
Release.xcconfig
...ges/integration_test/example/ios/Flutter/Release.xcconfig
+1
-1
No files found.
dev/benchmarks/macrobenchmarks/ios/Flutter/Debug.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
dev/benchmarks/macrobenchmarks/ios/Flutter/Release.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
dev/benchmarks/macrobenchmarks/macos/Flutter/Flutter-Debug.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
dev/benchmarks/macrobenchmarks/macos/Flutter/Flutter-Release.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
dev/integration_tests/flutter_driver_screenshot_test/ios/Flutter/Debug.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
dev/integration_tests/flutter_driver_screenshot_test/ios/Flutter/Release.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
dev/integration_tests/flutter_gallery/ios/Flutter/Debug.xcconfig
View file @
6891928a
#include "Generated.xcconfig"
#include "Generated.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
dev/integration_tests/flutter_gallery/ios/Flutter/Release.xcconfig
View file @
6891928a
#include "Generated.xcconfig"
#include "Generated.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
dev/integration_tests/flutter_gallery/macos/Flutter/Flutter-Debug.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
dev/integration_tests/flutter_gallery/macos/Flutter/Flutter-Release.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"
dev/integration_tests/ios_app_with_extensions/ios/Flutter/Debug.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
dev/integration_tests/ios_app_with_extensions/ios/Flutter/Release.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
dev/integration_tests/release_smoke_test/ios/Flutter/Debug.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
dev/integration_tests/release_smoke_test/ios/Flutter/Release.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
packages/flutter_tools/lib/src/macos/cocoapods.dart
View file @
6891928a
...
@@ -272,7 +272,7 @@ class CocoaPods {
...
@@ -272,7 +272,7 @@ class CocoaPods {
final
File
file
=
xcodeProject
.
xcodeConfigFor
(
mode
);
final
File
file
=
xcodeProject
.
xcodeConfigFor
(
mode
);
if
(
file
.
existsSync
())
{
if
(
file
.
existsSync
())
{
final
String
content
=
file
.
readAsStringSync
();
final
String
content
=
file
.
readAsStringSync
();
final
String
include
=
'#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.
${mode
final
String
include
=
'#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.
${mode
.toLowerCase()}
.xcconfig"'
;
.toLowerCase()}
.xcconfig"'
;
if
(!
content
.
contains
(
include
))
{
if
(!
content
.
contains
(
include
))
{
file
.
writeAsStringSync
(
'
$include
\n
$content
'
,
flush:
true
);
file
.
writeAsStringSync
(
'
$include
\n
$content
'
,
flush:
true
);
...
...
packages/flutter_tools/templates/module/ios/host_app_ephemeral_cocoapods/Config.tmpl/Debug.xcconfig
View file @
6891928a
#include "Flutter.xcconfig"
#include "Flutter.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
packages/flutter_tools/templates/module/ios/host_app_ephemeral_cocoapods/Config.tmpl/Release.xcconfig
View file @
6891928a
#include "Flutter.xcconfig"
#include "Flutter.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
packages/flutter_tools/test/commands.shard/permeable/packages_test.dart
View file @
6891928a
...
@@ -124,13 +124,13 @@ void main() {
...
@@ -124,13 +124,13 @@ void main() {
];
];
const
Map
<
String
,
String
>
pluginContentWitnesses
=
<
String
,
String
>{
const
Map
<
String
,
String
>
pluginContentWitnesses
=
<
String
,
String
>{
'ios/Flutter/Debug.xcconfig'
:
'#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"'
,
'ios/Flutter/Debug.xcconfig'
:
'#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"'
,
'ios/Flutter/Release.xcconfig'
:
'#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"'
,
'ios/Flutter/Release.xcconfig'
:
'#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"'
,
};
};
const
Map
<
String
,
String
>
modulePluginContentWitnesses
=
<
String
,
String
>{
const
Map
<
String
,
String
>
modulePluginContentWitnesses
=
<
String
,
String
>{
'.ios/Config/Debug.xcconfig'
:
'#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"'
,
'.ios/Config/Debug.xcconfig'
:
'#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"'
,
'.ios/Config/Release.xcconfig'
:
'#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"'
,
'.ios/Config/Release.xcconfig'
:
'#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"'
,
};
};
void
expectDependenciesResolved
(
String
projectPath
)
{
void
expectDependenciesResolved
(
String
projectPath
)
{
...
...
packages/flutter_tools/test/general.shard/macos/cocoapods_test.dart
View file @
6891928a
...
@@ -273,11 +273,11 @@ void main() {
...
@@ -273,11 +273,11 @@ void main() {
final
String
debugContents
=
projectUnderTest
.
ios
.
xcodeConfigFor
(
'Debug'
).
readAsStringSync
();
final
String
debugContents
=
projectUnderTest
.
ios
.
xcodeConfigFor
(
'Debug'
).
readAsStringSync
();
expect
(
debugContents
,
contains
(
expect
(
debugContents
,
contains
(
'#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
\n
'
));
'#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
\n
'
));
expect
(
debugContents
,
contains
(
'Existing debug config'
));
expect
(
debugContents
,
contains
(
'Existing debug config'
));
final
String
releaseContents
=
projectUnderTest
.
ios
.
xcodeConfigFor
(
'Release'
).
readAsStringSync
();
final
String
releaseContents
=
projectUnderTest
.
ios
.
xcodeConfigFor
(
'Release'
).
readAsStringSync
();
expect
(
releaseContents
,
contains
(
expect
(
releaseContents
,
contains
(
'#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
\n
'
));
'#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
\n
'
));
expect
(
releaseContents
,
contains
(
'Existing release config'
));
expect
(
releaseContents
,
contains
(
'Existing release config'
));
},
overrides:
<
Type
,
Generator
>{
},
overrides:
<
Type
,
Generator
>{
FileSystem:
()
=>
fileSystem
,
FileSystem:
()
=>
fileSystem
,
...
@@ -305,11 +305,11 @@ void main() {
...
@@ -305,11 +305,11 @@ void main() {
final
String
debugContents
=
projectUnderTest
.
ios
.
xcodeConfigFor
(
'Debug'
).
readAsStringSync
();
final
String
debugContents
=
projectUnderTest
.
ios
.
xcodeConfigFor
(
'Debug'
).
readAsStringSync
();
expect
(
debugContents
,
contains
(
expect
(
debugContents
,
contains
(
'#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
\n
'
));
'#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
\n
'
));
expect
(
debugContents
,
contains
(
'Existing debug config'
));
expect
(
debugContents
,
contains
(
'Existing debug config'
));
final
String
releaseContents
=
projectUnderTest
.
ios
.
xcodeConfigFor
(
'Release'
).
readAsStringSync
();
final
String
releaseContents
=
projectUnderTest
.
ios
.
xcodeConfigFor
(
'Release'
).
readAsStringSync
();
expect
(
releaseContents
,
contains
(
expect
(
releaseContents
,
contains
(
'#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
\n
'
));
'#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
\n
'
));
expect
(
releaseContents
,
contains
(
'Existing release config'
));
expect
(
releaseContents
,
contains
(
'Existing release config'
));
},
overrides:
<
Type
,
Generator
>{
},
overrides:
<
Type
,
Generator
>{
FileSystem:
()
=>
fileSystem
,
FileSystem:
()
=>
fileSystem
,
...
...
packages/integration_test/example/ios/Flutter/Debug.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
packages/integration_test/example/ios/Flutter/Release.xcconfig
View file @
6891928a
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include
?
"Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
#include "Generated.xcconfig"
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