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
7504ac9a
Commit
7504ac9a
authored
Jan 04, 2018
by
Ali Bitek
Committed by
xster
Jan 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix macOS build for Flutter plugins (#13814)
parent
50a5e983
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Podfile-objc
packages/flutter_tools/templates/cocoapods/Podfile-objc
+2
-1
Podfile-swift
packages/flutter_tools/templates/cocoapods/Podfile-swift
+2
-0
No files found.
packages/flutter_tools/templates/cocoapods/Podfile-objc
View file @
7504ac9a
...
...
@@ -7,7 +7,9 @@ def parse_KV_file(file,seperator='=')
return [];
end
pods_ary = []
skip_line_start_symbols = ["#", "/"]
File.foreach(file_abs_path) { |line|
next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
plugin = line.split(pattern=seperator)
if plugin.length == 2
podname = plugin[0].strip()
...
...
@@ -22,7 +24,6 @@ def parse_KV_file(file,seperator='=')
end
target 'Runner' do
use_frameworks!
# Flutter Pods
generated_xcode_build_settings = parse_KV_file("./Flutter/Generated.xcconfig")
if generated_xcode_build_settings.empty?
...
...
packages/flutter_tools/templates/cocoapods/Podfile-swift
View file @
7504ac9a
...
...
@@ -7,7 +7,9 @@ def parse_KV_file(file,seperator='=')
return [];
end
pods_ary = []
skip_line_start_symbols = ["#", "/"]
File.foreach(file_abs_path) { |line|
next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
plugin = line.split(pattern=seperator)
if plugin.length == 2
podname = plugin[0].strip()
...
...
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