- Finished MediumWidget UI
- Started working on LargeWidget UI
Showing
... | @@ -72,10 +72,11 @@ target 'OneWeatherCore' do | ... | @@ -72,10 +72,11 @@ target 'OneWeatherCore' do |
end | end | ||
#UI | #UI | ||
target 'OneWeatherUI' do | #target 'OneWeatherUI' do | ||
use_frameworks! | # use_frameworks! | ||
project 'OneWeatherUI/OneWeatherUI.project' | # project 'OneWeatherUI/OneWeatherUI.project' | ||
end | # pod 'BezierKit' | ||
#end | |||
#CoreDataStorage | #CoreDataStorage | ||
target 'CoreDataStorage' do | target 'CoreDataStorage' do | ||
... | @@ -116,47 +117,47 @@ target 'OneWeatherWidgetExtension' do | ... | @@ -116,47 +117,47 @@ target 'OneWeatherWidgetExtension' do |
end | end | ||
#post_install do |installer| | #post_install do |installer| | ||
# applicationTargets = [ | # applicationTargets = [ | ||
# 'Pods-1Weather' | # 'Pods-1Weather' | ||
# ] | # ] | ||
# libraryTargets = [ | # libraryTargets = [ | ||
# 'Pods-OneWeatherAnalytics' | # 'Pods-OneWeatherAnalytics' | ||
# ] | # ] | ||
# | # | ||
# embedded_targets = installer.aggregate_targets.select { |aggregate_target| | # embedded_targets = installer.aggregate_targets.select { |aggregate_target| | ||
# libraryTargets.include? aggregate_target.name | # libraryTargets.include? aggregate_target.name | ||
# } | # } | ||
# embedded_pod_targets = embedded_targets.flat_map { |embedded_target| embedded_target.pod_targets } | # embedded_pod_targets = embedded_targets.flat_map { |embedded_target| embedded_target.pod_targets } | ||
# host_targets = installer.aggregate_targets.select { |aggregate_target| | # host_targets = installer.aggregate_targets.select { |aggregate_target| | ||
# applicationTargets.include? aggregate_target.name | # applicationTargets.include? aggregate_target.name | ||
# } | # } | ||
# | # | ||
# # We only want to remove pods from Application targets, not libraries | # # We only want to remove pods from Application targets, not libraries | ||
# host_targets.each do |host_target| | # host_targets.each do |host_target| | ||
# host_target.xcconfigs.each do |config_name, config_file| | # host_target.xcconfigs.each do |config_name, config_file| | ||
# host_target.pod_targets.each do |pod_target| | # host_target.pod_targets.each do |pod_target| | ||
# if embedded_pod_targets.include? pod_target | # if embedded_pod_targets.include? pod_target | ||
# pod_target.specs.each do |spec| | # pod_target.specs.each do |spec| | ||
# if spec.attributes_hash['ios'] != nil | # if spec.attributes_hash['ios'] != nil | ||
# frameworkPaths = spec.attributes_hash['ios']['vendored_frameworks'] | # frameworkPaths = spec.attributes_hash['ios']['vendored_frameworks'] | ||
# else | # else | ||
# frameworkPaths = spec.attributes_hash['vendored_frameworks'] | # frameworkPaths = spec.attributes_hash['vendored_frameworks'] | ||
# end | # end | ||
# if frameworkPaths != nil | # if frameworkPaths != nil | ||
# frameworkNames = Array(frameworkPaths).map(&:to_s).map do |filename| | # frameworkNames = Array(frameworkPaths).map(&:to_s).map do |filename| | ||
# extension = File.extname filename | # extension = File.extname filename | ||
# File.basename filename, extension | # File.basename filename, extension | ||
# end | # end | ||
# frameworkNames.each do |name| | # frameworkNames.each do |name| | ||
# puts "Removing #{name} from OTHER_LDFLAGS of target #{host_target.name}" | # puts "Removing #{name} from OTHER_LDFLAGS of target #{host_target.name}" | ||
# config_file.frameworks.delete(name) | # config_file.frameworks.delete(name) | ||
# end | # end | ||
# end | # end | ||
# end | # end | ||
# end | # end | ||
# end | # end | ||
# xcconfig_path = host_target.xcconfig_path(config_name) | # xcconfig_path = host_target.xcconfig_path(config_name) | ||
# config_file.save_as(xcconfig_path) | # config_file.save_as(xcconfig_path) | ||
# end | # end | ||
# end | # end | ||
#end | #end |
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
Please
register
or
sign in
to comment