From 66c6fe32b85e2b6e6b8747209f5920f58857ff4b Mon Sep 17 00:00:00 2001 From: Axel Ancona Esselmann Date: Mon, 8 Jun 2020 10:41:54 -0700 Subject: [PATCH] Initial commit --- .gitignore | 37 ++ .travis.yml | 14 + Example/Podfile | 6 + Example/Podfile.lock | 16 + .../ValueTypeRepresentable.podspec.json | 22 + Example/Pods/Manifest.lock | 16 + Example/Pods/Pods.xcodeproj/project.pbxproj | 602 ++++++++++++++++++ ...ds-ValueTypeRepresentable_Tests-Info.plist | 26 + ...resentable_Tests-acknowledgements.markdown | 26 + ...Representable_Tests-acknowledgements.plist | 58 ++ .../Pods-ValueTypeRepresentable_Tests-dummy.m | 5 + ...ValueTypeRepresentable_Tests-frameworks.sh | 207 ++++++ ...ds-ValueTypeRepresentable_Tests-umbrella.h | 16 + ...alueTypeRepresentable_Tests.debug.xcconfig | 12 + ...ods-ValueTypeRepresentable_Tests.modulemap | 6 + ...ueTypeRepresentable_Tests.release.xcconfig | 12 + .../ValueTypeRepresentable-Info.plist | 26 + .../ValueTypeRepresentable-dummy.m | 5 + .../ValueTypeRepresentable-prefix.pch | 12 + .../ValueTypeRepresentable-umbrella.h | 16 + .../ValueTypeRepresentable.debug.xcconfig | 10 + .../ValueTypeRepresentable.modulemap | 6 + .../ValueTypeRepresentable.release.xcconfig | 10 + Example/Tests/Info.plist | 24 + Example/Tests/Tests.swift | 28 + .../project.pbxproj | 391 ++++++++++++ .../contents.xcworkspacedata | 7 + .../ValueTypeRepresentable-Example.xcscheme | 117 ++++ .../contents.xcworkspacedata | 10 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + LICENSE | 19 + README.md | 29 + ValueTypeRepresentable.podspec | 17 + ValueTypeRepresentable/Assets/.gitkeep | 0 .../Classes/ValueTypeRepresentable.swift | 78 +++ _Pods.xcodeproj | 1 + 36 files changed, 1895 insertions(+) create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 Example/Podfile create mode 100644 Example/Podfile.lock create mode 100644 Example/Pods/Local Podspecs/ValueTypeRepresentable.podspec.json create mode 100644 Example/Pods/Manifest.lock create mode 100644 Example/Pods/Pods.xcodeproj/project.pbxproj create mode 100644 Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-dummy.m create mode 100755 Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-frameworks.sh create mode 100644 Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.release.xcconfig create mode 100644 Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-Info.plist create mode 100644 Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-dummy.m create mode 100644 Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-prefix.pch create mode 100644 Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-umbrella.h create mode 100644 Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.modulemap create mode 100644 Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.release.xcconfig create mode 100644 Example/Tests/Info.plist create mode 100644 Example/Tests/Tests.swift create mode 100644 Example/ValueTypeRepresentable.xcodeproj/project.pbxproj create mode 100644 Example/ValueTypeRepresentable.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Example/ValueTypeRepresentable.xcodeproj/xcshareddata/xcschemes/ValueTypeRepresentable-Example.xcscheme create mode 100644 Example/ValueTypeRepresentable.xcworkspace/contents.xcworkspacedata create mode 100644 Example/ValueTypeRepresentable.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 LICENSE create mode 100644 README.md create mode 100644 ValueTypeRepresentable.podspec create mode 100644 ValueTypeRepresentable/Assets/.gitkeep create mode 100644 ValueTypeRepresentable/Classes/ValueTypeRepresentable.swift create mode 120000 _Pods.xcodeproj diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..93c86d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,37 @@ +# OS X +.DS_Store + +# Xcode +build/ +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata/ +*.xccheckout +profile +*.moved-aside +DerivedData +*.hmap +*.ipa + +# Bundler +.bundle + +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build + +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control +# +# Note: if you ignore the Pods directory, make sure to uncomment +# `pod install` in .travis.yml +# +# Pods/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e44dbcc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +# references: +# * https://www.objc.io/issues/6-build-tools/travis-ci/ +# * https://github.com/supermarin/xcpretty#usage + +osx_image: xcode7.3 +language: objective-c +# cache: cocoapods +# podfile: Example/Podfile +# before_install: +# - gem install cocoapods # Since Travis is not always on latest version +# - pod install --project-directory=Example +script: +- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/ValueTypeRepresentable.xcworkspace -scheme ValueTypeRepresentable-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty +- pod lib lint diff --git a/Example/Podfile b/Example/Podfile new file mode 100644 index 0000000..64e5ba0 --- /dev/null +++ b/Example/Podfile @@ -0,0 +1,6 @@ +use_frameworks! +target 'ValueTypeRepresentable_Tests' do + pod 'ValueTypeRepresentable', :path => '../' + + +end diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..0870cec --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - ValueTypeRepresentable (0.1.0) + +DEPENDENCIES: + - ValueTypeRepresentable (from `../`) + +EXTERNAL SOURCES: + ValueTypeRepresentable: + :path: "../" + +SPEC CHECKSUMS: + ValueTypeRepresentable: ca800e8a4452cff8e1c605fa6a6aa8c1833fce64 + +PODFILE CHECKSUM: 996ea011732836b03ed4b578daaf31d7d8b8850d + +COCOAPODS: 1.9.3 diff --git a/Example/Pods/Local Podspecs/ValueTypeRepresentable.podspec.json b/Example/Pods/Local Podspecs/ValueTypeRepresentable.podspec.json new file mode 100644 index 0000000..fffef36 --- /dev/null +++ b/Example/Pods/Local Podspecs/ValueTypeRepresentable.podspec.json @@ -0,0 +1,22 @@ +{ + "name": "ValueTypeRepresentable", + "version": "0.1.0", + "summary": "A short description of ValueTypeRepresentable.", + "description": "TODO: Add long description of the pod here.", + "homepage": "https://github.com/anconaesselmann/ValueTypeRepresentable", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "anconaesselmann": "axel@anconaesselmann.com" + }, + "source": { + "git": "https://github.com/anconaesselmann/ValueTypeRepresentable.git", + "tag": "0.1.0" + }, + "platforms": { + "ios": "8.0" + }, + "source_files": "ValueTypeRepresentable/Classes/**/*" +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..0870cec --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - ValueTypeRepresentable (0.1.0) + +DEPENDENCIES: + - ValueTypeRepresentable (from `../`) + +EXTERNAL SOURCES: + ValueTypeRepresentable: + :path: "../" + +SPEC CHECKSUMS: + ValueTypeRepresentable: ca800e8a4452cff8e1c605fa6a6aa8c1833fce64 + +PODFILE CHECKSUM: 996ea011732836b03ed4b578daaf31d7d8b8850d + +COCOAPODS: 1.9.3 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..38b99d5 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,602 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 43EB399EB957BFE9AA33EA160E883553 /* ReplaceMe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6ED5DCA96F42584BBFC3F87D0B4FBF4F /* ReplaceMe.swift */; }; + 4AC32DE6B24010266A10172E4AB29D78 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + 4CA5210178F4367EC79039707260DB05 /* ValueTypeRepresentable-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6A4B821D10ADA17A2A9A5C418D0E72D7 /* ValueTypeRepresentable-dummy.m */; }; + 613A5064C975ECAEBD853D7942A04B69 /* ValueTypeRepresentable-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A338C1D6CC1D31BFB6F3EB770AAD48B1 /* ValueTypeRepresentable-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 645005A4A83B815EBFBD5777F34F0363 /* Pods-ValueTypeRepresentable_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DD3DF8A063CD69939F6ECAE247F4A152 /* Pods-ValueTypeRepresentable_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9DFA74CA269C6361BCA5D72EDBA807D9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + D9A5F6AE7FC1BB9C6FB4D77DB2AD3989 /* Pods-ValueTypeRepresentable_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B173B02ACC5A9282493707F15BE838F5 /* Pods-ValueTypeRepresentable_Tests-dummy.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 3458C5E79169E49D4B57CFACC5E5E026 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1EB946D105F4B93CBCA4A9BADD9F4521; + remoteInfo = ValueTypeRepresentable; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 153F48B7FCE8814D8631450BFC51AD88 /* Pods-ValueTypeRepresentable_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ValueTypeRepresentable_Tests-acknowledgements.markdown"; sourceTree = ""; }; + 27488F832F1F181486719C51EE017B27 /* Pods-ValueTypeRepresentable_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ValueTypeRepresentable_Tests.release.xcconfig"; sourceTree = ""; }; + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 3F52AAA82E9F3BE58AFCAEC9B15E673B /* ValueTypeRepresentable.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ValueTypeRepresentable.debug.xcconfig; sourceTree = ""; }; + 4AEE9365D17AE3274F1F03E424EE1890 /* ValueTypeRepresentable.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ValueTypeRepresentable.release.xcconfig; sourceTree = ""; }; + 4DA9EF1FEB8D805EA2C647C44D5DBBA6 /* Pods-ValueTypeRepresentable_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ValueTypeRepresentable_Tests-frameworks.sh"; sourceTree = ""; }; + 5E2FE390EC14CCF239645EDF704F6B8C /* ValueTypeRepresentable-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ValueTypeRepresentable-Info.plist"; sourceTree = ""; }; + 6A4B821D10ADA17A2A9A5C418D0E72D7 /* ValueTypeRepresentable-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ValueTypeRepresentable-dummy.m"; sourceTree = ""; }; + 6E4C13EAA5F136C6D2385ED1BE9C5F6E /* Pods_ValueTypeRepresentable_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ValueTypeRepresentable_Tests.framework; path = "Pods-ValueTypeRepresentable_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 6ED5DCA96F42584BBFC3F87D0B4FBF4F /* ReplaceMe.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ReplaceMe.swift; path = ValueTypeRepresentable/Classes/ReplaceMe.swift; sourceTree = ""; }; + 7596037672C7D8DBDC030FF7ED4BD08B /* ValueTypeRepresentable.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = ValueTypeRepresentable.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 763E4A8AF056DE2B7C8117330598898E /* Pods-ValueTypeRepresentable_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ValueTypeRepresentable_Tests-Info.plist"; sourceTree = ""; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + A338C1D6CC1D31BFB6F3EB770AAD48B1 /* ValueTypeRepresentable-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ValueTypeRepresentable-umbrella.h"; sourceTree = ""; }; + B173B02ACC5A9282493707F15BE838F5 /* Pods-ValueTypeRepresentable_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ValueTypeRepresentable_Tests-dummy.m"; sourceTree = ""; }; + B5FE4CF19022F3684F4F46528439FC85 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; + B742F3DED645EE3BB08F5E3775AB064E /* Pods-ValueTypeRepresentable_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ValueTypeRepresentable_Tests.debug.xcconfig"; sourceTree = ""; }; + B776D13B6879BB7AED1FB55D60519F88 /* Pods-ValueTypeRepresentable_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ValueTypeRepresentable_Tests.modulemap"; sourceTree = ""; }; + BE3521A29D915950EBF6482A519E1628 /* ValueTypeRepresentable-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ValueTypeRepresentable-prefix.pch"; sourceTree = ""; }; + BF496F37E768C1223FF17F882DE50F16 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; + C721D789E4849F987D0E9CDFF34BF7B4 /* Pods-ValueTypeRepresentable_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ValueTypeRepresentable_Tests-acknowledgements.plist"; sourceTree = ""; }; + D3BFDF32425787034EAC0552F6E49A53 /* ValueTypeRepresentable.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ValueTypeRepresentable.framework; path = ValueTypeRepresentable.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DD3DF8A063CD69939F6ECAE247F4A152 /* Pods-ValueTypeRepresentable_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ValueTypeRepresentable_Tests-umbrella.h"; sourceTree = ""; }; + E9BE521CDD6615C852E6ADEC991CB514 /* ValueTypeRepresentable.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ValueTypeRepresentable.modulemap; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 356EB0993B5354FE605AD0B848A94549 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 9DFA74CA269C6361BCA5D72EDBA807D9 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6D88E2FE312EF9969607CC0C32E4572E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4AC32DE6B24010266A10172E4AB29D78 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 2DAFECCD995F93E178B1C726B65253E3 /* Development Pods */ = { + isa = PBXGroup; + children = ( + CC2D0E1261B02A139FA5343BF5266164 /* ValueTypeRepresentable */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + 3FF33E8FCC9A3387523F9AA50CFADAAE /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + 9C55C18B1ACA07053A51ADC18741B64C /* Pods-ValueTypeRepresentable_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + 9C55C18B1ACA07053A51ADC18741B64C /* Pods-ValueTypeRepresentable_Tests */ = { + isa = PBXGroup; + children = ( + B776D13B6879BB7AED1FB55D60519F88 /* Pods-ValueTypeRepresentable_Tests.modulemap */, + 153F48B7FCE8814D8631450BFC51AD88 /* Pods-ValueTypeRepresentable_Tests-acknowledgements.markdown */, + C721D789E4849F987D0E9CDFF34BF7B4 /* Pods-ValueTypeRepresentable_Tests-acknowledgements.plist */, + B173B02ACC5A9282493707F15BE838F5 /* Pods-ValueTypeRepresentable_Tests-dummy.m */, + 4DA9EF1FEB8D805EA2C647C44D5DBBA6 /* Pods-ValueTypeRepresentable_Tests-frameworks.sh */, + 763E4A8AF056DE2B7C8117330598898E /* Pods-ValueTypeRepresentable_Tests-Info.plist */, + DD3DF8A063CD69939F6ECAE247F4A152 /* Pods-ValueTypeRepresentable_Tests-umbrella.h */, + B742F3DED645EE3BB08F5E3775AB064E /* Pods-ValueTypeRepresentable_Tests.debug.xcconfig */, + 27488F832F1F181486719C51EE017B27 /* Pods-ValueTypeRepresentable_Tests.release.xcconfig */, + ); + name = "Pods-ValueTypeRepresentable_Tests"; + path = "Target Support Files/Pods-ValueTypeRepresentable_Tests"; + sourceTree = ""; + }; + 9E4D4B758513E79FAA44DDFF24D6808C /* Products */ = { + isa = PBXGroup; + children = ( + 6E4C13EAA5F136C6D2385ED1BE9C5F6E /* Pods_ValueTypeRepresentable_Tests.framework */, + D3BFDF32425787034EAC0552F6E49A53 /* ValueTypeRepresentable.framework */, + ); + name = Products; + sourceTree = ""; + }; + BDF20DE932B449DFFC3D11F3A5183DCE /* Pod */ = { + isa = PBXGroup; + children = ( + B5FE4CF19022F3684F4F46528439FC85 /* LICENSE */, + BF496F37E768C1223FF17F882DE50F16 /* README.md */, + 7596037672C7D8DBDC030FF7ED4BD08B /* ValueTypeRepresentable.podspec */, + ); + name = Pod; + sourceTree = ""; + }; + C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { + isa = PBXGroup; + children = ( + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + CC2D0E1261B02A139FA5343BF5266164 /* ValueTypeRepresentable */ = { + isa = PBXGroup; + children = ( + 6ED5DCA96F42584BBFC3F87D0B4FBF4F /* ReplaceMe.swift */, + BDF20DE932B449DFFC3D11F3A5183DCE /* Pod */, + FEF45B1AF0132DF65AFD50915D89696D /* Support Files */, + ); + name = ValueTypeRepresentable; + path = ../..; + sourceTree = ""; + }; + CF1408CF629C7361332E53B88F7BD30C = { + isa = PBXGroup; + children = ( + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, + 2DAFECCD995F93E178B1C726B65253E3 /* Development Pods */, + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, + 9E4D4B758513E79FAA44DDFF24D6808C /* Products */, + 3FF33E8FCC9A3387523F9AA50CFADAAE /* Targets Support Files */, + ); + sourceTree = ""; + }; + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C0834CEBB1379A84116EF29F93051C60 /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + FEF45B1AF0132DF65AFD50915D89696D /* Support Files */ = { + isa = PBXGroup; + children = ( + E9BE521CDD6615C852E6ADEC991CB514 /* ValueTypeRepresentable.modulemap */, + 6A4B821D10ADA17A2A9A5C418D0E72D7 /* ValueTypeRepresentable-dummy.m */, + 5E2FE390EC14CCF239645EDF704F6B8C /* ValueTypeRepresentable-Info.plist */, + BE3521A29D915950EBF6482A519E1628 /* ValueTypeRepresentable-prefix.pch */, + A338C1D6CC1D31BFB6F3EB770AAD48B1 /* ValueTypeRepresentable-umbrella.h */, + 3F52AAA82E9F3BE58AFCAEC9B15E673B /* ValueTypeRepresentable.debug.xcconfig */, + 4AEE9365D17AE3274F1F03E424EE1890 /* ValueTypeRepresentable.release.xcconfig */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/ValueTypeRepresentable"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 369194CD7054D32F72B23AD2D403D4EC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 613A5064C975ECAEBD853D7942A04B69 /* ValueTypeRepresentable-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 453AD2748E6F6623955134BF7BA8C4D2 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 645005A4A83B815EBFBD5777F34F0363 /* Pods-ValueTypeRepresentable_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 1EB946D105F4B93CBCA4A9BADD9F4521 /* ValueTypeRepresentable */ = { + isa = PBXNativeTarget; + buildConfigurationList = C334C955FC4512D19EFD7A33843C713C /* Build configuration list for PBXNativeTarget "ValueTypeRepresentable" */; + buildPhases = ( + 369194CD7054D32F72B23AD2D403D4EC /* Headers */, + 966240F1C42CFD8437A6AE833AC8B6BF /* Sources */, + 356EB0993B5354FE605AD0B848A94549 /* Frameworks */, + 8383EFCFFE6C2434AC84DD83EC9AC7B4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = ValueTypeRepresentable; + productName = ValueTypeRepresentable; + productReference = D3BFDF32425787034EAC0552F6E49A53 /* ValueTypeRepresentable.framework */; + productType = "com.apple.product-type.framework"; + }; + 7FB1804489D7576DDF5B874B9C9C4503 /* Pods-ValueTypeRepresentable_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8192877DF312C7ABADCD342BEF2F9C19 /* Build configuration list for PBXNativeTarget "Pods-ValueTypeRepresentable_Tests" */; + buildPhases = ( + 453AD2748E6F6623955134BF7BA8C4D2 /* Headers */, + C0DA650F163588DAE6BBBA0033A166ED /* Sources */, + 6D88E2FE312EF9969607CC0C32E4572E /* Frameworks */, + E6777FEE01376B7F4BE3A8A4E18A6A24 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 979DCF54214EF8ED136A82E07B902B71 /* PBXTargetDependency */, + ); + name = "Pods-ValueTypeRepresentable_Tests"; + productName = "Pods-ValueTypeRepresentable_Tests"; + productReference = 6E4C13EAA5F136C6D2385ED1BE9C5F6E /* Pods_ValueTypeRepresentable_Tests.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + BFDFE7DC352907FC980B868725387E98 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1100; + LastUpgradeCheck = 1100; + }; + buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = CF1408CF629C7361332E53B88F7BD30C; + productRefGroup = 9E4D4B758513E79FAA44DDFF24D6808C /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 7FB1804489D7576DDF5B874B9C9C4503 /* Pods-ValueTypeRepresentable_Tests */, + 1EB946D105F4B93CBCA4A9BADD9F4521 /* ValueTypeRepresentable */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8383EFCFFE6C2434AC84DD83EC9AC7B4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E6777FEE01376B7F4BE3A8A4E18A6A24 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 966240F1C42CFD8437A6AE833AC8B6BF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 43EB399EB957BFE9AA33EA160E883553 /* ReplaceMe.swift in Sources */, + 4CA5210178F4367EC79039707260DB05 /* ValueTypeRepresentable-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C0DA650F163588DAE6BBBA0033A166ED /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D9A5F6AE7FC1BB9C6FB4D77DB2AD3989 /* Pods-ValueTypeRepresentable_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 979DCF54214EF8ED136A82E07B902B71 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = ValueTypeRepresentable; + target = 1EB946D105F4B93CBCA4A9BADD9F4521 /* ValueTypeRepresentable */; + targetProxy = 3458C5E79169E49D4B57CFACC5E5E026 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 230B2AB4442B282077ABE923CB49D82B /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 27488F832F1F181486719C51EE017B27 /* Pods-ValueTypeRepresentable_Tests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CODE_SIGN_IDENTITY = ""; + "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-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_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; + }; + 2C7B74711D9FC51E77861658469CF7B9 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3F52AAA82E9F3BE58AFCAEC9B15E673B /* ValueTypeRepresentable.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "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/ValueTypeRepresentable/ValueTypeRepresentable-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.modulemap"; + PRODUCT_MODULE_NAME = ValueTypeRepresentable; + PRODUCT_NAME = ValueTypeRepresentable; + 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; + }; + 6009BA4F769DF9A60CD42CE4C007641E /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B742F3DED645EE3BB08F5E3775AB064E /* Pods-ValueTypeRepresentable_Tests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CODE_SIGN_IDENTITY = ""; + "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-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_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; + }; + B0087CB4594321EF41619F3181FE120E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + 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_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 = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + 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_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 = 9.3; + 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; + }; + D9A9B03724F6E81EE168E2C73631FD5E /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4AEE9365D17AE3274F1F03E424EE1890 /* ValueTypeRepresentable.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "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/ValueTypeRepresentable/ValueTypeRepresentable-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.modulemap"; + PRODUCT_MODULE_NAME = ValueTypeRepresentable; + PRODUCT_NAME = ValueTypeRepresentable; + 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; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */, + B0087CB4594321EF41619F3181FE120E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 8192877DF312C7ABADCD342BEF2F9C19 /* Build configuration list for PBXNativeTarget "Pods-ValueTypeRepresentable_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6009BA4F769DF9A60CD42CE4C007641E /* Debug */, + 230B2AB4442B282077ABE923CB49D82B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C334C955FC4512D19EFD7A33843C713C /* Build configuration list for PBXNativeTarget "ValueTypeRepresentable" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2C7B74711D9FC51E77861658469CF7B9 /* Debug */, + D9A9B03724F6E81EE168E2C73631FD5E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; +} diff --git a/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-Info.plist b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_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-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-acknowledgements.markdown new file mode 100644 index 0000000..2a49d1f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## ValueTypeRepresentable + +Copyright (c) 2020 anconaesselmann + +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-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-acknowledgements.plist new file mode 100644 index 0000000..a4d6650 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-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) 2020 anconaesselmann <axel@anconaesselmann.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 + ValueTypeRepresentable + 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-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-dummy.m new file mode 100644 index 0000000..8bbf589 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_ValueTypeRepresentable_Tests : NSObject +@end +@implementation PodsDummy_Pods_ValueTypeRepresentable_Tests +@end diff --git a/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-frameworks.sh new file mode 100755 index 0000000..20cacd6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-frameworks.sh @@ -0,0 +1,207 @@ +#!/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}" + +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# 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 + + # 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 so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then + strip_invalid_archs "$binary" "$warn_missing_arch" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; 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. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" + fi + fi +} + +# 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 +} + +# 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=0 + 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=1 +} + +install_artifact() { + artifact="$1" + base="$(basename "$artifact")" + case $base in + *.framework) + install_framework "$artifact" + ;; + *.dSYM) + # Suppress arch warnings since XCFrameworks will include many dSYM files + install_dsym "$artifact" "false" + ;; + *.bcsymbolmap) + install_bcsymbolmap "$artifact" + ;; + *) + echo "error: Unrecognized artifact "$artifact"" + ;; + esac +} + +copy_artifacts() { + file_list="$1" + while read artifact; do + install_artifact "$artifact" + done <$file_list +} + +ARTIFACT_LIST_FILE="${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt" +if [ -r "${ARTIFACT_LIST_FILE}" ]; then + copy_artifacts "${ARTIFACT_LIST_FILE}" +fi + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/ValueTypeRepresentable/ValueTypeRepresentable.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/ValueTypeRepresentable/ValueTypeRepresentable.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-umbrella.h new file mode 100644 index 0000000..61a4a8f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_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_ValueTypeRepresentable_TestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_ValueTypeRepresentable_TestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.debug.xcconfig new file mode 100644 index 0000000..abd26bd --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.debug.xcconfig @@ -0,0 +1,12 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ValueTypeRepresentable" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ValueTypeRepresentable/ValueTypeRepresentable.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "ValueTypeRepresentable" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +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 +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.modulemap b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.modulemap new file mode 100644 index 0000000..73780ae --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_ValueTypeRepresentable_Tests { + umbrella header "Pods-ValueTypeRepresentable_Tests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.release.xcconfig new file mode 100644 index 0000000..abd26bd --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.release.xcconfig @@ -0,0 +1,12 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ValueTypeRepresentable" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ValueTypeRepresentable/ValueTypeRepresentable.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "ValueTypeRepresentable" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +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 +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-Info.plist b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-Info.plist new file mode 100644 index 0000000..161a9d3 --- /dev/null +++ b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-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/ValueTypeRepresentable/ValueTypeRepresentable-dummy.m b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-dummy.m new file mode 100644 index 0000000..de55f9b --- /dev/null +++ b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_ValueTypeRepresentable : NSObject +@end +@implementation PodsDummy_ValueTypeRepresentable +@end diff --git a/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-prefix.pch b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-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/ValueTypeRepresentable/ValueTypeRepresentable-umbrella.h b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-umbrella.h new file mode 100644 index 0000000..35786cf --- /dev/null +++ b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable-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 ValueTypeRepresentableVersionNumber; +FOUNDATION_EXPORT const unsigned char ValueTypeRepresentableVersionString[]; + diff --git a/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.debug.xcconfig b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.debug.xcconfig new file mode 100644 index 0000000..220be89 --- /dev/null +++ b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.debug.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ValueTypeRepresentable +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +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/ValueTypeRepresentable/ValueTypeRepresentable.modulemap b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.modulemap new file mode 100644 index 0000000..54bef94 --- /dev/null +++ b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.modulemap @@ -0,0 +1,6 @@ +framework module ValueTypeRepresentable { + umbrella header "ValueTypeRepresentable-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.release.xcconfig b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.release.xcconfig new file mode 100644 index 0000000..220be89 --- /dev/null +++ b/Example/Pods/Target Support Files/ValueTypeRepresentable/ValueTypeRepresentable.release.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ValueTypeRepresentable +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Tests/Info.plist b/Example/Tests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/Example/Tests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Example/Tests/Tests.swift b/Example/Tests/Tests.swift new file mode 100644 index 0000000..677811b --- /dev/null +++ b/Example/Tests/Tests.swift @@ -0,0 +1,28 @@ +import XCTest +import ValueTypeRepresentable + +class Tests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + XCTAssert(true, "Pass") + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure() { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/Example/ValueTypeRepresentable.xcodeproj/project.pbxproj b/Example/ValueTypeRepresentable.xcodeproj/project.pbxproj new file mode 100644 index 0000000..18bfbcb --- /dev/null +++ b/Example/ValueTypeRepresentable.xcodeproj/project.pbxproj @@ -0,0 +1,391 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; + 8E75718D1D6607E0249E83CA /* Pods_ValueTypeRepresentable_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9BFFE6889F1E18020101D712 /* Pods_ValueTypeRepresentable_Tests.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 607FACE51AFB9204008FA782 /* ValueTypeRepresentable_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ValueTypeRepresentable_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; + 7631FB29E352E2508CFEF12D /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = ""; }; + 795F55A541ACA2D1AF6F77D9 /* Pods-ValueTypeRepresentable_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ValueTypeRepresentable_Tests.release.xcconfig"; path = "Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.release.xcconfig"; sourceTree = ""; }; + 9BFFE6889F1E18020101D712 /* Pods_ValueTypeRepresentable_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ValueTypeRepresentable_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BAB59F7EC449BD8316A94521 /* ValueTypeRepresentable.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = ValueTypeRepresentable.podspec; path = ../ValueTypeRepresentable.podspec; sourceTree = ""; }; + FBE03821F1B02C2FA4055F33 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + FD4D8E7B0E1D6C7BEE7B4BA1 /* Pods-ValueTypeRepresentable_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ValueTypeRepresentable_Tests.debug.xcconfig"; path = "Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests.debug.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 607FACE21AFB9204008FA782 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8E75718D1D6607E0249E83CA /* Pods_ValueTypeRepresentable_Tests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 47E7B60B7013AA601B7CC02C /* Frameworks */ = { + isa = PBXGroup; + children = ( + 9BFFE6889F1E18020101D712 /* Pods_ValueTypeRepresentable_Tests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 607FACC71AFB9204008FA782 = { + isa = PBXGroup; + children = ( + 607FACF51AFB993E008FA782 /* Podspec Metadata */, + 607FACE81AFB9204008FA782 /* Tests */, + 607FACD11AFB9204008FA782 /* Products */, + AB9F160D56AB3599B59A7E06 /* Pods */, + 47E7B60B7013AA601B7CC02C /* Frameworks */, + ); + sourceTree = ""; + }; + 607FACD11AFB9204008FA782 /* Products */ = { + isa = PBXGroup; + children = ( + 607FACE51AFB9204008FA782 /* ValueTypeRepresentable_Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 607FACE81AFB9204008FA782 /* Tests */ = { + isa = PBXGroup; + children = ( + 607FACEB1AFB9204008FA782 /* Tests.swift */, + 607FACE91AFB9204008FA782 /* Supporting Files */, + ); + path = Tests; + sourceTree = ""; + }; + 607FACE91AFB9204008FA782 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 607FACEA1AFB9204008FA782 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { + isa = PBXGroup; + children = ( + BAB59F7EC449BD8316A94521 /* ValueTypeRepresentable.podspec */, + 7631FB29E352E2508CFEF12D /* README.md */, + FBE03821F1B02C2FA4055F33 /* LICENSE */, + ); + name = "Podspec Metadata"; + sourceTree = ""; + }; + AB9F160D56AB3599B59A7E06 /* Pods */ = { + isa = PBXGroup; + children = ( + FD4D8E7B0E1D6C7BEE7B4BA1 /* Pods-ValueTypeRepresentable_Tests.debug.xcconfig */, + 795F55A541ACA2D1AF6F77D9 /* Pods-ValueTypeRepresentable_Tests.release.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 607FACE41AFB9204008FA782 /* ValueTypeRepresentable_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ValueTypeRepresentable_Tests" */; + buildPhases = ( + BA0F146373A9BFA8B36D54AD /* [CP] Check Pods Manifest.lock */, + 607FACE11AFB9204008FA782 /* Sources */, + 607FACE21AFB9204008FA782 /* Frameworks */, + 607FACE31AFB9204008FA782 /* Resources */, + DA0293B5E225145F29DA33E2 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = ValueTypeRepresentable_Tests; + productName = Tests; + productReference = 607FACE51AFB9204008FA782 /* ValueTypeRepresentable_Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 607FACC81AFB9204008FA782 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0830; + ORGANIZATIONNAME = CocoaPods; + TargetAttributes = { + 607FACCF1AFB9204008FA782 = { + CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0900; + }; + 607FACE41AFB9204008FA782 = { + CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0900; + TestTargetID = 607FACCF1AFB9204008FA782; + }; + }; + }; + buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ValueTypeRepresentable" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 607FACC71AFB9204008FA782; + productRefGroup = 607FACD11AFB9204008FA782 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 607FACE41AFB9204008FA782 /* ValueTypeRepresentable_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 607FACE31AFB9204008FA782 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + BA0F146373A9BFA8B36D54AD /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ValueTypeRepresentable_Tests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + DA0293B5E225145F29DA33E2 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/ValueTypeRepresentable/ValueTypeRepresentable.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ValueTypeRepresentable.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ValueTypeRepresentable_Tests/Pods-ValueTypeRepresentable_Tests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 607FACE11AFB9204008FA782 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 607FACED1AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + 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_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + 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 = 9.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 607FACEE1AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + 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_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + 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 = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 607FACF31AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FD4D8E7B0E1D6C7BEE7B4BA1 /* Pods-ValueTypeRepresentable_Tests.debug.xcconfig */; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + "$(inherited)", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = Default; + SWIFT_VERSION = 4.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ValueTypeRepresentable_Example.app/ValueTypeRepresentable_Example"; + }; + name = Debug; + }; + 607FACF41AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 795F55A541ACA2D1AF6F77D9 /* Pods-ValueTypeRepresentable_Tests.release.xcconfig */; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + "$(inherited)", + ); + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_SWIFT3_OBJC_INFERENCE = Default; + SWIFT_VERSION = 4.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ValueTypeRepresentable_Example.app/ValueTypeRepresentable_Example"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ValueTypeRepresentable" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACED1AFB9204008FA782 /* Debug */, + 607FACEE1AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ValueTypeRepresentable_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACF31AFB9204008FA782 /* Debug */, + 607FACF41AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 607FACC81AFB9204008FA782 /* Project object */; +} diff --git a/Example/ValueTypeRepresentable.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/ValueTypeRepresentable.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..a8921f8 --- /dev/null +++ b/Example/ValueTypeRepresentable.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Example/ValueTypeRepresentable.xcodeproj/xcshareddata/xcschemes/ValueTypeRepresentable-Example.xcscheme b/Example/ValueTypeRepresentable.xcodeproj/xcshareddata/xcschemes/ValueTypeRepresentable-Example.xcscheme new file mode 100644 index 0000000..718d9b4 --- /dev/null +++ b/Example/ValueTypeRepresentable.xcodeproj/xcshareddata/xcschemes/ValueTypeRepresentable-Example.xcscheme @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/ValueTypeRepresentable.xcworkspace/contents.xcworkspacedata b/Example/ValueTypeRepresentable.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..ef05082 --- /dev/null +++ b/Example/ValueTypeRepresentable.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/ValueTypeRepresentable.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/ValueTypeRepresentable.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/ValueTypeRepresentable.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4b49f8a --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2020 anconaesselmann + +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..c6c1ea3 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# ValueTypeRepresentable + +[![CI Status](https://img.shields.io/travis/anconaesselmann/ValueTypeRepresentable.svg?style=flat)](https://travis-ci.org/anconaesselmann/ValueTypeRepresentable) +[![Version](https://img.shields.io/cocoapods/v/ValueTypeRepresentable.svg?style=flat)](https://cocoapods.org/pods/ValueTypeRepresentable) +[![License](https://img.shields.io/cocoapods/l/ValueTypeRepresentable.svg?style=flat)](https://cocoapods.org/pods/ValueTypeRepresentable) +[![Platform](https://img.shields.io/cocoapods/p/ValueTypeRepresentable.svg?style=flat)](https://cocoapods.org/pods/ValueTypeRepresentable) + +## Example + +To run the example project, clone the repo, and run `pod install` from the Example directory first. + +## Requirements + +## Installation + +ValueTypeRepresentable is available through [CocoaPods](https://cocoapods.org). To install +it, simply add the following line to your Podfile: + +```ruby +pod 'ValueTypeRepresentable' +``` + +## Author + +anconaesselmann, axel@anconaesselmann.com + +## License + +ValueTypeRepresentable is available under the MIT license. See the LICENSE file for more info. diff --git a/ValueTypeRepresentable.podspec b/ValueTypeRepresentable.podspec new file mode 100644 index 0000000..b9c5233 --- /dev/null +++ b/ValueTypeRepresentable.podspec @@ -0,0 +1,17 @@ +Pod::Spec.new do |s| + s.name = 'ValueTypeRepresentable' + s.version = '0.1.0' + s.summary = 'Protocol collection for value type representation' + s.description = <<-DESC +Protocol collection for value type representation. + DESC + + s.homepage = 'https://github.com/anconaesselmann/ValueTypeRepresentable' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'anconaesselmann' => 'axel@anconaesselmann.com' } + s.source = { :git => 'https://github.com/anconaesselmann/ValueTypeRepresentable.git', :tag => s.version.to_s } + s.swift_version = '5.0' + s.ios.deployment_target = '10.0' + s.watchos.deployment_target = '3.0' + s.source_files = 'ValueTypeRepresentable/Classes/**/*' +end diff --git a/ValueTypeRepresentable/Assets/.gitkeep b/ValueTypeRepresentable/Assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/ValueTypeRepresentable/Classes/ValueTypeRepresentable.swift b/ValueTypeRepresentable/Classes/ValueTypeRepresentable.swift new file mode 100644 index 0000000..a284024 --- /dev/null +++ b/ValueTypeRepresentable/Classes/ValueTypeRepresentable.swift @@ -0,0 +1,78 @@ +import Foundation + +public protocol StringRepresentable { + var stringValue: String { get } + init?(_ stringValue: String) +} + +extension String: StringRepresentable { + public var stringValue: String { + return self + } + + public init?(_ stringValue: String) { + self = stringValue + } +} + +public protocol DoubleRepresentable { + var doubleValue: Double { get } + init?(_ doubleValue: Double) +} + +extension Double: DoubleRepresentable { + public var doubleValue: Double { + return self + } +} + +public protocol IntRepresentable { + var intValue: Int { get } + init?(_ intValue: Int) +} + +extension Int: IntRepresentable { + public var intValue: Int { + return self + } +} + +public protocol Int16Representable { + var int16Value: Int16 { get } + init?(_ int16Value: Int16) +} + +extension Int16: Int16Representable { + public var int16Value: Int16 { + return self + } + public init?(_ int16Value: Int16) { + self.init(Float(int16Value)) + } +} + +public protocol DateRepresentable { + var dateValue: Date { get } + init?(_ dateValue: Date) +} + +extension Date: DateRepresentable { + public init?(_ dateValue: Date) { + self.init(timeIntervalSince1970: dateValue.timeIntervalSince1970) + } + + public var dateValue: Date { + return self + } +} + +public protocol BoolRepresentable { + var boolValue: Bool { get } + init?(_ boolValue: Bool) +} + +extension Bool: BoolRepresentable { + public var boolValue: Bool { + return self + } +} diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj new file mode 120000 index 0000000..3c5a8e7 --- /dev/null +++ b/_Pods.xcodeproj @@ -0,0 +1 @@ +Example/Pods/Pods.xcodeproj \ No newline at end of file