Manos Chorianopoulos

add ResourcesBundle

Showing 30 changed files with 9 additions and 5 deletions
...@@ -25,7 +25,7 @@ Pod::Spec.new do |spec| ...@@ -25,7 +25,7 @@ Pod::Spec.new do |spec|
25 25
26 spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "0.1.9" } 26 spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "0.1.9" }
27 # spec.public_header_files = "SwiftWarplyFramework.framework/Headers/*.h" 27 # spec.public_header_files = "SwiftWarplyFramework.framework/Headers/*.h"
28 - spec.source_files = 'SwiftWarplyFramework/**/*', 'SwiftWarplyFramework/*.xcassets', 'SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets', "SwiftWarplyFramework/*.png", "SwiftWarplyFramework/*.xcassets", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets","SwiftWarplyFramework/*.xib", "SwiftWarplyFramework/SwiftWarplyFramework/*.xib", "SwiftWarplyFramework/*.{h,m}", "SwiftWarplyFramework/*.{h,m}", "SwiftWarplyFramework/**/*.{h,m}", "SwiftWarplyFramework/**/**/*.{h,m}", "SwiftWarplyFramework/**/**/**/*.{h,m}", "SwiftWarplyFramework/*.swift", "*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/SwiftWarplyFramework/*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/**/*.{swift,otf,storyboard,ttf,png,jpeg,jpg,xib,xcassets,json}", "SwiftWarplyFramework/SwiftWarplyFramework/*.{swift,otf,storyboard,ttf,png,jpeg,jpg,xib,xcassets,json}", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets/*.{imageset,png,jpeg,jpg,json}", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets/*.imageset/*.{png,jpeg,jpg,json}", "SwiftWarplyFramework/**/*.{png,jpeg,jpg,json,xcassets,imageset,strings}", "SwiftWarplyFramework/Classes/**/*" 28 + spec.source_files = 'SwiftWarplyFramework/**/*', 'SwiftWarplyFramework/*.xcassets', 'SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets', "SwiftWarplyFramework/*.png", "SwiftWarplyFramework/*.xcassets", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets","SwiftWarplyFramework/*.xib", "SwiftWarplyFramework/SwiftWarplyFramework/*.xib", "SwiftWarplyFramework/*.{h,m}", "SwiftWarplyFramework/*.{h,m}", "SwiftWarplyFramework/**/*.{h,m}", "SwiftWarplyFramework/**/**/*.{h,m}", "SwiftWarplyFramework/**/**/**/*.{h,m}", "SwiftWarplyFramework/*.swift", "*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/SwiftWarplyFramework/*.swift", "SwiftWarplyFramework/SwiftWarplyFramework/**/*.{swift,otf,storyboard,ttf,png,jpeg,jpg,xib,xcassets,json}", "SwiftWarplyFramework/SwiftWarplyFramework/*.{swift,otf,storyboard,ttf,png,jpeg,jpg,xib,xcassets,json}", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets/*.{imageset,png,jpeg,jpg,json}", "SwiftWarplyFramework/SwiftWarplyFramework/*.xcassets/*.imageset/*.{png,jpeg,jpg,json}", "SwiftWarplyFramework/**/*.{png,jpeg,jpg,json,xcassets,imageset,strings,bundle}", "SwiftWarplyFramework/Classes/**/*"
29 # spec.vendored_frameworks = "SwiftWarplyFramework.framework" 29 # spec.vendored_frameworks = "SwiftWarplyFramework.framework"
30 spec.exclude_files = "Classes/Exclude" 30 spec.exclude_files = "Classes/Exclude"
31 31
...@@ -34,11 +34,11 @@ Pod::Spec.new do |spec| ...@@ -34,11 +34,11 @@ Pod::Spec.new do |spec|
34 # spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/**/*.{lproj,storyboard}'] } 34 # spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/**/*.{lproj,storyboard}'] }
35 # spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/SwiftWarplyFramework/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf}'] } 35 # spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/SwiftWarplyFramework/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf}'] }
36 # spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}', 'SwiftWarplyFramework/SwiftWarplyFramework/Media/*.{xcassets}', 'SwiftWarplyFramework/SwiftWarplyFramework/Media/*.xib'] } 36 # spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}', 'SwiftWarplyFramework/SwiftWarplyFramework/Media/*.{xcassets}', 'SwiftWarplyFramework/SwiftWarplyFramework/Media/*.xib'] }
37 - # spec.resource_bundles = { 'ResourceBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}'] } 37 + spec.resource_bundles = { 'ResourcesBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings,bundle}'] }
38 38
39 - spec.subspec 'SwiftWarplyFramework' do |resources| 39 + # spec.subspec 'SwiftWarplyFramework' do |resources|
40 - resources.resource_bundle = {'MyBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}']} 40 + # resources.resource_bundle = {'MyBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}']}
41 - end 41 + # end
42 42
43 # spec.resources = "SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets}" 43 # spec.resources = "SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets}"
44 # spec.resources = "SwiftWarplyFramework/SwiftWarplyFramework/*.{lproj,storyboard,xcdatamodeld,xib,png,jpeg,jpg,xcassets,json}" 44 # spec.resources = "SwiftWarplyFramework/SwiftWarplyFramework/*.{lproj,storyboard,xcdatamodeld,xib,png,jpeg,jpg,xcassets,json}"
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
32 1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */; }; 32 1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */; };
33 1ECA079728D9E66200D2BDE0 /* MerchantAnnotation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */; }; 33 1ECA079728D9E66200D2BDE0 /* MerchantAnnotation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */; };
34 1EDCDFAC28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */; }; 34 1EDCDFAC28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */; };
35 + 1EEEAA4C2966DADB007BD7CC /* ResourcesBundle.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 1EEEAA4B2966DADB007BD7CC /* ResourcesBundle.bundle */; };
35 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; }; 36 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; };
36 A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A02F34042882B6E60086465F /* TelcoViewController.swift */; }; 37 A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A02F34042882B6E60086465F /* TelcoViewController.swift */; };
37 A04D31DE288FF670000E43B5 /* HistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A04D31DD288FF670000E43B5 /* HistoryViewController.swift */; }; 38 A04D31DE288FF670000E43B5 /* HistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A04D31DD288FF670000E43B5 /* HistoryViewController.swift */; };
...@@ -195,6 +196,7 @@ ...@@ -195,6 +196,7 @@
195 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MapsViewController.xib; sourceTree = "<group>"; }; 196 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MapsViewController.xib; sourceTree = "<group>"; };
196 1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MerchantAnnotation.swift; sourceTree = "<group>"; }; 197 1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MerchantAnnotation.swift; sourceTree = "<group>"; };
197 1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnalysisMoreViewCell.swift; sourceTree = "<group>"; }; 198 1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnalysisMoreViewCell.swift; sourceTree = "<group>"; };
199 + 1EEEAA4B2966DADB007BD7CC /* ResourcesBundle.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = ResourcesBundle.bundle; sourceTree = "<group>"; };
198 A02F34042882B6E60086465F /* TelcoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TelcoViewController.swift; sourceTree = "<group>"; }; 200 A02F34042882B6E60086465F /* TelcoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TelcoViewController.swift; sourceTree = "<group>"; };
199 A04D31DD288FF670000E43B5 /* HistoryViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HistoryViewController.swift; sourceTree = "<group>"; }; 201 A04D31DD288FF670000E43B5 /* HistoryViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HistoryViewController.swift; sourceTree = "<group>"; };
200 A079366D2885D07700064122 /* AnalysisChildViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnalysisChildViewController.swift; sourceTree = "<group>"; }; 202 A079366D2885D07700064122 /* AnalysisChildViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnalysisChildViewController.swift; sourceTree = "<group>"; };
...@@ -446,6 +448,7 @@ ...@@ -446,6 +448,7 @@
446 E6A77850282933340045BBA8 /* SwiftWarplyFramework */ = { 448 E6A77850282933340045BBA8 /* SwiftWarplyFramework */ = {
447 isa = PBXGroup; 449 isa = PBXGroup;
448 children = ( 450 children = (
451 + 1EEEAA4B2966DADB007BD7CC /* ResourcesBundle.bundle */,
449 1EBC75422922829D004FBE75 /* SpinnerViewController.swift */, 452 1EBC75422922829D004FBE75 /* SpinnerViewController.swift */,
450 1ECA079028D9E3BA00D2BDE0 /* CSMButton.swift */, 453 1ECA079028D9E3BA00D2BDE0 /* CSMButton.swift */,
451 1E108A9728A3FA9B0008B8E7 /* Info.plist */, 454 1E108A9728A3FA9B0008B8E7 /* Info.plist */,
...@@ -838,6 +841,7 @@ ...@@ -838,6 +841,7 @@
838 E6A778E5282933E60045BBA8 /* Main.storyboard in Resources */, 841 E6A778E5282933E60045BBA8 /* Main.storyboard in Resources */,
839 1E108A9628A3F9280008B8E7 /* pf_square_sans_pro_bold.ttf in Resources */, 842 1E108A9628A3F9280008B8E7 /* pf_square_sans_pro_bold.ttf in Resources */,
840 1E108A9228A3F9280008B8E7 /* pf_square_sans_pro_regular.ttf in Resources */, 843 1E108A9228A3F9280008B8E7 /* pf_square_sans_pro_regular.ttf in Resources */,
844 + 1EEEAA4C2966DADB007BD7CC /* ResourcesBundle.bundle in Resources */,
841 1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */, 845 1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */,
842 E6A778EA282933E60045BBA8 /* WLNativeVideoTableViewCell.xib in Resources */, 846 E6A778EA282933E60045BBA8 /* WLNativeVideoTableViewCell.xib in Resources */,
843 1E108A9528A3F9280008B8E7 /* pf_square_sans_pro_bold_italic.ttf in Resources */, 847 1E108A9528A3F9280008B8E7 /* pf_square_sans_pro_bold_italic.ttf in Resources */,
......