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
47a5b18e
Unverified
Commit
47a5b18e
authored
Mar 08, 2022
by
Jenn Magder
Committed by
GitHub
Mar 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle hidden dot files in iOS framework bundles (#99771)
parent
bb1b2fd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
module_test_ios.dart
dev/devicelab/bin/tasks/module_test_ios.dart
+20
-0
podhelper.rb
packages/flutter_tools/bin/podhelper.rb
+1
-0
No files found.
dev/devicelab/bin/tasks/module_test_ios.dart
View file @
47a5b18e
...
...
@@ -79,6 +79,26 @@ Future<void> main() async {
);
}
section
(
'Build ephemeral host app when SDK is on external disk'
);
// Pretend the SDK was on an external drive with stray "._" files in the xcframework
// and build again.
Directory
(
path
.
join
(
projectDir
.
path
,
'.ios'
,
'Flutter'
,
'engine'
,
'Flutter.xcframework'
,
'._ios-arm64_x86_64-simulator'
,
)).
createSync
(
recursive:
true
);
await
inDirectory
(
projectDir
,
()
async
{
await
flutter
(
'build'
,
options:
<
String
>[
'ios'
,
'--no-codesign'
,
'--simulator'
,
'--debug'
],
);
});
section
(
'Clean build'
);
await
inDirectory
(
projectDir
,
()
async
{
...
...
packages/flutter_tools/bin/podhelper.rb
View file @
47a5b18e
...
...
@@ -60,6 +60,7 @@ def flutter_additional_ios_build_settings(target)
# Profile can't be derived from the CocoaPods build configuration. Use release framework (for linking only).
configuration_engine_dir
=
build_configuration
.
type
==
:debug
?
debug_framework_dir
:
release_framework_dir
Dir
.
new
(
configuration_engine_dir
).
each_child
do
|
xcframework_file
|
continue
if
xcframework_file
.
start_with?
(
"."
)
# Hidden file, possibly on external disk.
if
xcframework_file
.
end_with?
(
"-simulator"
)
# ios-arm64_x86_64-simulator
build_configuration
.
build_settings
[
'FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]'
]
=
"
\"
#{
configuration_engine_dir
}
/
#{
xcframework_file
}
\"
$(inherited)"
elsif
xcframework_file
.
start_with?
(
"ios-"
)
# ios-armv7_arm64
...
...
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