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
1ba43364
Unverified
Commit
1ba43364
authored
Apr 12, 2018
by
Mikkel Nygaard Ravn
Committed by
GitHub
Apr 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require Cocoapods 1.5.0 (#16443)
parent
da9e1a4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
cocoapods.dart
packages/flutter_tools/lib/src/ios/cocoapods.dart
+2
-0
Podfile-swift
packages/flutter_tools/templates/cocoapods/Podfile-swift
+0
-9
No files found.
packages/flutter_tools/lib/src/ios/cocoapods.dart
View file @
1ba43364
...
...
@@ -38,6 +38,8 @@ class CocoaPods {
Future
<
bool
>
get
hasCocoaPods
=>
exitsHappyAsync
(<
String
>[
'pod'
,
'--version'
]);
// TODO(mravn): Insist on 1.5.0 once build bots have that installed.
// Earlier versions do not work with Swift and static libraries.
String
get
cocoaPodsMinimumVersion
=>
'1.0.0'
;
Future
<
String
>
get
cocoaPodsVersionText
async
=>
(
await
runAsync
(<
String
>[
'pod'
,
'--version'
])).
processResult
.
stdout
.
trim
();
...
...
packages/flutter_tools/templates/cocoapods/Podfile-swift
View file @
1ba43364
...
...
@@ -56,19 +56,10 @@ target 'Runner' do
}
end
pre_install do |installer|
# workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
# workaround for https://github.com/CocoaPods/CocoaPods/issues/7463
target.headers_build_phase.files.each do |file|
file.settings = { 'ATTRIBUTES' => ['Public'] }
end
end
end
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