Commit aa01e430 by Dmitriy Stepanets

Update widget structure

parent c9c01241
......@@ -61,6 +61,9 @@
CD39F2F525DE9571009FE398 /* ArrowButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD39F2F425DE9571009FE398 /* ArrowButton.swift */; };
CD3F6E6925FA59D4002DB99B /* ForecastDetailPeriodButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD3F6E6825FA59D4002DB99B /* ForecastDetailPeriodButton.swift */; };
CD3F6E6C25FA5A90002DB99B /* PeriodButtonProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD3F6E6B25FA5A90002DB99B /* PeriodButtonProtocol.swift */; };
CD415D9D2668FDB400177515 /* SmallWidgetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD415D9C2668FDB400177515 /* SmallWidgetView.swift */; };
CD415D9F2668FF0D00177515 /* OneWeatherCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD415D9E2668FF0D00177515 /* OneWeatherCore.framework */; };
CD415DA32668FFF300177515 /* WeatherProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD415DA22668FFF300177515 /* WeatherProvider.swift */; };
CD4742D0261200500061AC95 /* TodayAlertCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD4742CF261200500061AC95 /* TodayAlertCell.swift */; };
CD483A942664D64A00CA53AB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CD1237CB255D5C5C00C98139 /* Assets.xcassets */; };
CD483A952664D77700CA53AB /* SF-Pro.ttf in Resources */ = {isa = PBXBuildFile; fileRef = CDD0F1E42572425200CF5017 /* SF-Pro.ttf */; };
......@@ -69,6 +72,8 @@
CD483A9B2664DF7300CA53AB /* SF-Pro-Display-Light.otf in Resources */ = {isa = PBXBuildFile; fileRef = CD483A992664DF7300CA53AB /* SF-Pro-Display-Light.otf */; };
CD483A9D2664E08200CA53AB /* SF-Pro-Display-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = CD483A9C2664E08200CA53AB /* SF-Pro-Display-Regular.otf */; };
CD483A9E2664E08200CA53AB /* SF-Pro-Display-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = CD483A9C2664E08200CA53AB /* SF-Pro-Display-Regular.otf */; };
CD5293D8266908DB009547C8 /* WidgetPlaceholderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD5293D7266908DB009547C8 /* WidgetPlaceholderView.swift */; };
CD5293DA2669094E009547C8 /* WeatherEntry.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD5293D92669094E009547C8 /* WeatherEntry.swift */; };
CD55E0BB2615EE2400CC4DC7 /* PollutantView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD55E0BA2615EE2400CC4DC7 /* PollutantView.swift */; };
CD5692B42653D46200A3CDBE /* SplashAnimationViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD5692B32653D46100A3CDBE /* SplashAnimationViewController.swift */; };
CD5692B62653D56700A3CDBE /* splash.json in Resources */ = {isa = PBXBuildFile; fileRef = CD5692B52653D56700A3CDBE /* splash.json */; };
......@@ -151,7 +156,6 @@
CDE2BF222609D4250085C930 /* ForecastWindSpeedCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDE2BF212609D4250085C930 /* ForecastWindSpeedCell.swift */; };
CDE2BF252609D9140085C930 /* ForecastWindButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDE2BF242609D9140085C930 /* ForecastWindButton.swift */; };
CDEE8AD725DA882200C289DE /* ForecastPeriodButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDEE8AD625DA882200C289DE /* ForecastPeriodButton.swift */; };
CDF1F9352668D09C004F5D61 /* OneWeatherCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CDF1F9342668D09C004F5D61 /* OneWeatherCore.framework */; };
CDF63D29266779D8003DE569 /* AdLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDF63D28266779D8003DE569 /* AdLogger.swift */; };
CDF8F12A262089A200DB384A /* MapTimeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDF8F129262089A200DB384A /* MapTimeView.swift */; };
CDF8F12D26208E7B00DB384A /* MapCurrentTimeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDF8F12C26208E7B00DB384A /* MapCurrentTimeView.swift */; };
......@@ -318,10 +322,15 @@
CD39F2F425DE9571009FE398 /* ArrowButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArrowButton.swift; sourceTree = "<group>"; };
CD3F6E6825FA59D4002DB99B /* ForecastDetailPeriodButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ForecastDetailPeriodButton.swift; sourceTree = "<group>"; };
CD3F6E6B25FA5A90002DB99B /* PeriodButtonProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PeriodButtonProtocol.swift; sourceTree = "<group>"; };
CD415D9C2668FDB400177515 /* SmallWidgetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SmallWidgetView.swift; sourceTree = "<group>"; };
CD415D9E2668FF0D00177515 /* OneWeatherCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = OneWeatherCore.framework; sourceTree = BUILT_PRODUCTS_DIR; };
CD415DA22668FFF300177515 /* WeatherProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WeatherProvider.swift; sourceTree = "<group>"; };
CD4742CF261200500061AC95 /* TodayAlertCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TodayAlertCell.swift; sourceTree = "<group>"; };
CD483A972664DAB100CA53AB /* WidgetFont.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WidgetFont.swift; sourceTree = "<group>"; };
CD483A992664DF7300CA53AB /* SF-Pro-Display-Light.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-Pro-Display-Light.otf"; sourceTree = "<group>"; };
CD483A9C2664E08200CA53AB /* SF-Pro-Display-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-Pro-Display-Regular.otf"; sourceTree = "<group>"; };
CD5293D7266908DB009547C8 /* WidgetPlaceholderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WidgetPlaceholderView.swift; sourceTree = "<group>"; };
CD5293D92669094E009547C8 /* WeatherEntry.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WeatherEntry.swift; sourceTree = "<group>"; };
CD55E0BA2615EE2400CC4DC7 /* PollutantView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PollutantView.swift; sourceTree = "<group>"; };
CD5692B32653D46100A3CDBE /* SplashAnimationViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SplashAnimationViewController.swift; sourceTree = "<group>"; };
CD5692B52653D56700A3CDBE /* splash.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = splash.json; sourceTree = "<group>"; };
......@@ -484,7 +493,7 @@
buildActionMask = 2147483647;
files = (
CD1B713D2660F95000916E71 /* SwiftUI.framework in Frameworks */,
CDF1F9352668D09C004F5D61 /* OneWeatherCore.framework in Frameworks */,
CD415D9F2668FF0D00177515 /* OneWeatherCore.framework in Frameworks */,
CD1B713B2660F95000916E71 /* WidgetKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
......@@ -619,6 +628,8 @@
CD1B713E2660F95000916E71 /* OneWeatherWidget */ = {
isa = PBXGroup;
children = (
CD5293DC266909B0009547C8 /* Data */,
CD5293DB2669099B009547C8 /* UI */,
CD1B713F2660F95000916E71 /* OneWeatherWidget.swift */,
CD1B71412660F95300916E71 /* Assets.xcassets */,
CD1B71432660F95300916E71 /* Info.plist */,
......@@ -705,6 +716,24 @@
path = Cells;
sourceTree = "<group>";
};
CD5293DB2669099B009547C8 /* UI */ = {
isa = PBXGroup;
children = (
CD5293D7266908DB009547C8 /* WidgetPlaceholderView.swift */,
CD415D9C2668FDB400177515 /* SmallWidgetView.swift */,
);
path = UI;
sourceTree = "<group>";
};
CD5293DC266909B0009547C8 /* Data */ = {
isa = PBXGroup;
children = (
CD415DA22668FFF300177515 /* WeatherProvider.swift */,
CD5293D92669094E009547C8 /* WeatherEntry.swift */,
);
path = Data;
sourceTree = "<group>";
};
CD5692B22653D46100A3CDBE /* SplashAnimation */ = {
isa = PBXGroup;
children = (
......@@ -880,6 +909,7 @@
87D815B02636ED850015A6D1 /* NWSAlertCellFactory.swift */,
87D815B22636F2040015A6D1 /* NWSAlertInfoBlockTableViewCell.swift */,
CE0457972632E47B00B3C19A /* NWSAlertCell.swift */,
CD415D9E2668FF0D00177515 /* OneWeatherCore.framework */,
);
name = "Recovered References";
sourceTree = "<group>";
......@@ -1704,7 +1734,11 @@
buildActionMask = 2147483647;
files = (
CD483A982664DAB100CA53AB /* WidgetFont.swift in Sources */,
CD5293D8266908DB009547C8 /* WidgetPlaceholderView.swift in Sources */,
CD1B71402660F95000916E71 /* OneWeatherWidget.swift in Sources */,
CD415D9D2668FDB400177515 /* SmallWidgetView.swift in Sources */,
CD415DA32668FFF300177515 /* WeatherProvider.swift in Sources */,
CD5293DA2669094E009547C8 /* WeatherEntry.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -1931,11 +1965,10 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 24W4XMQ38L;
INFOPLIST_FILE = OneWeatherWidget/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.5;
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.onelouder.oneweather.OneWeatherWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
......@@ -1953,11 +1986,10 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 24W4XMQ38L;
INFOPLIST_FILE = OneWeatherWidget/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.5;
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.onelouder.oneweather.OneWeatherWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
......
......@@ -12,12 +12,12 @@
<key>OneWeatherNotificationServiceExtension.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>54</integer>
<integer>53</integer>
</dict>
<key>OneWeatherWidgetExtension.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>58</integer>
<integer>57</integer>
</dict>
<key>PG (Playground) 1.xcscheme</key>
<dict>
......
......@@ -135,14 +135,14 @@
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>2</integer>
<integer>6</integer>
</dict>
<key>PG (Playground) 1.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>3</integer>
<integer>12</integer>
</dict>
<key>PG (Playground) 10.xcscheme</key>
<dict>
......@@ -212,14 +212,14 @@
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>4</integer>
<integer>13</integer>
</dict>
<key>PG (Playground) 3.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>5</integer>
<integer>14</integer>
</dict>
<key>PG (Playground) 4.xcscheme</key>
<dict>
......@@ -268,7 +268,7 @@
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>1</integer>
<integer>7</integer>
</dict>
</dict>
</dict>
......
//
// WeatherEntry.swift
// OneWeatherWidgetExtension
//
// Created by Dmitry Stepanets on 03.06.2021.
//
import Foundation
import WidgetKit
struct WeatherEntry: TimelineEntry {
let date = Date()
// let currentWeather: CurrentWeather
let currentWeather: String
}
//
// WeatherProvider.swift
// OneWeatherWidgetExtension
//
// Created by Dmitry Stepanets on 03.06.2021.
//
import SwiftUI
import WidgetKit
import OneWeatherCore
struct WeatherProvider: TimelineProvider {
typealias Entry = WeatherEntry
func placeholder(in context: Context) -> WeatherEntry {
return WeatherEntry(currentWeather: "test")
}
func getSnapshot(in context: Context, completion: @escaping (WeatherEntry) -> Void) {
// guard let cupertinoWeather = cupertinoLocation.today else { return }
let entry = WeatherEntry(currentWeather: "test")
completion(entry)
}
func getTimeline(in context: Context, completion: @escaping (Timeline<WeatherEntry>) -> Void) {
// guard let cupertinoWeather = cupertinoLocation.today else { return }
let entry = WeatherEntry(currentWeather: "test")
let timeline = Timeline(entries: [entry], policy: .never)
completion(timeline)
}
}
......@@ -7,129 +7,34 @@
import WidgetKit
import SwiftUI
import OneWeatherCore
private let cupertinoLocation = Location(deviceLocation: false,
countryName: "USA",
region: "US",
cityName: "Cupertino",
timeZone: TimeZone.current,
today: .init(lastTimeUpdated: Date(),
date: Date(),
timeZone: TimeZone.current,
weekDay: .monday,
type: .partlyCloudy,
isDay: true,
minTemp: .init(value: 89, unit: .fahrenheit),
maxTemp: .init(value: 97, unit: .fahrenheit),
temp: .init(value: 96, unit: .fahrenheit)),
daily: [],
hourly: [],
dayTimeForecast: [])
struct WeatherEntry: TimelineEntry {
let date = Date()
let currentWeather: CurrentWeather
}
struct Provider: TimelineProvider {
typealias Entry = WeatherEntry
func placeholder(in context: Context) -> WeatherEntry {
return WeatherEntry(currentWeather: cupertinoLocation.today!)
}
func getSnapshot(in context: Context, completion: @escaping (WeatherEntry) -> Void) {
guard let cupertinoWeather = cupertinoLocation.today else { return }
let entry = WeatherEntry(currentWeather: cupertinoWeather)
completion(entry)
}
func getTimeline(in context: Context, completion: @escaping (Timeline<WeatherEntry>) -> Void) {
guard let cupertinoWeather = cupertinoLocation.today else { return }
let entry = WeatherEntry(currentWeather: cupertinoWeather)
let timeline = Timeline(entries: [entry], policy: .never)
completion(timeline)
}
}
struct PlaceholderView: View {
var body: some View {
Text("Widget Placeholder View")
}
}
struct WidgetEntryView: View {
let entry: Provider.Entry
var body: some View {
GeometryReader { geometry in
VStack {
HStack(spacing: 4) {
Text("New York")
.multilineTextAlignment(.leading)
.font(WidgetFont.SFProDisplay.regular(size: 12))
Image("location_arrow")
.resizable()
.frame(width: 8, height: 8, alignment: .center)
.foregroundColor(.red)
Spacer()
}
.padding(.top, 12)
.padding(.leading, 10)
HStack(spacing: 0) {
VStack(alignment: .leading){
Text("96°")
.font(WidgetFont.SFProDisplay.light(size: 32))
.padding(.leading, 10)
Text("Partly Cloudy Cloudy")
.font(WidgetFont.SFProDisplay.regular(size: 12))
.frame(width: geometry.size.width * 0.5, alignment: .leading)
.padding(.leading, 10)
Spacer(minLength: 0)
}
.frame(height: 70)
Spacer(minLength: 0)
Image("freezingFog")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 70, height: 70, alignment: .center)
.shadow(color: Color.black.opacity(0.5), radius: 16, x: 2, y: 0)
.padding(.trailing, 4)
}
HStack {
Text("H 97°")
.font(WidgetFont.SFProDisplay.regular(size: 12))
Text("L 89°")
.font(WidgetFont.SFProDisplay.regular(size: 12))
Spacer()
}
.padding(.top, 20)
.padding(.leading, 10)
}
}
}
}
//import OneWeatherCore
//
//private let cupertinoLocation = Location(deviceLocation: false,
// countryName: "USA",
// region: "US",
// cityName: "Cupertino",
// timeZone: TimeZone.current,
// today: .init(lastTimeUpdated: Date(),
// date: Date(),
// timeZone: TimeZone.current,
// weekDay: .monday,
// type: .partlyCloudy,
// isDay: true,
// minTemp: .init(value: 89, unit: .fahrenheit),
// maxTemp: .init(value: 97, unit: .fahrenheit),
// temp: .init(value: 96, unit: .fahrenheit)),
// daily: [],
// hourly: [],
// dayTimeForecast: [])
@main
struct OneWeatherWidget: Widget {
private let kind = "OneWeater_Widget"
var body: some WidgetConfiguration {
StaticConfiguration(kind: kind, provider: Provider()) { entry in
WidgetEntryView(entry: entry)
StaticConfiguration(kind: kind, provider: WeatherProvider()) { entry in
SmallWidgetView()
}
.supportedFamilies([.systemSmall])
}
}
struct OneWeatherWidget_Preview: PreviewProvider {
static var previews: some View {
WidgetEntryView(entry: WeatherEntry(currentWeather: cupertinoLocation.today!))
.previewContext(WidgetPreviewContext(family: .systemSmall))
}
}
//
// SmallWidget.swift
// OneWeatherWidgetExtension
//
// Created by Dmitry Stepanets on 03.06.2021.
//
import Foundation
//
// SmallWidget.swift
// OneWeatherWidgetExtension
//
// Created by Dmitry Stepanets on 03.06.2021.
//
import SwiftUI
import WidgetKit
struct SmallWidgetView: View {
var body: some View {
GeometryReader { geometry in
VStack {
HStack(spacing: 4) {
Text("New York")
.multilineTextAlignment(.leading)
.font(WidgetFont.SFProDisplay.regular(size: 12))
Image("location_arrow")
.resizable()
.frame(width: 8, height: 8, alignment: .center)
.foregroundColor(.blue)
Spacer()
}
.padding(.top, 12)
.padding(.leading, 10)
HStack(spacing: 0) {
VStack(alignment: .leading){
Text("96°")
.font(WidgetFont.SFProDisplay.light(size: 32))
.padding(.leading, 10)
Text("Partly Cloudy Cloudy")
.font(WidgetFont.SFProDisplay.regular(size: 12))
.frame(width: geometry.size.width * 0.5, alignment: .leading)
.padding(.leading, 10)
Spacer(minLength: 0)
}
.frame(height: 70)
Spacer(minLength: 0)
Image("freezingFog")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 70, height: 70, alignment: .center)
.shadow(color: Color.black.opacity(0.5), radius: 16, x: 2, y: 0)
.padding(.trailing, 4)
}
HStack {
Text("H 97°")
.font(WidgetFont.SFProDisplay.regular(size: 12))
Text("L 89°")
.font(WidgetFont.SFProDisplay.regular(size: 12))
Spacer()
}
.padding(.top, 20)
.padding(.leading, 10)
}
}
}
}
struct SmallWidget_Preview: PreviewProvider {
static var previews: some View {
SmallWidgetView()
.previewContext(WidgetPreviewContext(family: .systemSmall))
}
}
//
// WidgetPlaceholderView.swift
// OneWeatherWidgetExtension
//
// Created by Dmitry Stepanets on 03.06.2021.
//
import SwiftUI
struct WidgetPlaceholderView: View {
var body: some View {
Text("Widget Placeholder View")
}
}
......@@ -106,48 +106,48 @@ target 'OneWeatherNotificationServiceExtension' do
pod 'MORichNotification'
end
post_install do |installer|
applicationTargets = [
'Pods-1Weather'
]
libraryTargets = [
'Pods-OneWeatherAnalytics'
]
embedded_targets = installer.aggregate_targets.select { |aggregate_target|
libraryTargets.include? aggregate_target.name
}
embedded_pod_targets = embedded_targets.flat_map { |embedded_target| embedded_target.pod_targets }
host_targets = installer.aggregate_targets.select { |aggregate_target|
applicationTargets.include? aggregate_target.name
}
# We only want to remove pods from Application targets, not libraries
host_targets.each do |host_target|
host_target.xcconfigs.each do |config_name, config_file|
host_target.pod_targets.each do |pod_target|
if embedded_pod_targets.include? pod_target
pod_target.specs.each do |spec|
if spec.attributes_hash['ios'] != nil
frameworkPaths = spec.attributes_hash['ios']['vendored_frameworks']
else
frameworkPaths = spec.attributes_hash['vendored_frameworks']
end
if frameworkPaths != nil
frameworkNames = Array(frameworkPaths).map(&:to_s).map do |filename|
extension = File.extname filename
File.basename filename, extension
end
frameworkNames.each do |name|
puts "Removing #{name} from OTHER_LDFLAGS of target #{host_target.name}"
config_file.frameworks.delete(name)
end
end
end
end
end
xcconfig_path = host_target.xcconfig_path(config_name)
config_file.save_as(xcconfig_path)
end
end
end
#post_install do |installer|
# applicationTargets = [
# 'Pods-1Weather'
# ]
# libraryTargets = [
# 'Pods-OneWeatherAnalytics'
# ]
#
# embedded_targets = installer.aggregate_targets.select { |aggregate_target|
# libraryTargets.include? aggregate_target.name
# }
# embedded_pod_targets = embedded_targets.flat_map { |embedded_target| embedded_target.pod_targets }
# host_targets = installer.aggregate_targets.select { |aggregate_target|
# applicationTargets.include? aggregate_target.name
# }
#
# # We only want to remove pods from Application targets, not libraries
# host_targets.each do |host_target|
# host_target.xcconfigs.each do |config_name, config_file|
# host_target.pod_targets.each do |pod_target|
# if embedded_pod_targets.include? pod_target
# pod_target.specs.each do |spec|
# if spec.attributes_hash['ios'] != nil
# frameworkPaths = spec.attributes_hash['ios']['vendored_frameworks']
# else
# frameworkPaths = spec.attributes_hash['vendored_frameworks']
# end
# if frameworkPaths != nil
# frameworkNames = Array(frameworkPaths).map(&:to_s).map do |filename|
# extension = File.extname filename
# File.basename filename, extension
# end
# frameworkNames.each do |name|
# puts "Removing #{name} from OTHER_LDFLAGS of target #{host_target.name}"
# config_file.frameworks.delete(name)
# end
# end
# end
# end
# end
# xcconfig_path = host_target.xcconfig_path(config_name)
# config_file.save_as(xcconfig_path)
# end
# end
#end
......@@ -297,6 +297,6 @@ SPEC CHECKSUMS:
Swarm: 95393cd52715744c94e3a8475bc20b4de5d79f35
XMLCoder: f884dfa894a6f8b7dce465e4f6c02963bf17e028
PODFILE CHECKSUM: 4186f01b69ad4591b988e2176f1d071927a3c487
PODFILE CHECKSUM: 26abafe986228e7dc094f0704e8db480ea3bcefb
COCOAPODS: 1.10.1
......@@ -297,6 +297,6 @@ SPEC CHECKSUMS:
Swarm: 95393cd52715744c94e3a8475bc20b4de5d79f35
XMLCoder: f884dfa894a6f8b7dce465e4f6c02963bf17e028
PODFILE CHECKSUM: 4186f01b69ad4591b988e2176f1d071927a3c487
PODFILE CHECKSUM: 26abafe986228e7dc094f0704e8db480ea3bcefb
COCOAPODS: 1.10.1
......@@ -8,7 +8,7 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 $(inherited) PB_FIELD_32
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlgoliaSearchClient/AlgoliaSearchClient.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/BezierKit/BezierKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Cirque/Cirque.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FBSDKCoreKit/FBSDKCoreKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseABTesting/FirebaseABTesting.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCore/FirebaseCore.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCrashlytics/FirebaseCrashlytics.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInstallations/FirebaseInstallations.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseRemoteConfig/FirebaseRemoteConfig.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Flurry-iOS-SDK/Flurry_iOS_SDK.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport/GoogleDataTransport.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities/GoogleUtilities.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Localize-Swift/Localize_Swift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Logging/Logging.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/PKHUD/PKHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/PromisesObjC/FBLPromises.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Swarm/Swarm.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/XMLCoder/XMLCoder.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/lottie-ios/Lottie.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/mopub-ios-sdk/MoPubSDK.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/nanopb/nanopb.framework/Headers" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/Fyber_Marketplace_SDK" $(inherited) ${PODS_ROOT}/Firebase/CoreOnly/Sources "${PODS_TARGET_SRCROOT}/Sources/FBLPromises/include"
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Flurry-iOS-SDK/Flurry"
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"stdc++" -l"xml2" -l"xml2.2" -l"z" -framework "AVFoundation" -framework "AVKit" -framework "AdSupport" -framework "AlgoliaSearchClient" -framework "AudioToolbox" -framework "BezierKit" -framework "CFNetwork" -framework "Cirque" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreLocation" -framework "CoreMedia" -framework "CoreTelephony" -framework "CoreVideo" -framework "DTBiOSSDK" -framework "EventKit" -framework "EventKitUI" -framework "FBAudienceNetwork" -framework "FBLPromises" -framework "FBSDKCoreKit" -framework "FacebookAdapter" -framework "FirebaseABTesting" -framework "FirebaseCore" -framework "FirebaseCoreDiagnostics" -framework "FirebaseCrashlytics" -framework "FirebaseInstallations" -framework "FirebaseRemoteConfig" -framework "Flurry_iOS_SDK" -framework "Foundation" -framework "FyberAdapter" -framework "GoogleDataTransport" -framework "GoogleMobileAds" -framework "GoogleUtilities" -framework "IASDKCore" -framework "IASDKMRAID" -framework "IASDKVideo" -framework "Localize_Swift" -framework "Logging" -framework "Lottie" -framework "MediaPlayer" -framework "MessageUI" -framework "MoPubAdapter" -framework "MoPubSDK" -framework "MobileCoreServices" -framework "OMSDK_Mopub" -framework "PKHUD" -framework "QuartzCore" -framework "SafariServices" -framework "Security" -framework "SnapKit" -framework "StoreKit" -framework "Swarm" -framework "SystemConfiguration" -framework "UIKit" -framework "UserMessagingPlatform" -framework "UserNotifications" -framework "UserNotificationsUI" -framework "WebKit" -framework "XMLCoder" -framework "nanopb" -weak_framework "Accelerate" -weak_framework "Accounts" -weak_framework "AdSupport" -weak_framework "AppTrackingTransparency" -weak_framework "AudioToolbox" -weak_framework "CFNetwork" -weak_framework "CoreGraphics" -weak_framework "CoreMotion" -weak_framework "CoreTelephony" -weak_framework "Foundation" -weak_framework "JavaScriptCore" -weak_framework "LocalAuthentication" -weak_framework "QuartzCore" -weak_framework "SafariServices" -weak_framework "Security" -weak_framework "Social" -weak_framework "StoreKit" -weak_framework "SystemConfiguration" -weak_framework "UIKit" -weak_framework "UserNotifications" -weak_framework "VideoToolbox" -weak_framework "WebKit"
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"stdc++" -l"xml2" -l"xml2.2" -l"z" -framework "AVFoundation" -framework "AVKit" -framework "AdSupport" -framework "AlgoliaSearchClient" -framework "AppsFlyerLib" -framework "AudioToolbox" -framework "BezierKit" -framework "CFNetwork" -framework "Cirque" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreLocation" -framework "CoreMedia" -framework "CoreTelephony" -framework "CoreVideo" -framework "DTBiOSSDK" -framework "EventKit" -framework "EventKitUI" -framework "FBAudienceNetwork" -framework "FBLPromises" -framework "FBSDKCoreKit" -framework "FacebookAdapter" -framework "FirebaseABTesting" -framework "FirebaseAnalytics" -framework "FirebaseCore" -framework "FirebaseCoreDiagnostics" -framework "FirebaseCrashlytics" -framework "FirebaseInstallations" -framework "FirebaseRemoteConfig" -framework "Flurry_iOS_SDK" -framework "Foundation" -framework "FyberAdapter" -framework "GoogleAppMeasurement" -framework "GoogleDataTransport" -framework "GoogleMobileAds" -framework "GoogleUtilities" -framework "IASDKCore" -framework "IASDKMRAID" -framework "IASDKVideo" -framework "Localize_Swift" -framework "Logging" -framework "Lottie" -framework "MOAnalytics" -framework "MOMessaging" -framework "MORichNotification" -framework "MediaPlayer" -framework "MessageUI" -framework "MoEngage" -framework "MoEngageCore" -framework "MoPubAdapter" -framework "MoPubSDK" -framework "MobileCoreServices" -framework "OMSDK_Mopub" -framework "PKHUD" -framework "QuartzCore" -framework "SafariServices" -framework "Security" -framework "SnapKit" -framework "StoreKit" -framework "Swarm" -framework "SystemConfiguration" -framework "UIKit" -framework "UserMessagingPlatform" -framework "UserNotifications" -framework "UserNotificationsUI" -framework "WebKit" -framework "XMLCoder" -framework "nanopb" -weak_framework "Accelerate" -weak_framework "Accounts" -weak_framework "AdSupport" -weak_framework "AppTrackingTransparency" -weak_framework "AudioToolbox" -weak_framework "CFNetwork" -weak_framework "CoreGraphics" -weak_framework "CoreMotion" -weak_framework "CoreTelephony" -weak_framework "Foundation" -weak_framework "JavaScriptCore" -weak_framework "LocalAuthentication" -weak_framework "QuartzCore" -weak_framework "SafariServices" -weak_framework "Security" -weak_framework "Social" -weak_framework "StoreKit" -weak_framework "SystemConfiguration" -weak_framework "UIKit" -weak_framework "UserNotifications" -weak_framework "VideoToolbox" -weak_framework "WebKit"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
......
......@@ -8,7 +8,7 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 $(inherited) PB_FIELD_32
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AlgoliaSearchClient/AlgoliaSearchClient.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/BezierKit/BezierKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Cirque/Cirque.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FBSDKCoreKit/FBSDKCoreKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseABTesting/FirebaseABTesting.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCore/FirebaseCore.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseCrashlytics/FirebaseCrashlytics.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInstallations/FirebaseInstallations.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseRemoteConfig/FirebaseRemoteConfig.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Flurry-iOS-SDK/Flurry_iOS_SDK.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport/GoogleDataTransport.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities/GoogleUtilities.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Localize-Swift/Localize_Swift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Logging/Logging.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/PKHUD/PKHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/PromisesObjC/FBLPromises.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Swarm/Swarm.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/XMLCoder/XMLCoder.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/lottie-ios/Lottie.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/mopub-ios-sdk/MoPubSDK.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/nanopb/nanopb.framework/Headers" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/Fyber_Marketplace_SDK" $(inherited) ${PODS_ROOT}/Firebase/CoreOnly/Sources "${PODS_TARGET_SRCROOT}/Sources/FBLPromises/include"
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Flurry-iOS-SDK/Flurry"
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"stdc++" -l"xml2" -l"xml2.2" -l"z" -framework "AVFoundation" -framework "AVKit" -framework "AdSupport" -framework "AlgoliaSearchClient" -framework "AudioToolbox" -framework "BezierKit" -framework "CFNetwork" -framework "Cirque" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreLocation" -framework "CoreMedia" -framework "CoreTelephony" -framework "CoreVideo" -framework "DTBiOSSDK" -framework "EventKit" -framework "EventKitUI" -framework "FBAudienceNetwork" -framework "FBLPromises" -framework "FBSDKCoreKit" -framework "FacebookAdapter" -framework "FirebaseABTesting" -framework "FirebaseCore" -framework "FirebaseCoreDiagnostics" -framework "FirebaseCrashlytics" -framework "FirebaseInstallations" -framework "FirebaseRemoteConfig" -framework "Flurry_iOS_SDK" -framework "Foundation" -framework "FyberAdapter" -framework "GoogleDataTransport" -framework "GoogleMobileAds" -framework "GoogleUtilities" -framework "IASDKCore" -framework "IASDKMRAID" -framework "IASDKVideo" -framework "Localize_Swift" -framework "Logging" -framework "Lottie" -framework "MediaPlayer" -framework "MessageUI" -framework "MoPubAdapter" -framework "MoPubSDK" -framework "MobileCoreServices" -framework "OMSDK_Mopub" -framework "PKHUD" -framework "QuartzCore" -framework "SafariServices" -framework "Security" -framework "SnapKit" -framework "StoreKit" -framework "Swarm" -framework "SystemConfiguration" -framework "UIKit" -framework "UserMessagingPlatform" -framework "UserNotifications" -framework "UserNotificationsUI" -framework "WebKit" -framework "XMLCoder" -framework "nanopb" -weak_framework "Accelerate" -weak_framework "Accounts" -weak_framework "AdSupport" -weak_framework "AppTrackingTransparency" -weak_framework "AudioToolbox" -weak_framework "CFNetwork" -weak_framework "CoreGraphics" -weak_framework "CoreMotion" -weak_framework "CoreTelephony" -weak_framework "Foundation" -weak_framework "JavaScriptCore" -weak_framework "LocalAuthentication" -weak_framework "QuartzCore" -weak_framework "SafariServices" -weak_framework "Security" -weak_framework "Social" -weak_framework "StoreKit" -weak_framework "SystemConfiguration" -weak_framework "UIKit" -weak_framework "UserNotifications" -weak_framework "VideoToolbox" -weak_framework "WebKit"
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"stdc++" -l"xml2" -l"xml2.2" -l"z" -framework "AVFoundation" -framework "AVKit" -framework "AdSupport" -framework "AlgoliaSearchClient" -framework "AppsFlyerLib" -framework "AudioToolbox" -framework "BezierKit" -framework "CFNetwork" -framework "Cirque" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreLocation" -framework "CoreMedia" -framework "CoreTelephony" -framework "CoreVideo" -framework "DTBiOSSDK" -framework "EventKit" -framework "EventKitUI" -framework "FBAudienceNetwork" -framework "FBLPromises" -framework "FBSDKCoreKit" -framework "FacebookAdapter" -framework "FirebaseABTesting" -framework "FirebaseAnalytics" -framework "FirebaseCore" -framework "FirebaseCoreDiagnostics" -framework "FirebaseCrashlytics" -framework "FirebaseInstallations" -framework "FirebaseRemoteConfig" -framework "Flurry_iOS_SDK" -framework "Foundation" -framework "FyberAdapter" -framework "GoogleAppMeasurement" -framework "GoogleDataTransport" -framework "GoogleMobileAds" -framework "GoogleUtilities" -framework "IASDKCore" -framework "IASDKMRAID" -framework "IASDKVideo" -framework "Localize_Swift" -framework "Logging" -framework "Lottie" -framework "MOAnalytics" -framework "MOMessaging" -framework "MORichNotification" -framework "MediaPlayer" -framework "MessageUI" -framework "MoEngage" -framework "MoEngageCore" -framework "MoPubAdapter" -framework "MoPubSDK" -framework "MobileCoreServices" -framework "OMSDK_Mopub" -framework "PKHUD" -framework "QuartzCore" -framework "SafariServices" -framework "Security" -framework "SnapKit" -framework "StoreKit" -framework "Swarm" -framework "SystemConfiguration" -framework "UIKit" -framework "UserMessagingPlatform" -framework "UserNotifications" -framework "UserNotificationsUI" -framework "WebKit" -framework "XMLCoder" -framework "nanopb" -weak_framework "Accelerate" -weak_framework "Accounts" -weak_framework "AdSupport" -weak_framework "AppTrackingTransparency" -weak_framework "AudioToolbox" -weak_framework "CFNetwork" -weak_framework "CoreGraphics" -weak_framework "CoreMotion" -weak_framework "CoreTelephony" -weak_framework "Foundation" -weak_framework "JavaScriptCore" -weak_framework "LocalAuthentication" -weak_framework "QuartzCore" -weak_framework "SafariServices" -weak_framework "Security" -weak_framework "Social" -weak_framework "StoreKit" -weak_framework "SystemConfiguration" -weak_framework "UIKit" -weak_framework "UserNotifications" -weak_framework "VideoToolbox" -weak_framework "WebKit"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment