diff --git a/DDKitSwift_Netfox.podspec b/DDKitSwift_Netfox.podspec index f88560f..86e2cc6 100644 --- a/DDKitSwift_Netfox.podspec +++ b/DDKitSwift_Netfox.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'DDKitSwift_Netfox' s.swift_version = '5.0' -s.version = '3.0.3' +s.version = '3.0.4' s.license= { :type => "MIT", :file => "LICENSE" } s.summary = 'a quick look on all executed network requests performed by netfox' s.homepage = 'https://github.com/DamonHu/DDKitSwift_Netfox' @@ -10,10 +10,10 @@ s.source = { :git => "https://github.com/DamonHu/DDKitSwift_Netfox.git", :tag => s.requires_arc = true s.ios.deployment_target = '12.0' s.resource_bundles = { - 'NetFoxZXKit' => ['pod/assets/**/*'] + 'DDKitSwift_Netfox' => ['pod/assets/**/*'] } s.source_files = "pod/*.swift" s.dependency 'netfox', '1.21.0' -s.dependency 'DDKitSwift/core', '~> 3.0.0' +s.dependency 'DDKitSwift/core', '~> 3' s.documentation_url = 'https://github.com/DamonHu/DDKitSwift_Netfox' end diff --git a/example/DDKitSwift_Netfox.xcworkspace/xcuserdata/damon.xcuserdatad/UserInterfaceState.xcuserstate b/example/DDKitSwift_Netfox.xcworkspace/xcuserdata/damon.xcuserdatad/UserInterfaceState.xcuserstate index 7753197..8cf8d08 100644 Binary files a/example/DDKitSwift_Netfox.xcworkspace/xcuserdata/damon.xcuserdatad/UserInterfaceState.xcuserstate and b/example/DDKitSwift_Netfox.xcworkspace/xcuserdata/damon.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/example/Podfile b/example/Podfile index 8d669ad..9c80ce7 100644 --- a/example/Podfile +++ b/example/Podfile @@ -7,5 +7,5 @@ target 'DDKitSwift_Netfox' do # Pods for DDKitSwift_Netfox pod 'netfox', '~> 1.21.0' - pod 'DDKitSwift/core', '~> 3.0.0' + pod 'DDKitSwift/core', '~> 3' end diff --git a/pod/DDKitSwift_Netfox.swift b/pod/DDKitSwift_Netfox.swift index 7fccba0..c736454 100644 --- a/pod/DDKitSwift_Netfox.swift +++ b/pod/DDKitSwift_Netfox.swift @@ -11,14 +11,14 @@ import netfox func UIImageHDBoundle(named: String?) -> UIImage? { guard let name = named else { return nil } - guard let bundlePath = Bundle(for: DDKitSwift_Netfox.self).path(forResource: "DDKitSwift_NetFox", ofType: "bundle") else { return UIImage(named: name) } + guard let bundlePath = Bundle(for: DDKitSwift_Netfox.self).path(forResource: "DDKitSwift_Netfox", ofType: "bundle") else { return UIImage(named: name) } guard let bundle = Bundle(path: bundlePath) else { return UIImage(named: name) } return UIImage(named: name, in: bundle, compatibleWith: nil) } extension String{ var ZXLocaleString: String { - guard let bundlePath = Bundle(for: DDKitSwift_Netfox.self).path(forResource: "DDKitSwift_NetFox", ofType: "bundle") else { return NSLocalizedString(self, comment: "") } + guard let bundlePath = Bundle(for: DDKitSwift_Netfox.self).path(forResource: "DDKitSwift_Netfox", ofType: "bundle") else { return NSLocalizedString(self, comment: "") } guard let bundle = Bundle(path: bundlePath) else { return NSLocalizedString(self, comment: "") } let msg = NSLocalizedString(self, tableName: nil, bundle: bundle, value: "", comment: "") return msg