Manos Chorianopoulos

add ResourcesBundle

Showing 30 changed files with 9 additions and 5 deletions
......@@ -25,7 +25,7 @@ Pod::Spec.new do |spec|
spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "0.1.9" }
# spec.public_header_files = "SwiftWarplyFramework.framework/Headers/*.h"
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/**/*"
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/**/*"
# spec.vendored_frameworks = "SwiftWarplyFramework.framework"
spec.exclude_files = "Classes/Exclude"
......@@ -34,11 +34,11 @@ Pod::Spec.new do |spec|
# spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/**/*.{lproj,storyboard}'] }
# spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/SwiftWarplyFramework/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf}'] }
# spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}', 'SwiftWarplyFramework/SwiftWarplyFramework/Media/*.{xcassets}', 'SwiftWarplyFramework/SwiftWarplyFramework/Media/*.xib'] }
# spec.resource_bundles = { 'ResourceBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}'] }
spec.resource_bundles = { 'ResourcesBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings,bundle}'] }
spec.subspec 'SwiftWarplyFramework' do |resources|
resources.resource_bundle = {'MyBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}']}
end
# spec.subspec 'SwiftWarplyFramework' do |resources|
# resources.resource_bundle = {'MyBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}']}
# end
# spec.resources = "SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets}"
# spec.resources = "SwiftWarplyFramework/SwiftWarplyFramework/*.{lproj,storyboard,xcdatamodeld,xib,png,jpeg,jpg,xcassets,json}"
......
......@@ -32,6 +32,7 @@
1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */; };
1ECA079728D9E66200D2BDE0 /* MerchantAnnotation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */; };
1EDCDFAC28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */; };
1EEEAA4C2966DADB007BD7CC /* ResourcesBundle.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 1EEEAA4B2966DADB007BD7CC /* ResourcesBundle.bundle */; };
7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; };
A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A02F34042882B6E60086465F /* TelcoViewController.swift */; };
A04D31DE288FF670000E43B5 /* HistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A04D31DD288FF670000E43B5 /* HistoryViewController.swift */; };
......@@ -195,6 +196,7 @@
1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MapsViewController.xib; sourceTree = "<group>"; };
1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MerchantAnnotation.swift; sourceTree = "<group>"; };
1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnalysisMoreViewCell.swift; sourceTree = "<group>"; };
1EEEAA4B2966DADB007BD7CC /* ResourcesBundle.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = ResourcesBundle.bundle; sourceTree = "<group>"; };
A02F34042882B6E60086465F /* TelcoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TelcoViewController.swift; sourceTree = "<group>"; };
A04D31DD288FF670000E43B5 /* HistoryViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HistoryViewController.swift; sourceTree = "<group>"; };
A079366D2885D07700064122 /* AnalysisChildViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnalysisChildViewController.swift; sourceTree = "<group>"; };
......@@ -446,6 +448,7 @@
E6A77850282933340045BBA8 /* SwiftWarplyFramework */ = {
isa = PBXGroup;
children = (
1EEEAA4B2966DADB007BD7CC /* ResourcesBundle.bundle */,
1EBC75422922829D004FBE75 /* SpinnerViewController.swift */,
1ECA079028D9E3BA00D2BDE0 /* CSMButton.swift */,
1E108A9728A3FA9B0008B8E7 /* Info.plist */,
......@@ -838,6 +841,7 @@
E6A778E5282933E60045BBA8 /* Main.storyboard in Resources */,
1E108A9628A3F9280008B8E7 /* pf_square_sans_pro_bold.ttf in Resources */,
1E108A9228A3F9280008B8E7 /* pf_square_sans_pro_regular.ttf in Resources */,
1EEEAA4C2966DADB007BD7CC /* ResourcesBundle.bundle in Resources */,
1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */,
E6A778EA282933E60045BBA8 /* WLNativeVideoTableViewCell.xib in Resources */,
1E108A9528A3F9280008B8E7 /* pf_square_sans_pro_bold_italic.ttf in Resources */,
......