diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..f36e106 --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - lz-string-objc (0.1.0) + +DEPENDENCIES: + - lz-string-objc (from `../`) + +EXTERNAL SOURCES: + lz-string-objc: + :path: "../" + +SPEC CHECKSUMS: + lz-string-objc: 78f22c7e466ffa7f92873d486d3d54696a28ca3d + +PODFILE CHECKSUM: 59df45e6eae50654720630ac2d77267090c1f8d4 + +COCOAPODS: 1.11.3 diff --git a/Example/Pods/Local Podspecs/lz-string-objc.podspec.json b/Example/Pods/Local Podspecs/lz-string-objc.podspec.json new file mode 100644 index 0000000..a8c29ac --- /dev/null +++ b/Example/Pods/Local Podspecs/lz-string-objc.podspec.json @@ -0,0 +1,22 @@ +{ + "name": "lz-string-objc", + "version": "0.1.0", + "summary": "A short description of lz-string-objc.", + "description": "TODO: Add long description of the pod here.", + "homepage": "https://github.com/wangguibin1993@gmail.com/lz-string-objc", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "wangguibin1993@gmail.com": "864562082@qq.com" + }, + "source": { + "git": "https://github.com/wangguibin1993@gmail.com/lz-string-objc.git", + "tag": "0.1.0" + }, + "platforms": { + "ios": "10.0" + }, + "source_files": "lz-string-objc/Classes/**/*" +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..f36e106 --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - lz-string-objc (0.1.0) + +DEPENDENCIES: + - lz-string-objc (from `../`) + +EXTERNAL SOURCES: + lz-string-objc: + :path: "../" + +SPEC CHECKSUMS: + lz-string-objc: 78f22c7e466ffa7f92873d486d3d54696a28ca3d + +PODFILE CHECKSUM: 59df45e6eae50654720630ac2d77267090c1f8d4 + +COCOAPODS: 1.11.3 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..372edcd --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,779 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 0AD3ADCA9BAD6DA30D49C49B1374310A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + 1DD19A9A2EAC4A4B317BDD7E4DC8A808 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + 286D58F30058F5C5E28E84AD28DDE3DD /* Pods-lz-string-objc_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DD2B07C870BA5A2FEB767CFCD0226E0A /* Pods-lz-string-objc_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 314258D76C27BCEBCA7CFB6A99B4E7D2 /* lz-string-objc-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F47C8BC29C2B76925450FFC9FA80BBAA /* lz-string-objc-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4F14B8645F2E90C845CB4CB89CCA68F7 /* Pods-lz-string-objc_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EFCF14614D610C94C13AC22B9BEAAFCB /* Pods-lz-string-objc_Example-dummy.m */; }; + 58FF1C58A1B2933A7059B2D13EEACEB4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + 8EE966EDBAB2B9CA264BCCBBC347CF8C /* Pods-lz-string-objc_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 788983A2ED9EEF04311B2551DFF736B2 /* Pods-lz-string-objc_Tests-dummy.m */; }; + CA029FC129155340006C81B9 /* LZStringObjc.h in Headers */ = {isa = PBXBuildFile; fileRef = CA029FBF29155340006C81B9 /* LZStringObjc.h */; }; + CA029FC229155340006C81B9 /* LZStringObjc.m in Sources */ = {isa = PBXBuildFile; fileRef = CA029FC029155340006C81B9 /* LZStringObjc.m */; }; + D93D25D3E538FC9E50E131F257E845BA /* Pods-lz-string-objc_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E58FA2AFDA4D33F4F653CD9496E1F073 /* Pods-lz-string-objc_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F85FA2F748193CDB883084381D5D20BC /* lz-string-objc-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D8764F054375A553842B2ABB1534625 /* lz-string-objc-dummy.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 54E1A44147A7BEE6D9F1310065317F05 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 728293F6C1ADEFB54C51653DCF158E32; + remoteInfo = "Pods-lz-string-objc_Example"; + }; + E2E70D28F8FDE23CAD58E18D1EF8326B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 85BD017A26F76AD30939BD0A1493F830; + remoteInfo = "lz-string-objc"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 008ED1D6A4912CCF70056F548F14919D /* Pods-lz-string-objc_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-lz-string-objc_Tests-Info.plist"; sourceTree = ""; }; + 047A40B090E83815AD4AD5722C73C26F /* lz-string-objc-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "lz-string-objc-prefix.pch"; sourceTree = ""; }; + 1E9FC464A8D71D2A733675BCAD55A6AD /* Pods-lz-string-objc_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-lz-string-objc_Example-acknowledgements.markdown"; sourceTree = ""; }; + 1F24569A6B3D6BAF24B34FD42665C3A0 /* lz-string-objc.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = "lz-string-objc.podspec"; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 2C130D37FD467D41EC33C02FDCA08722 /* Pods-lz-string-objc_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-lz-string-objc_Example.modulemap"; sourceTree = ""; }; + 3674015BA9E94ACC77790843D4AFE40A /* Pods-lz-string-objc_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-lz-string-objc_Tests.release.xcconfig"; sourceTree = ""; }; + 42F432696D10655BC902F02CCCDFBFE0 /* Pods-lz-string-objc_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-lz-string-objc_Example-frameworks.sh"; sourceTree = ""; }; + 4452B32F59584E98C72C66AD4267B037 /* Pods-lz-string-objc_Example */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-lz-string-objc_Example"; path = Pods_lz_string_objc_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 491965D5F2067641F69C12861B83E56E /* lz-string-objc.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "lz-string-objc.release.xcconfig"; sourceTree = ""; }; + 4FF6F45C0F6A86C8B64AB60FFEBB2453 /* Pods-lz-string-objc_Tests */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-lz-string-objc_Tests"; path = Pods_lz_string_objc_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 5508B9F05A9031BAE9D6E4730E897B54 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 6F17CCDCA4902125C9D50B061E8BD165 /* lz-string-objc-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "lz-string-objc-Info.plist"; sourceTree = ""; }; + 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 77AEF0AAE607BAD4FD2BB09ACC87F159 /* lz-string-objc.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "lz-string-objc.debug.xcconfig"; sourceTree = ""; }; + 788983A2ED9EEF04311B2551DFF736B2 /* Pods-lz-string-objc_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-lz-string-objc_Tests-dummy.m"; sourceTree = ""; }; + 7A485301C23F7E5037DA79342061B87B /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + 7D8764F054375A553842B2ABB1534625 /* lz-string-objc-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "lz-string-objc-dummy.m"; sourceTree = ""; }; + 90F2ED5AE321B31B2FC3497D60BC9282 /* Pods-lz-string-objc_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-lz-string-objc_Tests-acknowledgements.plist"; sourceTree = ""; }; + 9AB5E6877EE0D742FDC74E46192D32D2 /* Pods-lz-string-objc_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-lz-string-objc_Example-acknowledgements.plist"; sourceTree = ""; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + A3BEAB44F6469E1B1CA7DFBCAB8C414F /* Pods-lz-string-objc_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-lz-string-objc_Example.release.xcconfig"; sourceTree = ""; }; + B57AE4B362B3EC3DA0AFB907A644F8D1 /* Pods-lz-string-objc_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-lz-string-objc_Tests-acknowledgements.markdown"; sourceTree = ""; }; + BC1543ADAE05B66596EE2ED987389A9D /* Pods-lz-string-objc_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-lz-string-objc_Tests.modulemap"; sourceTree = ""; }; + CA029FBF29155340006C81B9 /* LZStringObjc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LZStringObjc.h; sourceTree = ""; }; + CA029FC029155340006C81B9 /* LZStringObjc.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LZStringObjc.m; sourceTree = ""; }; + D2D5F307FD2044F8FCFDC13D7E4CB79D /* Pods-lz-string-objc_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-lz-string-objc_Example.debug.xcconfig"; sourceTree = ""; }; + D353F3034E19386BE97D07AF82EFAF42 /* lz-string-objc.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "lz-string-objc.modulemap"; sourceTree = ""; }; + DD2B07C870BA5A2FEB767CFCD0226E0A /* Pods-lz-string-objc_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-lz-string-objc_Example-umbrella.h"; sourceTree = ""; }; + E58FA2AFDA4D33F4F653CD9496E1F073 /* Pods-lz-string-objc_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-lz-string-objc_Tests-umbrella.h"; sourceTree = ""; }; + EE20F05DE67551F5D47E262A703F7B56 /* lz-string-objc */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "lz-string-objc"; path = lz_string_objc.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + EFCF14614D610C94C13AC22B9BEAAFCB /* Pods-lz-string-objc_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-lz-string-objc_Example-dummy.m"; sourceTree = ""; }; + F47C8BC29C2B76925450FFC9FA80BBAA /* lz-string-objc-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "lz-string-objc-umbrella.h"; sourceTree = ""; }; + F92E48761E42174E394CE9BAA99EACE0 /* Pods-lz-string-objc_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-lz-string-objc_Tests.debug.xcconfig"; sourceTree = ""; }; + FAC7652FBEF7A795F14D575612FF8ED0 /* Pods-lz-string-objc_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-lz-string-objc_Example-Info.plist"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 07BF30A1E314D7134EE864DC9F6A9AB6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 58FF1C58A1B2933A7059B2D13EEACEB4 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C80F66773383F289DF8B6226BCE6D7FC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 0AD3ADCA9BAD6DA30D49C49B1374310A /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F53F02FA5781767016FEC05B29B86ADD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1DD19A9A2EAC4A4B317BDD7E4DC8A808 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3DDBB230B64F4FF3244F959F3D095F64 /* Support Files */ = { + isa = PBXGroup; + children = ( + D353F3034E19386BE97D07AF82EFAF42 /* lz-string-objc.modulemap */, + 7D8764F054375A553842B2ABB1534625 /* lz-string-objc-dummy.m */, + 6F17CCDCA4902125C9D50B061E8BD165 /* lz-string-objc-Info.plist */, + 047A40B090E83815AD4AD5722C73C26F /* lz-string-objc-prefix.pch */, + F47C8BC29C2B76925450FFC9FA80BBAA /* lz-string-objc-umbrella.h */, + 77AEF0AAE607BAD4FD2BB09ACC87F159 /* lz-string-objc.debug.xcconfig */, + 491965D5F2067641F69C12861B83E56E /* lz-string-objc.release.xcconfig */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/lz-string-objc"; + sourceTree = ""; + }; + 578452D2E740E91742655AC8F1636D1F /* iOS */ = { + isa = PBXGroup; + children = ( + 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + 5C5853AE0F7721D41572F28B8FB69B28 /* Pod */ = { + isa = PBXGroup; + children = ( + 7A485301C23F7E5037DA79342061B87B /* LICENSE */, + 1F24569A6B3D6BAF24B34FD42665C3A0 /* lz-string-objc.podspec */, + 5508B9F05A9031BAE9D6E4730E897B54 /* README.md */, + ); + name = Pod; + sourceTree = ""; + }; + 64360F7D201ABEC9B32CA8D20DE0D31C /* Products */ = { + isa = PBXGroup; + children = ( + EE20F05DE67551F5D47E262A703F7B56 /* lz-string-objc */, + 4452B32F59584E98C72C66AD4267B037 /* Pods-lz-string-objc_Example */, + 4FF6F45C0F6A86C8B64AB60FFEBB2453 /* Pods-lz-string-objc_Tests */, + ); + name = Products; + sourceTree = ""; + }; + 66296801C1103B60156FD5C4E5C2F443 /* Pods-lz-string-objc_Example */ = { + isa = PBXGroup; + children = ( + 2C130D37FD467D41EC33C02FDCA08722 /* Pods-lz-string-objc_Example.modulemap */, + 1E9FC464A8D71D2A733675BCAD55A6AD /* Pods-lz-string-objc_Example-acknowledgements.markdown */, + 9AB5E6877EE0D742FDC74E46192D32D2 /* Pods-lz-string-objc_Example-acknowledgements.plist */, + EFCF14614D610C94C13AC22B9BEAAFCB /* Pods-lz-string-objc_Example-dummy.m */, + 42F432696D10655BC902F02CCCDFBFE0 /* Pods-lz-string-objc_Example-frameworks.sh */, + FAC7652FBEF7A795F14D575612FF8ED0 /* Pods-lz-string-objc_Example-Info.plist */, + DD2B07C870BA5A2FEB767CFCD0226E0A /* Pods-lz-string-objc_Example-umbrella.h */, + D2D5F307FD2044F8FCFDC13D7E4CB79D /* Pods-lz-string-objc_Example.debug.xcconfig */, + A3BEAB44F6469E1B1CA7DFBCAB8C414F /* Pods-lz-string-objc_Example.release.xcconfig */, + ); + name = "Pods-lz-string-objc_Example"; + path = "Target Support Files/Pods-lz-string-objc_Example"; + sourceTree = ""; + }; + A411E1E92CA9E7DC6FB9BBEDC1829C84 /* Development Pods */ = { + isa = PBXGroup; + children = ( + E3FE508D78E0A7FB40FC7572B3B3785A /* lz-string-objc */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + B5C6B69018AB540C5B36DB2DC81B15A0 /* Pods-lz-string-objc_Tests */ = { + isa = PBXGroup; + children = ( + BC1543ADAE05B66596EE2ED987389A9D /* Pods-lz-string-objc_Tests.modulemap */, + B57AE4B362B3EC3DA0AFB907A644F8D1 /* Pods-lz-string-objc_Tests-acknowledgements.markdown */, + 90F2ED5AE321B31B2FC3497D60BC9282 /* Pods-lz-string-objc_Tests-acknowledgements.plist */, + 788983A2ED9EEF04311B2551DFF736B2 /* Pods-lz-string-objc_Tests-dummy.m */, + 008ED1D6A4912CCF70056F548F14919D /* Pods-lz-string-objc_Tests-Info.plist */, + E58FA2AFDA4D33F4F653CD9496E1F073 /* Pods-lz-string-objc_Tests-umbrella.h */, + F92E48761E42174E394CE9BAA99EACE0 /* Pods-lz-string-objc_Tests.debug.xcconfig */, + 3674015BA9E94ACC77790843D4AFE40A /* Pods-lz-string-objc_Tests.release.xcconfig */, + ); + name = "Pods-lz-string-objc_Tests"; + path = "Target Support Files/Pods-lz-string-objc_Tests"; + sourceTree = ""; + }; + CF1408CF629C7361332E53B88F7BD30C = { + isa = PBXGroup; + children = ( + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, + A411E1E92CA9E7DC6FB9BBEDC1829C84 /* Development Pods */, + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, + 64360F7D201ABEC9B32CA8D20DE0D31C /* Products */, + E7463CCB898DC264D6FAC86029A9779D /* Targets Support Files */, + ); + sourceTree = ""; + }; + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 578452D2E740E91742655AC8F1636D1F /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + E3FE508D78E0A7FB40FC7572B3B3785A /* lz-string-objc */ = { + isa = PBXGroup; + children = ( + CA029FBF29155340006C81B9 /* LZStringObjc.h */, + CA029FC029155340006C81B9 /* LZStringObjc.m */, + 5C5853AE0F7721D41572F28B8FB69B28 /* Pod */, + 3DDBB230B64F4FF3244F959F3D095F64 /* Support Files */, + ); + name = "lz-string-objc"; + path = ../..; + sourceTree = ""; + }; + E7463CCB898DC264D6FAC86029A9779D /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + 66296801C1103B60156FD5C4E5C2F443 /* Pods-lz-string-objc_Example */, + B5C6B69018AB540C5B36DB2DC81B15A0 /* Pods-lz-string-objc_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 5EF73F2820B127C6164F5D2E5A8CA29E /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 314258D76C27BCEBCA7CFB6A99B4E7D2 /* lz-string-objc-umbrella.h in Headers */, + CA029FC129155340006C81B9 /* LZStringObjc.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 73D661CC2947348E9978EAC2E0E878B8 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + D93D25D3E538FC9E50E131F257E845BA /* Pods-lz-string-objc_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E025390D5711D7EB1371B767218224E4 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 286D58F30058F5C5E28E84AD28DDE3DD /* Pods-lz-string-objc_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 1238F8CC029C06A177A6DE40128D082A /* Pods-lz-string-objc_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1CED0028DFD8D0F3A543E28A557FA4F1 /* Build configuration list for PBXNativeTarget "Pods-lz-string-objc_Tests" */; + buildPhases = ( + 73D661CC2947348E9978EAC2E0E878B8 /* Headers */, + 484F573B3E202D8A771E321C10722CFA /* Sources */, + 07BF30A1E314D7134EE864DC9F6A9AB6 /* Frameworks */, + DDE8FDDBFF33977DC06C3FB5F716B712 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 935079FB0C41C313ABC3D794E49DC177 /* PBXTargetDependency */, + ); + name = "Pods-lz-string-objc_Tests"; + productName = Pods_lz_string_objc_Tests; + productReference = 4FF6F45C0F6A86C8B64AB60FFEBB2453 /* Pods-lz-string-objc_Tests */; + productType = "com.apple.product-type.framework"; + }; + 728293F6C1ADEFB54C51653DCF158E32 /* Pods-lz-string-objc_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = E163A070633F7A71E8F8243DF426D88A /* Build configuration list for PBXNativeTarget "Pods-lz-string-objc_Example" */; + buildPhases = ( + E025390D5711D7EB1371B767218224E4 /* Headers */, + BFF9911051C515636073E9A94E037249 /* Sources */, + C80F66773383F289DF8B6226BCE6D7FC /* Frameworks */, + 10A39EC84E9AA29133BE91FB4E889AF5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1A23F16B1127AD95013B5943AA166DB2 /* PBXTargetDependency */, + ); + name = "Pods-lz-string-objc_Example"; + productName = Pods_lz_string_objc_Example; + productReference = 4452B32F59584E98C72C66AD4267B037 /* Pods-lz-string-objc_Example */; + productType = "com.apple.product-type.framework"; + }; + 85BD017A26F76AD30939BD0A1493F830 /* lz-string-objc */ = { + isa = PBXNativeTarget; + buildConfigurationList = E575CD32EF2A6D3AEDA927ED4CDAD6C3 /* Build configuration list for PBXNativeTarget "lz-string-objc" */; + buildPhases = ( + 5EF73F2820B127C6164F5D2E5A8CA29E /* Headers */, + D6EC63E518514C36CAA0D5ED1A59CC72 /* Sources */, + F53F02FA5781767016FEC05B29B86ADD /* Frameworks */, + 8130DF820F77536577349843D570BA1F /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "lz-string-objc"; + productName = lz_string_objc; + productReference = EE20F05DE67551F5D47E262A703F7B56 /* lz-string-objc */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + BFDFE7DC352907FC980B868725387E98 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1240; + LastUpgradeCheck = 1240; + }; + buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + Base, + en, + ); + mainGroup = CF1408CF629C7361332E53B88F7BD30C; + productRefGroup = 64360F7D201ABEC9B32CA8D20DE0D31C /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 85BD017A26F76AD30939BD0A1493F830 /* lz-string-objc */, + 728293F6C1ADEFB54C51653DCF158E32 /* Pods-lz-string-objc_Example */, + 1238F8CC029C06A177A6DE40128D082A /* Pods-lz-string-objc_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 10A39EC84E9AA29133BE91FB4E889AF5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8130DF820F77536577349843D570BA1F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DDE8FDDBFF33977DC06C3FB5F716B712 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 484F573B3E202D8A771E321C10722CFA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8EE966EDBAB2B9CA264BCCBBC347CF8C /* Pods-lz-string-objc_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BFF9911051C515636073E9A94E037249 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4F14B8645F2E90C845CB4CB89CCA68F7 /* Pods-lz-string-objc_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D6EC63E518514C36CAA0D5ED1A59CC72 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CA029FC229155340006C81B9 /* LZStringObjc.m in Sources */, + F85FA2F748193CDB883084381D5D20BC /* lz-string-objc-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1A23F16B1127AD95013B5943AA166DB2 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "lz-string-objc"; + target = 85BD017A26F76AD30939BD0A1493F830 /* lz-string-objc */; + targetProxy = E2E70D28F8FDE23CAD58E18D1EF8326B /* PBXContainerItemProxy */; + }; + 935079FB0C41C313ABC3D794E49DC177 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "Pods-lz-string-objc_Example"; + target = 728293F6C1ADEFB54C51653DCF158E32 /* Pods-lz-string-objc_Example */; + targetProxy = 54E1A44147A7BEE6D9F1310065317F05 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 2F01F3A4323E7714593625B89EE781D0 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 491965D5F2067641F69C12861B83E56E /* lz-string-objc.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/lz-string-objc/lz-string-objc-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/lz-string-objc/lz-string-objc-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/lz-string-objc/lz-string-objc.modulemap"; + PRODUCT_MODULE_NAME = lz_string_objc; + PRODUCT_NAME = lz_string_objc; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 7EE7A78859F657F6BEFC651185B43192 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + 923FC2FADF3482264AAD68FFC13DF9C7 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F92E48761E42174E394CE9BAA99EACE0 /* Pods-lz-string-objc_Tests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 9704E80198DC211D31EB681CE1E22EDB /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 77AEF0AAE607BAD4FD2BB09ACC87F159 /* lz-string-objc.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/lz-string-objc/lz-string-objc-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/lz-string-objc/lz-string-objc-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/lz-string-objc/lz-string-objc.modulemap"; + PRODUCT_MODULE_NAME = lz_string_objc; + PRODUCT_NAME = lz_string_objc; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + D299434AB35E7FD6F7921C8EF24742FF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + E4644A1BFA509BDEBE75FF480904C70E /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D2D5F307FD2044F8FCFDC13D7E4CB79D /* Pods-lz-string-objc_Example.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E9AF3700D9A7D7186A5FB9B896208A31 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3674015BA9E94ACC77790843D4AFE40A /* Pods-lz-string-objc_Tests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + EF9C4F06096F80F1E8EEFEECA8285159 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A3BEAB44F6469E1B1CA7DFBCAB8C414F /* Pods-lz-string-objc_Example.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1CED0028DFD8D0F3A543E28A557FA4F1 /* Build configuration list for PBXNativeTarget "Pods-lz-string-objc_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 923FC2FADF3482264AAD68FFC13DF9C7 /* Debug */, + E9AF3700D9A7D7186A5FB9B896208A31 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D299434AB35E7FD6F7921C8EF24742FF /* Debug */, + 7EE7A78859F657F6BEFC651185B43192 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E163A070633F7A71E8F8243DF426D88A /* Build configuration list for PBXNativeTarget "Pods-lz-string-objc_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E4644A1BFA509BDEBE75FF480904C70E /* Debug */, + EF9C4F06096F80F1E8EEFEECA8285159 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E575CD32EF2A6D3AEDA927ED4CDAD6C3 /* Build configuration list for PBXNativeTarget "lz-string-objc" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9704E80198DC211D31EB681CE1E22EDB /* Debug */, + 2F01F3A4323E7714593625B89EE781D0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; +} diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-Info.plist b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-acknowledgements.markdown new file mode 100644 index 0000000..9b3bfe0 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## lz-string-objc + +Copyright (c) 2022 wangguibin1993@gmail.com <864562082@qq.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-acknowledgements.plist new file mode 100644 index 0000000..5b4e270 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-acknowledgements.plist @@ -0,0 +1,58 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2022 wangguibin1993@gmail.com <864562082@qq.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + License + MIT + Title + lz-string-objc + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-dummy.m b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-dummy.m new file mode 100644 index 0000000..ea1a23f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_lz_string_objc_Example : NSObject +@end +@implementation PodsDummy_Pods_lz_string_objc_Example +@end diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-frameworks.sh new file mode 100755 index 0000000..1e696b0 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-frameworks.sh @@ -0,0 +1,186 @@ +#!/bin/sh +set -e +set -u +set -o pipefail + +function on_error { + echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" +} +trap 'on_error $LINENO' ERR + +if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy + # frameworks to, so exit 0 (signalling the script phase was successful). + exit 0 +fi + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +BCSYMBOLMAP_DIR="BCSymbolMaps" + + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +# Copies and strips a vendored framework +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then + # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied + find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do + echo "Installing $f" + install_bcsymbolmap "$f" "$destination" + rm "$f" + done + rmdir "${source}/${BCSYMBOLMAP_DIR}" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + elif [ -L "${binary}" ]; then + echo "Destination binary is symlinked..." + dirname="$(dirname "${binary}")" + binary="${dirname}/$(readlink "${binary}")" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} +# Copies and strips a vendored dSYM +install_dsym() { + local source="$1" + warn_missing_arch=${2:-true} + if [ -r "$source" ]; then + # Copy the dSYM into the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .dSYM "$source")" + binary_name="$(ls "$source/Contents/Resources/DWARF")" + binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" + + # Strip invalid architectures from the dSYM. + if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then + strip_invalid_archs "$binary" "$warn_missing_arch" + fi + if [[ $STRIP_BINARY_RETVAL == 0 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + mkdir -p "${DWARF_DSYM_FOLDER_PATH}" + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" + fi + fi +} + +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + warn_missing_arch=${2:-true} + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + if [[ "$warn_missing_arch" == "true" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + fi + STRIP_BINARY_RETVAL=1 + return + fi + stripped="" + for arch in $binary_archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi + STRIP_BINARY_RETVAL=0 +} + +# Copies the bcsymbolmap files of a vendored framework +install_bcsymbolmap() { + local bcsymbolmap_path="$1" + local destination="${BUILT_PRODUCTS_DIR}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identity + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/lz-string-objc/lz_string_objc.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/lz-string-objc/lz_string_objc.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-umbrella.h new file mode 100644 index 0000000..fe01023 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_lz_string_objc_ExampleVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_lz_string_objc_ExampleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.debug.xcconfig new file mode 100644 index 0000000..01fa912 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.debug.xcconfig @@ -0,0 +1,12 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc/lz_string_objc.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "lz_string_objc" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.modulemap b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.modulemap new file mode 100644 index 0000000..fab01bc --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.modulemap @@ -0,0 +1,6 @@ +framework module Pods_lz_string_objc_Example { + umbrella header "Pods-lz-string-objc_Example-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.release.xcconfig new file mode 100644 index 0000000..01fa912 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.release.xcconfig @@ -0,0 +1,12 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc/lz_string_objc.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "lz_string_objc" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-Info.plist b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-dummy.m new file mode 100644 index 0000000..e8feaa9 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_lz_string_objc_Tests : NSObject +@end +@implementation PodsDummy_Pods_lz_string_objc_Tests +@end diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-umbrella.h new file mode 100644 index 0000000..d8c7db8 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_lz_string_objc_TestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_lz_string_objc_TestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.debug.xcconfig new file mode 100644 index 0000000..a6f9ba8 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.debug.xcconfig @@ -0,0 +1,11 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc/lz_string_objc.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "lz_string_objc" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.modulemap b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.modulemap new file mode 100644 index 0000000..d506dec --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_lz_string_objc_Tests { + umbrella header "Pods-lz-string-objc_Tests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.release.xcconfig new file mode 100644 index 0000000..a6f9ba8 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.release.xcconfig @@ -0,0 +1,11 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc/lz_string_objc.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "lz_string_objc" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-Info.plist b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-Info.plist new file mode 100644 index 0000000..161a9d3 --- /dev/null +++ b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.1.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-dummy.m b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-dummy.m new file mode 100644 index 0000000..6badd9f --- /dev/null +++ b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_lz_string_objc : NSObject +@end +@implementation PodsDummy_lz_string_objc +@end diff --git a/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-prefix.pch b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-umbrella.h b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-umbrella.h new file mode 100644 index 0000000..0312eb4 --- /dev/null +++ b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double lz_string_objcVersionNumber; +FOUNDATION_EXPORT const unsigned char lz_string_objcVersionString[]; + diff --git a/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc.debug.xcconfig b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc.debug.xcconfig new file mode 100644 index 0000000..f234979 --- /dev/null +++ b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc.debug.xcconfig @@ -0,0 +1,11 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc.modulemap b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc.modulemap new file mode 100644 index 0000000..1e733ff --- /dev/null +++ b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc.modulemap @@ -0,0 +1,6 @@ +framework module lz_string_objc { + umbrella header "lz-string-objc-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc.release.xcconfig b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc.release.xcconfig new file mode 100644 index 0000000..f234979 --- /dev/null +++ b/Example/Pods/Target Support Files/lz-string-objc/lz-string-objc.release.xcconfig @@ -0,0 +1,11 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/lz-string-objc +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/lz-string-objc.xcodeproj/project.pbxproj b/Example/lz-string-objc.xcodeproj/project.pbxproj index bab385a..6e1904d 100644 --- a/Example/lz-string-objc.xcodeproj/project.pbxproj +++ b/Example/lz-string-objc.xcodeproj/project.pbxproj @@ -60,13 +60,13 @@ 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 870AD350B88CB0B546B3A37D /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = ""; }; + 870AD350B88CB0B546B3A37D /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; D3D2B4181390ABA8DE53CD11 /* Pods-lz-string-objc_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lz-string-objc_Tests.release.xcconfig"; path = "Target Support Files/Pods-lz-string-objc_Tests/Pods-lz-string-objc_Tests.release.xcconfig"; sourceTree = ""; }; - DADDF7E1FD2FC68DB290D1A9 /* lz-string-objc.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = "lz-string-objc.podspec"; path = "../lz-string-objc.podspec"; sourceTree = ""; }; + DADDF7E1FD2FC68DB290D1A9 /* lz-string-objc.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "lz-string-objc.podspec"; path = "../lz-string-objc.podspec"; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; E74BFB98F74A822E6B4BA432 /* Pods-lz-string-objc_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-lz-string-objc_Example.release.xcconfig"; path = "Target Support Files/Pods-lz-string-objc_Example/Pods-lz-string-objc_Example.release.xcconfig"; sourceTree = ""; }; F2D6C1486A0E4F204ABA3C4F /* Pods_lz_string_objc_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_lz_string_objc_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - F75F1E5B834748354C7EE392 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + F75F1E5B834748354C7EE392 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -103,7 +103,6 @@ 1FFA5DBE961DC8EB47267AAC /* Pods-lz-string-objc_Tests.debug.xcconfig */, D3D2B4181390ABA8DE53CD11 /* Pods-lz-string-objc_Tests.release.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -258,6 +257,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); diff --git a/Example/lz-string-objc.xcworkspace/contents.xcworkspacedata b/Example/lz-string-objc.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..032e8f0 --- /dev/null +++ b/Example/lz-string-objc.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/lz-string-objc.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/lz-string-objc.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/lz-string-objc.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/LZStringObjc.h b/LZStringObjc.h new file mode 100644 index 0000000..960582a --- /dev/null +++ b/LZStringObjc.h @@ -0,0 +1,41 @@ +// +// LZStringObjc.h +// lz-string-objc +// +// Created by 王贵彬 on 2022/11/4. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +// 站在巨人的肩膀上造轮子 +// https://github.com/pieroxy/lz-string 一个js压缩库 +// 本轮子解决OC简单的调用问题 无需自己动手去写算法 直接通过js去调用lz-string.js的接口(拿来把你) + +@interface LZStringObjc : NSObject + ++ (LZStringObjc *)sharedInstance; + +- (NSString *)compressToBase64:(NSString *)str; +- (NSString *)decompressFromBase64:(NSString *)str; + + +- (NSString *)compressToUTF16:(NSString *)str; +- (NSString *)decompressFromUTF16:(NSString *)str; + + +- (NSArray *)compressToUint8Array:(NSString *)str; +- (NSString *)decompressFromUint8Array:(NSArray *)strArr; + + +- (NSString *)compressToEncodedURIComponent:(NSString *)str; +- (NSString *)decompressFromEncodedURIComponent:(NSString *)str; + + +- (NSString *)compress:(NSString *)str; +- (NSString *)decompress:(NSString *)str; + +@end + +NS_ASSUME_NONNULL_END diff --git a/LZStringObjc.m b/LZStringObjc.m new file mode 100644 index 0000000..7a2ed3b --- /dev/null +++ b/LZStringObjc.m @@ -0,0 +1,643 @@ +// +// LZStringObjc.m +// lz-string-objc +// +// Created by 王贵彬 on 2022/11/4. +// + +#import "LZStringObjc.h" +#import + +#define JS(...) [[NSString alloc] initWithCString:#__VA_ARGS__ encoding:NSUTF8StringEncoding] + +@interface LZStringObjc () + +@property (nonatomic, strong) JSContext *context; + +@end + +@implementation LZStringObjc + ++ (NSString *)lzStringJSCode{ + return JS( + // Copyright (c) 2013 Pieroxy + // This work is free. You can redistribute it and/or modify it + // under the terms of the WTFPL, Version 2 + // For more information see LICENSE.txt or http://www.wtfpl.net/ + // + // For more information, the home page: + // http://pieroxy.net/blog/pages/lz-string/testing.html + // + // LZ-based compression algorithm, version 1.4.4 + var LZString = (function() { + + // private property + var f = String.fromCharCode; + var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; + var keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$"; + var baseReverseDic = {}; + + function getBaseValue(alphabet, character) { + if (!baseReverseDic[alphabet]) { + baseReverseDic[alphabet] = {}; + for (var i=0 ; i>> 8; + buf[i*2+1] = current_value % 256; + } + return buf; + }, + + //decompress from uint8array (UCS-2 big endian format) + decompressFromUint8Array:function (compressed) { + if (compressed===null || compressed===undefined){ + return LZString.decompress(compressed); + } else { + var buf=new Array(compressed.length/2); // 2 bytes per character + for (var i=0, TotalLen=buf.length; i> 1; + } + } else { + value = 1; + for (i=0 ; i> 1; + } + } + context_enlargeIn--; + if (context_enlargeIn == 0) { + context_enlargeIn = Math.pow(2, context_numBits); + context_numBits++; + } + delete context_dictionaryToCreate[context_w]; + } else { + value = context_dictionary[context_w]; + for (i=0 ; i> 1; + } + + + } + context_enlargeIn--; + if (context_enlargeIn == 0) { + context_enlargeIn = Math.pow(2, context_numBits); + context_numBits++; + } + // Add wc to the dictionary. + context_dictionary[context_wc] = context_dictSize++; + context_w = String(context_c); + } + } + + // Output the code for w. + if (context_w !== "") { + if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate,context_w)) { + if (context_w.charCodeAt(0)<256) { + for (i=0 ; i> 1; + } + } else { + value = 1; + for (i=0 ; i> 1; + } + } + context_enlargeIn--; + if (context_enlargeIn == 0) { + context_enlargeIn = Math.pow(2, context_numBits); + context_numBits++; + } + delete context_dictionaryToCreate[context_w]; + } else { + value = context_dictionary[context_w]; + for (i=0 ; i> 1; + } + + + } + context_enlargeIn--; + if (context_enlargeIn == 0) { + context_enlargeIn = Math.pow(2, context_numBits); + context_numBits++; + } + } + + // Mark the end of the stream + value = 2; + for (i=0 ; i> 1; + } + + // Flush the last char + while (true) { + context_data_val = (context_data_val << 1); + if (context_data_position == bitsPerChar-1) { + context_data.push(getCharFromInt(context_data_val)); + break; + } + else context_data_position++; + } + return context_data.join(''); + }, + + decompress: function (compressed) { + if (compressed == null) return ""; + if (compressed == "") return null; + return LZString._decompress(compressed.length, 32768, function(index) { return compressed.charCodeAt(index); }); + }, + + _decompress: function (length, resetValue, getNextValue) { + var dictionary = [], + next, + enlargeIn = 4, + dictSize = 4, + numBits = 3, + entry = "", + result = [], + i, + w, + bits, resb, maxpower, power, + c, + data = {val:getNextValue(0), position:resetValue, index:1}; + + for (i = 0; i < 3; i += 1) { + dictionary[i] = i; + } + + bits = 0; + maxpower = Math.pow(2,2); + power=1; + while (power!=maxpower) { + resb = data.val & data.position; + data.position >>= 1; + if (data.position == 0) { + data.position = resetValue; + data.val = getNextValue(data.index++); + } + bits |= (resb>0 ? 1 : 0) * power; + power <<= 1; + } + + switch (next = bits) { + case 0: + bits = 0; + maxpower = Math.pow(2,8); + power=1; + while (power!=maxpower) { + resb = data.val & data.position; + data.position >>= 1; + if (data.position == 0) { + data.position = resetValue; + data.val = getNextValue(data.index++); + } + bits |= (resb>0 ? 1 : 0) * power; + power <<= 1; + } + c = f(bits); + break; + case 1: + bits = 0; + maxpower = Math.pow(2,16); + power=1; + while (power!=maxpower) { + resb = data.val & data.position; + data.position >>= 1; + if (data.position == 0) { + data.position = resetValue; + data.val = getNextValue(data.index++); + } + bits |= (resb>0 ? 1 : 0) * power; + power <<= 1; + } + c = f(bits); + break; + case 2: + return ""; + } + dictionary[3] = c; + w = c; + result.push(c); + while (true) { + if (data.index > length) { + return ""; + } + + bits = 0; + maxpower = Math.pow(2,numBits); + power=1; + while (power!=maxpower) { + resb = data.val & data.position; + data.position >>= 1; + if (data.position == 0) { + data.position = resetValue; + data.val = getNextValue(data.index++); + } + bits |= (resb>0 ? 1 : 0) * power; + power <<= 1; + } + + switch (c = bits) { + case 0: + bits = 0; + maxpower = Math.pow(2,8); + power=1; + while (power!=maxpower) { + resb = data.val & data.position; + data.position >>= 1; + if (data.position == 0) { + data.position = resetValue; + data.val = getNextValue(data.index++); + } + bits |= (resb>0 ? 1 : 0) * power; + power <<= 1; + } + + dictionary[dictSize++] = f(bits); + c = dictSize-1; + enlargeIn--; + break; + case 1: + bits = 0; + maxpower = Math.pow(2,16); + power=1; + while (power!=maxpower) { + resb = data.val & data.position; + data.position >>= 1; + if (data.position == 0) { + data.position = resetValue; + data.val = getNextValue(data.index++); + } + bits |= (resb>0 ? 1 : 0) * power; + power <<= 1; + } + dictionary[dictSize++] = f(bits); + c = dictSize-1; + enlargeIn--; + break; + case 2: + return result.join(''); + } + + if (enlargeIn == 0) { + enlargeIn = Math.pow(2, numBits); + numBits++; + } + + if (dictionary[c]) { + entry = dictionary[c]; + } else { + if (c === dictSize) { + entry = w + w.charAt(0); + } else { + return null; + } + } + result.push(entry); + + // Add w+entry[0] to the dictionary. + dictionary[dictSize++] = w + entry.charAt(0); + enlargeIn--; + + w = entry; + + if (enlargeIn == 0) { + enlargeIn = Math.pow(2, numBits); + numBits++; + } + + } + } + }; + return LZString; + })(); + + if (typeof define === 'function' && define.amd) { + define(function () { return LZString; }); + } else if( typeof module !== 'undefined' && module != null ) { + module.exports = LZString + } + + ); +} + ++ (LZStringObjc *)sharedInstance{ + static LZStringObjc *_instance = nil; + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + _instance = [[self alloc] init]; + }); + return _instance; +} + +- (instancetype)init +{ + self = [super init]; + if (self) { + self.context = [JSContext new]; + NSString *content = [LZStringObjc lzStringJSCode]; + if (content) { + [self.context evaluateScript:content]; + } + } + return self; +} + +- (NSString *)compressToBase64:(NSString *)str{ + NSString *script = [NSString stringWithFormat:@"LZString.compressToBase64('%@')",str]; + JSValue *value = [self.context evaluateScript:script]; + return [value toString]; +} + +- (NSString *)decompressFromBase64:(NSString *)str{ + NSString *script = [NSString stringWithFormat:@"LZString.decompressFromBase64('%@')",str]; + JSValue *value = [self.context evaluateScript:script]; + return [value toString]; +} + + +- (NSString *)compressToUTF16:(NSString *)str{ + NSString *script = [NSString stringWithFormat:@"LZString.compressToUTF16('%@')",str]; + JSValue *value = [self.context evaluateScript:script]; + return [value toString]; +} +- (NSString *)decompressFromUTF16:(NSString *)str{ + NSString *script = [NSString stringWithFormat:@"LZString.decompressFromUTF16('%@')",str]; + JSValue *value = [self.context evaluateScript:script]; + return [value toString]; +} + + +- (NSArray *)compressToUint8Array:(NSString *)str{ + NSData *data = [str dataUsingEncoding:NSUTF8StringEncoding]; + NSString *script = [NSString stringWithFormat:@"LZString.compressToUint8Array('%@')",data]; + JSValue *value = [self.context evaluateScript:script]; + return [value toArray]; +} + +- (NSString *)decompressFromUint8Array:(NSArray *)strArr{ + NSString *str = [NSString stringWithFormat:@"[%@]",[strArr componentsJoinedByString:@","]]; + NSString *script = [NSString stringWithFormat:@"LZString.decompressFromUint8Array(%@)",str]; + JSValue *value = [self.context evaluateScript:script]; + NSString *hexStr = [value toString]; + hexStr = [hexStr stringByReplacingOccurrencesOfString:@" " withString:@""]; + hexStr = [hexStr stringByReplacingOccurrencesOfString:@"{" withString:@""]; + hexStr = [hexStr stringByReplacingOccurrencesOfString:@"}" withString:@""]; + NSArray *arr = [hexStr componentsSeparatedByString:@","]; + NSString *bytes = [arr.lastObject componentsSeparatedByString:@"="].lastObject; + NSString *decodeStr = [[NSString alloc] initWithData:[self hexStringToData:bytes] encoding:NSUTF8StringEncoding]; + return decodeStr; +} + + +- (NSString *)compressToEncodedURIComponent:(NSString *)str{ + NSString *script = [NSString stringWithFormat:@"LZString.compressToEncodedURIComponent('%@')",str]; + JSValue *value = [self.context evaluateScript:script]; + return [value toString]; +} +- (NSString *)decompressFromEncodedURIComponent:(NSString *)str{ + NSString *script = [NSString stringWithFormat:@"LZString.decompressFromEncodedURIComponent('%@')",str]; + JSValue *value = [self.context evaluateScript:script]; + return [value toString]; +} + + +- (NSString *)compress:(NSString *)str{ + NSString *script = [NSString stringWithFormat:@"LZString.compress('%@')",str]; + JSValue *value = [self.context evaluateScript:script]; + return [value toString]; +} +- (NSString *)decompress:(NSString *)str{ + NSString *script = [NSString stringWithFormat:@"LZString.decompress('%@')",str]; + JSValue *value = [self.context evaluateScript:script]; + return [value toString]; +} + +- (NSData *)hexStringToData:(NSString *)hexStr { + hexStr = [hexStr stringByReplacingOccurrencesOfString:@" " withString:@""]; + hexStr = [hexStr stringByReplacingOccurrencesOfString:@"0x" withString:@""]; + hexStr = [hexStr lowercaseString]; + NSUInteger len = hexStr.length; + if (!len) return nil; + unichar *buf = malloc(sizeof(unichar) * len); + if (!buf) return nil; + [hexStr getCharacters:buf range:NSMakeRange(0, len)]; + + NSMutableData *result = [NSMutableData data]; + unsigned char bytes; + char str[3] = { '\0', '\0', '\0' }; + int i; + for (i = 0; i < len / 2; i++) { + str[0] = buf[i * 2]; + str[1] = buf[i * 2 + 1]; + bytes = strtol(str, NULL, 16); + [result appendBytes:&bytes length:1]; + } + free(buf); + return result; +} +@end diff --git a/lz-string-objc.podspec b/lz-string-objc.podspec index e20d2a3..4997285 100644 --- a/lz-string-objc.podspec +++ b/lz-string-objc.podspec @@ -1,42 +1,19 @@ -# -# Be sure to run `pod lib lint lz-string-objc.podspec' to ensure this is a -# valid spec before submitting. -# -# Any lines starting with a # are optional, but their use is encouraged -# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html -# - Pod::Spec.new do |s| s.name = 'lz-string-objc' - s.version = '0.1.0' - s.summary = 'A short description of lz-string-objc.' - -# This description is used to generate tags and improve search results. -# * Think: What does it do? Why did you write it? What is the focus? -# * Try to keep it short, snappy and to the point. -# * Write the description between the DESC delimiters below. -# * Finally, don't worry about the indent, CocoaPods strips it! + s.version = '1.0.0' + s.summary = 'lz-string-objc is lz-string.js for objc implement interface call' s.description = <<-DESC -TODO: Add long description of the pod here. + 简单实现了lz-sting.js的Objc层的桥接调用 DESC s.homepage = 'https://github.com/wangguibin1993@gmail.com/lz-string-objc' - # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' s.license = { :type => 'MIT', :file => 'LICENSE' } - s.author = { 'wangguibin1993@gmail.com' => '864562082@qq.com' } + s.author = { 'CoderWGB' => '864562082@qq.com' } s.source = { :git => 'https://github.com/wangguibin1993@gmail.com/lz-string-objc.git', :tag => s.version.to_s } - # s.social_media_url = 'https://twitter.com/' + s.social_media_url = 'https://twitter.com/06PBEc3aUWS4NSi' s.ios.deployment_target = '10.0' s.source_files = 'lz-string-objc/Classes/**/*' - - # s.resource_bundles = { - # 'lz-string-objc' => ['lz-string-objc/Assets/*.png'] - # } - - # s.public_header_files = 'Pod/Classes/**/*.h' - # s.frameworks = 'UIKit', 'MapKit' - # s.dependency 'AFNetworking', '~> 2.3' end diff --git a/lz-string-objc/Classes/ReplaceMe.m b/lz-string-objc/Classes/ReplaceMe.m deleted file mode 100644 index e69de29..0000000