diff --git a/Example/Podfile.lock b/Example/Podfile.lock index f485c6c..4aa870a 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - RLPSwift (0.0.2) + - RLPSwift (0.0.3) DEPENDENCIES: - RLPSwift (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: ../ SPEC CHECKSUMS: - RLPSwift: 125af65a01a582a434e1c6475daffdbb23c24b47 + RLPSwift: 7d5bbca20082ec480fccd882e949f3ad9919d16f PODFILE CHECKSUM: 84b2a78a8f8ade04a04408cb4b394e57a75da70b diff --git a/Example/Pods/Local Podspecs/RLPSwift.podspec.json b/Example/Pods/Local Podspecs/RLPSwift.podspec.json index f875de2..666b7da 100644 --- a/Example/Pods/Local Podspecs/RLPSwift.podspec.json +++ b/Example/Pods/Local Podspecs/RLPSwift.podspec.json @@ -1,6 +1,6 @@ { "name": "RLPSwift", - "version": "0.0.2", + "version": "0.0.3", "license": { "type": "MIT", "file": "LICENSE" @@ -10,7 +10,7 @@ "summary": "Recursive Length Prefix encoding written in Swift", "source": { "git": "https://github.com/bitfwdcommunity/RLPSwift.git", - "tag": "v0.0.2" + "tag": "v0.0.3" }, "platforms": { "ios": "9.0" diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index f485c6c..4aa870a 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,5 +1,5 @@ PODS: - - RLPSwift (0.0.2) + - RLPSwift (0.0.3) DEPENDENCIES: - RLPSwift (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: ../ SPEC CHECKSUMS: - RLPSwift: 125af65a01a582a434e1c6475daffdbb23c24b47 + RLPSwift: 7d5bbca20082ec480fccd882e949f3ad9919d16f PODFILE CHECKSUM: 84b2a78a8f8ade04a04408cb4b394e57a75da70b diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 2a6accc..2380703 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -9,12 +9,13 @@ /* Begin PBXBuildFile section */ 18249EDBB2AE5191F59E72021FD3D7F2 /* Pods-RLPSwiftExample-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 42361C8EB010CB71075267293874C688 /* Pods-RLPSwiftExample-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 48CCCF6F0596EFF2005D7512D44CBB5A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; - 87F9C329D5544789B917B3C37664762F /* RLPSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 61D8E21206D9A30D4409B283965DF1A8 /* RLPSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 55B8677A16259678B2F29FA2D127B49F /* RLP.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7ED56D591DAB37127A569DF61D651B3F /* RLP.swift */; }; + 6A7102BD26AD022BA7A3B39D8763AB9E /* UInt32+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7820BFDD88FAAE12BD1ABB1A0FA685EA /* UInt32+Extensions.swift */; }; + 6D6C2E1419A18D0C9F67617B7D0275BB /* RLPSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 71A9E93E6B5F6F45597844B3F674F623 /* RLPSwift-dummy.m */; }; + 87F9C329D5544789B917B3C37664762F /* RLPSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A011A16131902271093C22B3726CDB0F /* RLPSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 9698DC1F30141E9882DD45EAFC623637 /* Pods-RLPSwiftExample-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DFBA6C64F7DF48B9F4CB0B6F97663546 /* Pods-RLPSwiftExample-dummy.m */; }; - A66A7DCF83C6103FE1E4138A39AF56C2 /* RLP.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC921E287DF871F08AE5F0664CDBCA81 /* RLP.swift */; }; - C8B9FE7B7C28DE31B7E094CDA014B370 /* RLPSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2E0E4B4BAC8CC2973AE3F75F16E9BD3E /* RLPSwift-dummy.m */; }; DEAFF047F6942D2B6C05C08ABE0E4CC1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; - F0FB002DAF750F9DED32B5DFED728835 /* RLPSwift.h in Headers */ = {isa = PBXBuildFile; fileRef = 76A98F71A03C1CD1CF68397DDAC8347F /* RLPSwift.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F0FB002DAF750F9DED32B5DFED728835 /* RLPSwift.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DC86CAB34FE92750E84D59BF25E006A /* RLPSwift.h */; settings = {ATTRIBUTES = (Public, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -28,28 +29,29 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 0498CD126BE7BB9ED7FEEAFCA5C384CA /* RLPSwift.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RLPSwift.xcconfig; sourceTree = ""; }; + 041A0B1B4E68E3AA2FB1091D7BD8A142 /* RLPSwift.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RLPSwift.xcconfig; sourceTree = ""; }; + 0BADEFA74E54274DCD681F9B8A9AAE62 /* RLPSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = RLPSwift.modulemap; sourceTree = ""; }; 150F7BF84A54121F4F5B8EDA6793C2E7 /* Pods-RLPSwiftExample-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-RLPSwiftExample-acknowledgements.markdown"; sourceTree = ""; }; 15E3F99B1723A3E34252D1B413B211DB /* Pods_RLPSwiftExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_RLPSwiftExample.framework; path = "Pods-RLPSwiftExample.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 2E0E4B4BAC8CC2973AE3F75F16E9BD3E /* RLPSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RLPSwift-dummy.m"; sourceTree = ""; }; + 18C274BF6D59B6A5E0B55731B6F8B0AE /* RLPSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RLPSwift-prefix.pch"; sourceTree = ""; }; + 2DC86CAB34FE92750E84D59BF25E006A /* RLPSwift.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = RLPSwift.h; path = Source/RLPSwift.h; sourceTree = ""; }; 42361C8EB010CB71075267293874C688 /* Pods-RLPSwiftExample-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-RLPSwiftExample-umbrella.h"; sourceTree = ""; }; - 4745F48761AC442F0A48FDF867F5AC93 /* RLPSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RLPSwift-prefix.pch"; sourceTree = ""; }; - 61D8E21206D9A30D4409B283965DF1A8 /* RLPSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RLPSwift-umbrella.h"; sourceTree = ""; }; 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 76A98F71A03C1CD1CF68397DDAC8347F /* RLPSwift.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = RLPSwift.h; path = Source/RLPSwift.h; sourceTree = ""; }; + 71A9E93E6B5F6F45597844B3F674F623 /* RLPSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RLPSwift-dummy.m"; sourceTree = ""; }; + 7820BFDD88FAAE12BD1ABB1A0FA685EA /* UInt32+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UInt32+Extensions.swift"; path = "Source/UInt32+Extensions.swift"; sourceTree = ""; }; + 7ED56D591DAB37127A569DF61D651B3F /* RLP.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RLP.swift; path = Source/RLP.swift; sourceTree = ""; }; 83464A405FAB879F3BDA91A50BC7D9C6 /* Pods-RLPSwiftExample-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RLPSwiftExample-frameworks.sh"; sourceTree = ""; }; 86865DAB38360BE3BB6965F22C377E4C /* Pods-RLPSwiftExample.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-RLPSwiftExample.modulemap"; sourceTree = ""; }; 86F4138EAC1E40962AE3B8C5310086F9 /* Pods-RLPSwiftExample-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-RLPSwiftExample-acknowledgements.plist"; sourceTree = ""; }; 89F267059FAF8EF21C2EE80E023A1482 /* RLPSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RLPSwift.framework; path = RLPSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - AAC91CB5753A56BE0029520390D0986E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A011A16131902271093C22B3726CDB0F /* RLPSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RLPSwift-umbrella.h"; sourceTree = ""; }; B99D80CDFD19CB67EDA88454B0D5AF98 /* Pods-RLPSwiftExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RLPSwiftExample.debug.xcconfig"; sourceTree = ""; }; + BBCD20E335DED971690ACDEC51701D21 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; DC4E14426D3A14404223773392D417FE /* Pods-RLPSwiftExample-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-RLPSwiftExample-resources.sh"; sourceTree = ""; }; DFBA6C64F7DF48B9F4CB0B6F97663546 /* Pods-RLPSwiftExample-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-RLPSwiftExample-dummy.m"; sourceTree = ""; }; E5853C15E191A0B485BB7E71C980C917 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - EDB2DB7B0904B33B6033CB8BC25B13D0 /* RLPSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = RLPSwift.modulemap; sourceTree = ""; }; F44B2555412AB5AA7774318E5F57C28D /* Pods-RLPSwiftExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-RLPSwiftExample.release.xcconfig"; sourceTree = ""; }; - FC921E287DF871F08AE5F0664CDBCA81 /* RLP.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RLP.swift; path = Source/RLP.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -72,10 +74,24 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 26A4E234E032A7EF392B98952D9F616A /* Development Pods */ = { + 24F864DE8D036734D97D8DE85FB9B35F /* Support Files */ = { isa = PBXGroup; children = ( - 8E738B407808AF9F10078EE2F55B9431 /* RLPSwift */, + BBCD20E335DED971690ACDEC51701D21 /* Info.plist */, + 0BADEFA74E54274DCD681F9B8A9AAE62 /* RLPSwift.modulemap */, + 041A0B1B4E68E3AA2FB1091D7BD8A142 /* RLPSwift.xcconfig */, + 71A9E93E6B5F6F45597844B3F674F623 /* RLPSwift-dummy.m */, + 18C274BF6D59B6A5E0B55731B6F8B0AE /* RLPSwift-prefix.pch */, + A011A16131902271093C22B3726CDB0F /* RLPSwift-umbrella.h */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/RLPSwift"; + sourceTree = ""; + }; + 653D4659AC0EF949546A2C73B0E297D6 /* Development Pods */ = { + isa = PBXGroup; + children = ( + 903740601DC37401C6202DF3EEC7AB9C /* RLPSwift */, ); name = "Development Pods"; sourceTree = ""; @@ -84,19 +100,20 @@ isa = PBXGroup; children = ( 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - 26A4E234E032A7EF392B98952D9F616A /* Development Pods */, + 653D4659AC0EF949546A2C73B0E297D6 /* Development Pods */, BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, D0A98B1FC77C453EC730436BA2B76CB8 /* Products */, F7C58945A385FB7AF1F2B430F807A726 /* Targets Support Files */, ); sourceTree = ""; }; - 8E738B407808AF9F10078EE2F55B9431 /* RLPSwift */ = { + 903740601DC37401C6202DF3EEC7AB9C /* RLPSwift */ = { isa = PBXGroup; children = ( - FC921E287DF871F08AE5F0664CDBCA81 /* RLP.swift */, - 76A98F71A03C1CD1CF68397DDAC8347F /* RLPSwift.h */, - FB1B51E7529A7AB0C555A1EAA62C7C1B /* Support Files */, + 7ED56D591DAB37127A569DF61D651B3F /* RLP.swift */, + 2DC86CAB34FE92750E84D59BF25E006A /* RLPSwift.h */, + 7820BFDD88FAAE12BD1ABB1A0FA685EA /* UInt32+Extensions.swift */, + 24F864DE8D036734D97D8DE85FB9B35F /* Support Files */, ); name = RLPSwift; path = ../..; @@ -153,20 +170,6 @@ name = "Targets Support Files"; sourceTree = ""; }; - FB1B51E7529A7AB0C555A1EAA62C7C1B /* Support Files */ = { - isa = PBXGroup; - children = ( - AAC91CB5753A56BE0029520390D0986E /* Info.plist */, - EDB2DB7B0904B33B6033CB8BC25B13D0 /* RLPSwift.modulemap */, - 0498CD126BE7BB9ED7FEEAFCA5C384CA /* RLPSwift.xcconfig */, - 2E0E4B4BAC8CC2973AE3F75F16E9BD3E /* RLPSwift-dummy.m */, - 4745F48761AC442F0A48FDF867F5AC93 /* RLPSwift-prefix.pch */, - 61D8E21206D9A30D4409B283965DF1A8 /* RLPSwift-umbrella.h */, - ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/RLPSwift"; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -212,7 +215,7 @@ isa = PBXNativeTarget; buildConfigurationList = 47D56F435FA90C60404A88598CC9D671 /* Build configuration list for PBXNativeTarget "RLPSwift" */; buildPhases = ( - 6A8B433B1F633F1150C50FF3438AF997 /* Sources */, + 1707DEEEF1D01BF13684F72744E18E11 /* Sources */, A017B619F4F2B104A9713A900D528CFF /* Frameworks */, EEB554AB7838FF0B609C3C775979A07E /* Headers */, ); @@ -253,12 +256,13 @@ /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ - 6A8B433B1F633F1150C50FF3438AF997 /* Sources */ = { + 1707DEEEF1D01BF13684F72744E18E11 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - A66A7DCF83C6103FE1E4138A39AF56C2 /* RLP.swift in Sources */, - C8B9FE7B7C28DE31B7E094CDA014B370 /* RLPSwift-dummy.m in Sources */, + 55B8677A16259678B2F29FA2D127B49F /* RLP.swift in Sources */, + 6D6C2E1419A18D0C9F67617B7D0275BB /* RLPSwift-dummy.m in Sources */, + 6A7102BD26AD022BA7A3B39D8763AB9E /* UInt32+Extensions.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -339,7 +343,7 @@ }; 877EF20228E19963137E803F38B164FC /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0498CD126BE7BB9ED7FEEAFCA5C384CA /* RLPSwift.xcconfig */; + baseConfigurationReference = 041A0B1B4E68E3AA2FB1091D7BD8A142 /* RLPSwift.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -370,7 +374,7 @@ }; 9E63D4FA43024A1C156ECE44E4FA8132 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0498CD126BE7BB9ED7FEEAFCA5C384CA /* RLPSwift.xcconfig */; + baseConfigurationReference = 041A0B1B4E68E3AA2FB1091D7BD8A142 /* RLPSwift.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; diff --git a/Example/Pods/Target Support Files/RLPSwift/Info.plist b/Example/Pods/Target Support Files/RLPSwift/Info.plist index 38ad71a..3f03870 100644 --- a/Example/Pods/Target Support Files/RLPSwift/Info.plist +++ b/Example/Pods/Target Support Files/RLPSwift/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.0.2 + 0.0.3 CFBundleSignature ???? CFBundleVersion diff --git a/Example/RLPSwiftExample/ViewController.swift b/Example/RLPSwiftExample/ViewController.swift index e1df333..736db71 100644 --- a/Example/RLPSwiftExample/ViewController.swift +++ b/Example/RLPSwiftExample/ViewController.swift @@ -15,10 +15,10 @@ class ViewController: UIViewController { super.viewDidLoad() do { - let encoded = try RLP.encode("hello world") + let encoded = try RLP.encode("dog") print("Success: \(encoded)") } catch { - print("Error: \(error)") + print("Error: \(error.localizedDescription)") } }