Vasilis

change at podspec

...@@ -19,7 +19,7 @@ Pod::Spec.new do |spec| ...@@ -19,7 +19,7 @@ Pod::Spec.new do |spec|
19 19
20 spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "0.0.1" } 20 spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "0.0.1" }
21 21
22 - spec.source_files = "WarplySDKFrameworkIOS/*.png", "WarplySDKFrameworkIOS/*.xcassets", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets","WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/**/*.{h,m}", "WarplySDKFrameworkIOS/*.swift", "*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift", 'WarplySDKFrameworkIOS/UIResources/*.png', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/UIResources/*.png' 22 + spec.source_files = 'WarplySDKFrameworkIOS/*.xcassets', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets', "WarplySDKFrameworkIOS/*.png", "WarplySDKFrameworkIOS/*.xcassets", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets","WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/**/*.{h,m}", "WarplySDKFrameworkIOS/*.swift", "*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift", 'WarplySDKFrameworkIOS/UIResources/*.png', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/UIResources/*.png'
23 spec.exclude_files = "Classes/Exclude" 23 spec.exclude_files = "Classes/Exclude"
24 24
25 spec.resource_bundles = { 25 spec.resource_bundles = {
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
13 E639EFA52808244E00B9DD94 /* MyEmptyClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */; }; 13 E639EFA52808244E00B9DD94 /* MyEmptyClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */; };
14 E639EFAB2808347700B9DD94 /* ic_back.png in Resources */ = {isa = PBXBuildFile; fileRef = E639EFAA2808347700B9DD94 /* ic_back.png */; }; 14 E639EFAB2808347700B9DD94 /* ic_back.png in Resources */ = {isa = PBXBuildFile; fileRef = E639EFAA2808347700B9DD94 /* ic_back.png */; };
15 E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; }; 15 E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; };
16 - E66881C92808784000370C98 /* ic_back.png in Resources */ = {isa = PBXBuildFile; fileRef = E66881C82808783F00370C98 /* ic_back.png */; };
17 E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */; }; 16 E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */; };
18 E6D8DE6E27A942010006A3A9 /* WarplySDKFrameworkIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 E6D8DE6E27A942010006A3A9 /* WarplySDKFrameworkIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */; settings = {ATTRIBUTES = (Public, ); }; };
19 E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE7527A942910006A3A9 /* WarplyReactMethods.m */; }; 18 E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE7527A942910006A3A9 /* WarplyReactMethods.m */; };
...@@ -139,7 +138,6 @@ ...@@ -139,7 +138,6 @@
139 E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyEmptyClass.swift; sourceTree = "<group>"; }; 138 E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyEmptyClass.swift; sourceTree = "<group>"; };
140 E639EFAA2808347700B9DD94 /* ic_back.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_back.png; sourceTree = "<group>"; }; 139 E639EFAA2808347700B9DD94 /* ic_back.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_back.png; sourceTree = "<group>"; };
141 E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; }; 140 E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; };
142 - E66881C82808783F00370C98 /* ic_back.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ic_back.png; path = Media.xcassets/ic_back.imageset/ic_back.png; sourceTree = "<group>"; };
143 E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 141 E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
144 E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WarplySDKFrameworkIOS.h; sourceTree = "<group>"; }; 142 E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WarplySDKFrameworkIOS.h; sourceTree = "<group>"; };
145 E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = WarplySDKFrameworkIOS.docc; sourceTree = "<group>"; }; 143 E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = WarplySDKFrameworkIOS.docc; sourceTree = "<group>"; };
...@@ -299,7 +297,6 @@ ...@@ -299,7 +297,6 @@
299 E6D8DE5E27A942000006A3A9 = { 297 E6D8DE5E27A942000006A3A9 = {
300 isa = PBXGroup; 298 isa = PBXGroup;
301 children = ( 299 children = (
302 - E66881C82808783F00370C98 /* ic_back.png */,
303 E6D8DE6A27A942010006A3A9 /* WarplySDKFrameworkIOS */, 300 E6D8DE6A27A942010006A3A9 /* WarplySDKFrameworkIOS */,
304 E6D8DE6927A942010006A3A9 /* Products */, 301 E6D8DE6927A942010006A3A9 /* Products */,
305 870107DF603473A1B9FB618F /* Pods */, 302 870107DF603473A1B9FB618F /* Pods */,
...@@ -680,7 +677,6 @@ ...@@ -680,7 +677,6 @@
680 E639EFAB2808347700B9DD94 /* ic_back.png in Resources */, 677 E639EFAB2808347700B9DD94 /* ic_back.png in Resources */,
681 E6EA2F6E2806E32500EC4CF5 /* Coupons.xib in Resources */, 678 E6EA2F6E2806E32500EC4CF5 /* Coupons.xib in Resources */,
682 E6D8DF1027A942920006A3A9 /* warp_white_forward_button@2x.png in Resources */, 679 E6D8DF1027A942920006A3A9 /* warp_white_forward_button@2x.png in Resources */,
683 - E66881C92808784000370C98 /* ic_back.png in Resources */,
684 E6D8DEF127A942920006A3A9 /* WLNativeVideoTableViewCell.xib in Resources */, 680 E6D8DEF127A942920006A3A9 /* WLNativeVideoTableViewCell.xib in Resources */,
685 E6D8DEFB27A942920006A3A9 /* WLNativeAdCollectionViewCell.xib in Resources */, 681 E6D8DEFB27A942920006A3A9 /* WLNativeAdCollectionViewCell.xib in Resources */,
686 E6D8DF0C27A942920006A3A9 /* warp_white_back_button@2x.png in Resources */, 682 E6D8DF0C27A942920006A3A9 /* warp_white_back_button@2x.png in Resources */,
......
...@@ -3,4 +3,22 @@ ...@@ -3,4 +3,22 @@
3 uuid = "91478161-56E8-4654-93F2-7756A39480EE" 3 uuid = "91478161-56E8-4654-93F2-7756A39480EE"
4 type = "0" 4 type = "0"
5 version = "2.0"> 5 version = "2.0">
6 + <Breakpoints>
7 + <BreakpointProxy
8 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
9 + <BreakpointContent
10 + uuid = "28AEA58D-19E0-4D42-BABE-9F1C341D6182"
11 + shouldBeEnabled = "Yes"
12 + ignoreCount = "0"
13 + continueAfterRunningActions = "No"
14 + filePath = "WarplySDKFrameworkIOS/CouponsView.swift"
15 + startingColumnNumber = "9223372036854775807"
16 + endingColumnNumber = "9223372036854775807"
17 + startingLineNumber = "100"
18 + endingLineNumber = "100"
19 + landmarkName = "previews"
20 + landmarkType = "24">
21 + </BreakpointContent>
22 + </BreakpointProxy>
23 + </Breakpoints>
6 </Bucket> 24 </Bucket>
......
...@@ -93,18 +93,18 @@ struct CouponsView: View { ...@@ -93,18 +93,18 @@ struct CouponsView: View {
93 // } 93 // }
94 //} 94 //}
95 95
96 +@available(iOS 13.0.0, *)
96 struct Previews_CouponsView_Previews: PreviewProvider { 97 struct Previews_CouponsView_Previews: PreviewProvider {
97 static var uiscreen = UIScreen.main.bounds 98 static var uiscreen = UIScreen.main.bounds
98 static var previews: some View { 99 static var previews: some View {
99 ZStack { 100 ZStack {
100 - Image("ic_back", bundle: Bundle(for: MyEmptyClass.self)) 101 + Image("ic_back", bundle: Bundle(identifier: "framework.warp.ly.WarplySDKFrameworkIOS"))
101 .resizable() 102 .resizable()
102 .frame(width: self.uiscreen.height * 0.025, height: self.uiscreen.height * 0.02) 103 .frame(width: self.uiscreen.height * 0.025, height: self.uiscreen.height * 0.02)
103 .offset(x: -self.uiscreen.width / 2 + self.uiscreen.width * 0.05, y: self.uiscreen.height * 0.07) 104 .offset(x: -self.uiscreen.width / 2 + self.uiscreen.width * 0.05, y: self.uiscreen.height * 0.07)
104 Text("Όλα τα κουπόνια μου") 105 Text("Όλα τα κουπόνια μου")
105 .frame(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.025, alignment: .center) 106 .frame(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.025, alignment: .center)
106 .offset( y: self.uiscreen.height * 0.07) 107 .offset( y: self.uiscreen.height * 0.07)
107 - .frame(width: self.uiscreen.width)
108 } 108 }
109 109
110 } 110 }
......