From 5dd8a867b5cc248014d04efb345bf0062b13444f Mon Sep 17 00:00:00 2001 From: Alfie Hanssen Date: Sat, 25 Feb 2017 19:23:53 -0500 Subject: [PATCH] Renamed two classes to not conflict with pod name. --- Demo-iOS/Demo-iOS.xcodeproj/project.pbxproj | 193 ++++ Demo-iOS/Demo-iOS/ViewController.swift | 3 +- Podfile | 24 + Podfile.lock | 16 + Pods/Local Podspecs/VideoCamera.podspec.json | 32 + Pods/Manifest.lock | 16 + Pods/Pods.xcodeproj/project.pbxproj | 888 ++++++++++++++++++ .../Pods-Demo-iOS/Info.plist | 26 + .../Pods-Demo-iOS-acknowledgements.markdown | 28 + .../Pods-Demo-iOS-acknowledgements.plist | 60 ++ .../Pods-Demo-iOS/Pods-Demo-iOS-dummy.m | 5 + .../Pods-Demo-iOS/Pods-Demo-iOS-frameworks.sh | 91 ++ .../Pods-Demo-iOS/Pods-Demo-iOS-resources.sh | 96 ++ .../Pods-Demo-iOS/Pods-Demo-iOS-umbrella.h | 8 + .../Pods-Demo-iOS.debug.xcconfig | 11 + .../Pods-Demo-iOS/Pods-Demo-iOS.modulemap | 6 + .../Pods-Demo-iOS.release.xcconfig | 11 + .../Pods-Demo-iOSTests/Info.plist | 26 + ...ds-Demo-iOSTests-acknowledgements.markdown | 3 + .../Pods-Demo-iOSTests-acknowledgements.plist | 29 + .../Pods-Demo-iOSTests-dummy.m | 5 + .../Pods-Demo-iOSTests-frameworks.sh | 84 ++ .../Pods-Demo-iOSTests-resources.sh | 96 ++ .../Pods-Demo-iOSTests-umbrella.h | 8 + .../Pods-Demo-iOSTests.debug.xcconfig | 8 + .../Pods-Demo-iOSTests.modulemap | 6 + .../Pods-Demo-iOSTests.release.xcconfig | 8 + .../Pods-Demo-iOSUITests/Info.plist | 26 + ...-Demo-iOSUITests-acknowledgements.markdown | 3 + ...ods-Demo-iOSUITests-acknowledgements.plist | 29 + .../Pods-Demo-iOSUITests-dummy.m | 5 + .../Pods-Demo-iOSUITests-frameworks.sh | 84 ++ .../Pods-Demo-iOSUITests-resources.sh | 96 ++ .../Pods-Demo-iOSUITests-umbrella.h | 8 + .../Pods-Demo-iOSUITests.debug.xcconfig | 8 + .../Pods-Demo-iOSUITests.modulemap | 6 + .../Pods-Demo-iOSUITests.release.xcconfig | 8 + .../VideoCamera/Info.plist | 26 + .../VideoCamera/VideoCamera-dummy.m | 5 + .../VideoCamera/VideoCamera-prefix.pch | 4 + .../VideoCamera/VideoCamera-umbrella.h | 8 + .../VideoCamera/VideoCamera.modulemap | 6 + .../VideoCamera/VideoCamera.xcconfig | 10 + README.md | 12 + VideoCamera.podspec | 2 +- .../contents.xcworkspacedata | 3 + .../{VideoCamera.swift => Camera.swift} | 42 +- ...deoCameraError.swift => CameraError.swift} | 4 +- .../AVCaptureDevice+Extensions.swift | 2 +- .../AVCaptureSession+Extensions.swift | 6 +- 50 files changed, 2161 insertions(+), 29 deletions(-) create mode 100644 Podfile create mode 100644 Podfile.lock create mode 100644 Pods/Local Podspecs/VideoCamera.podspec.json create mode 100644 Pods/Manifest.lock create mode 100644 Pods/Pods.xcodeproj/project.pbxproj create mode 100644 Pods/Target Support Files/Pods-Demo-iOS/Info.plist create mode 100644 Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-acknowledgements.markdown create mode 100644 Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-acknowledgements.plist create mode 100644 Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-dummy.m create mode 100755 Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-frameworks.sh create mode 100755 Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-resources.sh create mode 100644 Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-umbrella.h create mode 100644 Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.debug.xcconfig create mode 100644 Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.modulemap create mode 100644 Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.release.xcconfig create mode 100644 Pods/Target Support Files/Pods-Demo-iOSTests/Info.plist create mode 100644 Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-acknowledgements.markdown create mode 100644 Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-acknowledgements.plist create mode 100644 Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-dummy.m create mode 100755 Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-frameworks.sh create mode 100755 Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-resources.sh create mode 100644 Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-umbrella.h create mode 100644 Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.debug.xcconfig create mode 100644 Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.modulemap create mode 100644 Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.release.xcconfig create mode 100644 Pods/Target Support Files/Pods-Demo-iOSUITests/Info.plist create mode 100644 Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-acknowledgements.markdown create mode 100644 Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-acknowledgements.plist create mode 100644 Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-dummy.m create mode 100755 Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-frameworks.sh create mode 100755 Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-resources.sh create mode 100644 Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-umbrella.h create mode 100644 Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.debug.xcconfig create mode 100644 Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.modulemap create mode 100644 Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.release.xcconfig create mode 100644 Pods/Target Support Files/VideoCamera/Info.plist create mode 100644 Pods/Target Support Files/VideoCamera/VideoCamera-dummy.m create mode 100644 Pods/Target Support Files/VideoCamera/VideoCamera-prefix.pch create mode 100644 Pods/Target Support Files/VideoCamera/VideoCamera-umbrella.h create mode 100644 Pods/Target Support Files/VideoCamera/VideoCamera.modulemap create mode 100644 Pods/Target Support Files/VideoCamera/VideoCamera.xcconfig create mode 100644 README.md rename VideoCamera/{VideoCamera.swift => Camera.swift} (86%) rename VideoCamera/{VideoCameraError.swift => CameraError.swift} (89%) diff --git a/Demo-iOS/Demo-iOS.xcodeproj/project.pbxproj b/Demo-iOS/Demo-iOS.xcodeproj/project.pbxproj index 6bdaf11..29bd417 100644 --- a/Demo-iOS/Demo-iOS.xcodeproj/project.pbxproj +++ b/Demo-iOS/Demo-iOS.xcodeproj/project.pbxproj @@ -7,6 +7,9 @@ objects = { /* Begin PBXBuildFile section */ + 0F55047408DAB9CAB8537D1D /* Pods_Demo_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CF9A154FD8C760AD519295A /* Pods_Demo_iOS.framework */; }; + 628B40E55CF0A0638F13AA89 /* Pods_Demo_iOSUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7FFDA93CA0ABD60EBCAA3802 /* Pods_Demo_iOSUITests.framework */; }; + 8C8F807673505D9C9CFE1CEC /* Pods_Demo_iOSTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2CCCC6E6590A4A718E4E6033 /* Pods_Demo_iOSTests.framework */; }; AF793A211E625126009886A0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF793A201E625126009886A0 /* AppDelegate.swift */; }; AF793A231E625126009886A0 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF793A221E625126009886A0 /* ViewController.swift */; }; AF793A281E625126009886A0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AF793A271E625126009886A0 /* Assets.xcassets */; }; @@ -34,6 +37,12 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 242C6CC8D84F8581B2C1B392 /* Pods-Demo-iOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo-iOSTests.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.debug.xcconfig"; sourceTree = ""; }; + 2CCCC6E6590A4A718E4E6033 /* Pods_Demo_iOSTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo_iOSTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 467636E15FF0A4942550B500 /* Pods-Demo-iOSUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo-iOSUITests.release.xcconfig"; path = "../Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.release.xcconfig"; sourceTree = ""; }; + 5CF9A154FD8C760AD519295A /* Pods_Demo_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 66BA809185BD6144D8A9A4C9 /* Pods-Demo-iOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo-iOSTests.release.xcconfig"; path = "../Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.release.xcconfig"; sourceTree = ""; }; + 7FFDA93CA0ABD60EBCAA3802 /* Pods_Demo_iOSUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo_iOSUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; AF793A1D1E625126009886A0 /* Demo-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Demo-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; AF793A201E625126009886A0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; AF793A221E625126009886A0 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; @@ -47,6 +56,9 @@ AF793A401E625127009886A0 /* Demo_iOSUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Demo_iOSUITests.swift; sourceTree = ""; }; AF793A421E625127009886A0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; AF793A4E1E6251BD009886A0 /* ViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ViewController.xib; sourceTree = ""; }; + B5DC961A271184A2B36B698C /* Pods-Demo-iOSUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo-iOSUITests.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.debug.xcconfig"; sourceTree = ""; }; + D23B9A6663F63A176D2AD408 /* Pods-Demo-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo-iOS.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.debug.xcconfig"; sourceTree = ""; }; + FCB07840318B4F0FA9238981 /* Pods-Demo-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo-iOS.release.xcconfig"; path = "../Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -54,6 +66,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 0F55047408DAB9CAB8537D1D /* Pods_Demo_iOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -61,6 +74,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8C8F807673505D9C9CFE1CEC /* Pods_Demo_iOSTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -68,12 +82,36 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 628B40E55CF0A0638F13AA89 /* Pods_Demo_iOSUITests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + A30208CBB648BCC8373A60F0 /* Pods */ = { + isa = PBXGroup; + children = ( + D23B9A6663F63A176D2AD408 /* Pods-Demo-iOS.debug.xcconfig */, + FCB07840318B4F0FA9238981 /* Pods-Demo-iOS.release.xcconfig */, + 242C6CC8D84F8581B2C1B392 /* Pods-Demo-iOSTests.debug.xcconfig */, + 66BA809185BD6144D8A9A4C9 /* Pods-Demo-iOSTests.release.xcconfig */, + B5DC961A271184A2B36B698C /* Pods-Demo-iOSUITests.debug.xcconfig */, + 467636E15FF0A4942550B500 /* Pods-Demo-iOSUITests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + AF4BCBDDF7D93CC297D2F674 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 5CF9A154FD8C760AD519295A /* Pods_Demo_iOS.framework */, + 2CCCC6E6590A4A718E4E6033 /* Pods_Demo_iOSTests.framework */, + 7FFDA93CA0ABD60EBCAA3802 /* Pods_Demo_iOSUITests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; AF793A141E625126009886A0 = { isa = PBXGroup; children = ( @@ -81,6 +119,8 @@ AF793A341E625126009886A0 /* Demo-iOSTests */, AF793A3F1E625127009886A0 /* Demo-iOSUITests */, AF793A1E1E625126009886A0 /* Products */, + A30208CBB648BCC8373A60F0 /* Pods */, + AF4BCBDDF7D93CC297D2F674 /* Frameworks */, ); sourceTree = ""; }; @@ -132,9 +172,12 @@ isa = PBXNativeTarget; buildConfigurationList = AF793A451E625127009886A0 /* Build configuration list for PBXNativeTarget "Demo-iOS" */; buildPhases = ( + 9B84F46746976E355FA45376 /* [CP] Check Pods Manifest.lock */, AF793A191E625126009886A0 /* Sources */, AF793A1A1E625126009886A0 /* Frameworks */, AF793A1B1E625126009886A0 /* Resources */, + 3377BA738563D768DD145A0F /* [CP] Embed Pods Frameworks */, + 61811D2EAE0FF164DAB2E209 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -149,9 +192,12 @@ isa = PBXNativeTarget; buildConfigurationList = AF793A481E625127009886A0 /* Build configuration list for PBXNativeTarget "Demo-iOSTests" */; buildPhases = ( + 9A24226353C317FE050F1BFF /* [CP] Check Pods Manifest.lock */, AF793A2D1E625126009886A0 /* Sources */, AF793A2E1E625126009886A0 /* Frameworks */, AF793A2F1E625126009886A0 /* Resources */, + 421EFB724ED349563B57121C /* [CP] Embed Pods Frameworks */, + 21A9F02CED6C7B924304509F /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -167,9 +213,12 @@ isa = PBXNativeTarget; buildConfigurationList = AF793A4B1E625127009886A0 /* Build configuration list for PBXNativeTarget "Demo-iOSUITests" */; buildPhases = ( + 78D381878A9109039D2DF49E /* [CP] Check Pods Manifest.lock */, AF793A381E625127009886A0 /* Sources */, AF793A391E625127009886A0 /* Frameworks */, AF793A3A1E625127009886A0 /* Resources */, + C33BC7E18A7C2A05CE3BACA2 /* [CP] Embed Pods Frameworks */, + 09A09C2D1B1EF83B67D1DC8E /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -257,6 +306,144 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 09A09C2D1B1EF83B67D1DC8E /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 21A9F02CED6C7B924304509F /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 3377BA738563D768DD145A0F /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 421EFB724ED349563B57121C /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 61811D2EAE0FF164DAB2E209 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 78D381878A9109039D2DF49E /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../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"; + showEnvVarsInLog = 0; + }; + 9A24226353C317FE050F1BFF /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../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"; + showEnvVarsInLog = 0; + }; + 9B84F46746976E355FA45376 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../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"; + showEnvVarsInLog = 0; + }; + C33BC7E18A7C2A05CE3BACA2 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ AF793A191E625126009886A0 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -403,6 +590,7 @@ }; AF793A461E625127009886A0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D23B9A6663F63A176D2AD408 /* Pods-Demo-iOS.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; DEVELOPMENT_TEAM = AT3549635A; @@ -416,6 +604,7 @@ }; AF793A471E625127009886A0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FCB07840318B4F0FA9238981 /* Pods-Demo-iOS.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; DEVELOPMENT_TEAM = AT3549635A; @@ -429,6 +618,7 @@ }; AF793A491E625127009886A0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 242C6CC8D84F8581B2C1B392 /* Pods-Demo-iOSTests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; @@ -444,6 +634,7 @@ }; AF793A4A1E625127009886A0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 66BA809185BD6144D8A9A4C9 /* Pods-Demo-iOSTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; @@ -459,6 +650,7 @@ }; AF793A4C1E625127009886A0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B5DC961A271184A2B36B698C /* Pods-Demo-iOSUITests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; DEVELOPMENT_TEAM = AT3549635A; @@ -473,6 +665,7 @@ }; AF793A4D1E625127009886A0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 467636E15FF0A4942550B500 /* Pods-Demo-iOSUITests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; DEVELOPMENT_TEAM = AT3549635A; diff --git a/Demo-iOS/Demo-iOS/ViewController.swift b/Demo-iOS/Demo-iOS/ViewController.swift index 8300962..a2dbb20 100644 --- a/Demo-iOS/Demo-iOS/ViewController.swift +++ b/Demo-iOS/Demo-iOS/ViewController.swift @@ -8,12 +8,13 @@ import UIKit import AVFoundation +import VideoCamera class ViewController: UIViewController { @IBOutlet weak var swapButton: UIButton! - private let camera = VideoCamera() + private let camera = Camera() override func viewDidLoad() { diff --git a/Podfile b/Podfile new file mode 100644 index 0000000..82a0e7c --- /dev/null +++ b/Podfile @@ -0,0 +1,24 @@ +workspace 'VideoCamera' + +target 'Demo-iOS' do + + project 'Demo-iOS/Demo-iOS.xcodeproj' + platform :ios, '10.0' + + # Comment the next line if you're not using Swift and don't want to use dynamic frameworks + use_frameworks! + + # Pods for Demo-iOS + pod 'VideoCamera', :path => './' + + target 'Demo-iOSTests' do + inherit! :search_paths + # Pods for testing + end + + target 'Demo-iOSUITests' do + inherit! :search_paths + # Pods for testing + end + +end diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000..24bdec7 --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - VideoCamera (0.0.1) + +DEPENDENCIES: + - VideoCamera (from `./`) + +EXTERNAL SOURCES: + VideoCamera: + :path: ./ + +SPEC CHECKSUMS: + VideoCamera: 0c75798267eed57141599fe4f0f176cccc2dd6ef + +PODFILE CHECKSUM: 379e09b800467cd7eb44e169eab1f75450e064d1 + +COCOAPODS: 1.1.1 diff --git a/Pods/Local Podspecs/VideoCamera.podspec.json b/Pods/Local Podspecs/VideoCamera.podspec.json new file mode 100644 index 0000000..c04ad6a --- /dev/null +++ b/Pods/Local Podspecs/VideoCamera.podspec.json @@ -0,0 +1,32 @@ +{ + "name": "VideoCamera", + "version": "0.0.1", + "summary": "A simple video camera for iOS.", + "description": "A simple video camera for iOS. Built primarily for rapid prototyping of video camera-realted ideas.", + "homepage": "https://github.com/alfiehanssen/VideoCamera", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "Alfie Hanssen": "alfiehanssen@gmail.com" + }, + "social_media_url": "http://alfiehanssen.com", + "platforms": { + "ios": "10.0" + }, + "source": { + "git": "https://github.com/alfiehanssen/VideoCamera.git", + "tag": "0.0.1" + }, + "source_files": [ + "VideoCamera", + "VideoCamera/**/*.{swift}" + ], + "frameworks": [ + "Foundation", + "UIKit", + "AVFoundation" + ], + "requires_arc": true +} diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock new file mode 100644 index 0000000..24bdec7 --- /dev/null +++ b/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - VideoCamera (0.0.1) + +DEPENDENCIES: + - VideoCamera (from `./`) + +EXTERNAL SOURCES: + VideoCamera: + :path: ./ + +SPEC CHECKSUMS: + VideoCamera: 0c75798267eed57141599fe4f0f176cccc2dd6ef + +PODFILE CHECKSUM: 379e09b800467cd7eb44e169eab1f75450e064d1 + +COCOAPODS: 1.1.1 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..51c7858 --- /dev/null +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,888 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 2B341837D5EEF7AB8385E870EA058AAA /* CameraError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C06EBD7E6ABBAE11830B2BFF7DB32D2 /* CameraError.swift */; }; + 2D0380B4947400177514F2D8158CA3F3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C1310D6EC5D51D33497F7499F9F52BB7 /* Foundation.framework */; }; + 2E80D31D9CE8E85EEC2A85E321F12212 /* Pods-Demo-iOSTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1D69DCBBFA72D214D203EB6EF11D9F2C /* Pods-Demo-iOSTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2F77194C7BDF1868A9641CF8C33F0951 /* AVCaptureSession+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4E6F866A626037582AE84071E656AF1D /* AVCaptureSession+Extensions.swift */; }; + 2FBF1ED172037A528534FE4110CAE36D /* VideoCamera-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6AE0708C8B0B24AE2D446B46222732BA /* VideoCamera-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 30958281414C022E439974199C3C25F8 /* Pods-Demo-iOSTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 43F5FBF5C8D9AC818EAF00DB358BCC58 /* Pods-Demo-iOSTests-dummy.m */; }; + 3EFCC51961522184AF0FBC4847094446 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D11E8724699B28A686C2ED8FA6BC234 /* Result.swift */; }; + 4A6614A2AD85CC919F7B6D90CF74EEEA /* AVCaptureDevice+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 268F65096AE2FC705CF63F6DC46FBD81 /* AVCaptureDevice+Extensions.swift */; }; + 5EF8D653EBAA0871B62F24B2FC4CE608 /* Pods-Demo-iOSUITests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 63DC41E19402A081982285D9ABE1FE6F /* Pods-Demo-iOSUITests-dummy.m */; }; + 61CC2EF5397538136D47A81196F9A578 /* VideoCamera-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A0EE1D94BBEDEF931FC159C146F83650 /* VideoCamera-dummy.m */; }; + 65F0D00431CB44E137664AEA460E6EA0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C1310D6EC5D51D33497F7499F9F52BB7 /* Foundation.framework */; }; + 66C4407C80ECA1A9FB45DC0853661FF8 /* Pods-Demo-iOS-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D3F179541BBBFE59C6B0410D6E03FBF5 /* Pods-Demo-iOS-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 671ABF1C7121CA73AE843CE8EE2A1A7F /* Camera.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26A02477D8888E4907B5526667D634DF /* Camera.swift */; }; + 7C018F55A822AFD7791FA031246123F4 /* AVCaptureDeviceInput+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C92C6FA277C77174403E8F903A6AF41 /* AVCaptureDeviceInput+Extensions.swift */; }; + 84ABDDFBEEB0DD2012EF9BFEEC387899 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72FEE101CACF7AC0906D397660A526AB /* AVFoundation.framework */; }; + 9CB468E6D917E6D4AC73D0925DA280FC /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 01DF7486DA9C7ACBFB36F83764720A59 /* UIKit.framework */; }; + AA4396F76A0754BC03C659F3E3CA552D /* Pods-Demo-iOSUITests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C664D55F82D553BB54A199C2F240917 /* Pods-Demo-iOSUITests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ABE283000434F5CD9891292F6C2210C6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C1310D6EC5D51D33497F7499F9F52BB7 /* Foundation.framework */; }; + CC594FF860F670F36D25B5C8963989B6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C1310D6EC5D51D33497F7499F9F52BB7 /* Foundation.framework */; }; + E5F2999D396F2BFB112BF74A52FEABC9 /* Pods-Demo-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CBB1EE311A0195A9F807F6DF02F75752 /* Pods-Demo-iOS-dummy.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 4F9FB51581BE98AD33795F2C087C74B9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 43F8590424FC2035A3DC41F4D1419915; + remoteInfo = VideoCamera; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 01C03311B6526F6803AF6C5C1A7163FD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 01DF7486DA9C7ACBFB36F83764720A59 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; + 0C664D55F82D553BB54A199C2F240917 /* Pods-Demo-iOSUITests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Demo-iOSUITests-umbrella.h"; sourceTree = ""; }; + 113BF1D0DC77CE04030984FAE37BDAC2 /* Pods-Demo-iOSUITests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Demo-iOSUITests-acknowledgements.markdown"; sourceTree = ""; }; + 19C4ADBA9DA727BBD94FB24C62F8489B /* VideoCamera-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "VideoCamera-prefix.pch"; sourceTree = ""; }; + 1AD4334E7ECDAF2F2614DB71C857900F /* Pods-Demo-iOSTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Demo-iOSTests-resources.sh"; sourceTree = ""; }; + 1D69DCBBFA72D214D203EB6EF11D9F2C /* Pods-Demo-iOSTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Demo-iOSTests-umbrella.h"; sourceTree = ""; }; + 2547DFE1DC0CD2B2BB7E3AE7BAB9AB05 /* Pods-Demo-iOS-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Demo-iOS-resources.sh"; sourceTree = ""; }; + 2638F882BF09B7A63C11A9D2B1EBEA4D /* Pods-Demo-iOS-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Demo-iOS-acknowledgements.markdown"; sourceTree = ""; }; + 268EF13A59C6E92940CC35308D4FC11D /* VideoCamera.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = VideoCamera.modulemap; sourceTree = ""; }; + 268F65096AE2FC705CF63F6DC46FBD81 /* AVCaptureDevice+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "AVCaptureDevice+Extensions.swift"; sourceTree = ""; }; + 26A02477D8888E4907B5526667D634DF /* Camera.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Camera.swift; sourceTree = ""; }; + 26E9689AE84BE33662D3E48954286308 /* Pods-Demo-iOSUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Demo-iOSUITests.debug.xcconfig"; sourceTree = ""; }; + 318B05259A3ECB4D5DC5A25566A43F89 /* Pods-Demo-iOSUITests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Demo-iOSUITests-acknowledgements.plist"; sourceTree = ""; }; + 3C06EBD7E6ABBAE11830B2BFF7DB32D2 /* CameraError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = CameraError.swift; sourceTree = ""; }; + 3CF83044BB7DF63381CFF09B693D6DC0 /* VideoCamera.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = VideoCamera.xcconfig; sourceTree = ""; }; + 405BAAED7D16A0DB92E191D4588174DC /* Pods_Demo_iOSTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo_iOSTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 43F5FBF5C8D9AC818EAF00DB358BCC58 /* Pods-Demo-iOSTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Demo-iOSTests-dummy.m"; sourceTree = ""; }; + 4643AEFC678FB1433478B8C14924F454 /* Pods-Demo-iOSTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Demo-iOSTests-acknowledgements.markdown"; sourceTree = ""; }; + 48601E164AB93820418E2C680486EF0F /* Pods-Demo-iOS.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-Demo-iOS.modulemap"; sourceTree = ""; }; + 48953ED19E8309253789B907B71301DF /* Pods-Demo-iOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Demo-iOSTests.debug.xcconfig"; sourceTree = ""; }; + 4E6F866A626037582AE84071E656AF1D /* AVCaptureSession+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "AVCaptureSession+Extensions.swift"; sourceTree = ""; }; + 4F0C707C30FD52E0909CF52A74BDD752 /* Pods_Demo_iOSUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo_iOSUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 5929C28FE255A89CC90E788527BB552A /* Pods-Demo-iOS-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Demo-iOS-frameworks.sh"; sourceTree = ""; }; + 5C92C6FA277C77174403E8F903A6AF41 /* AVCaptureDeviceInput+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "AVCaptureDeviceInput+Extensions.swift"; sourceTree = ""; }; + 5D11E8724699B28A686C2ED8FA6BC234 /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Result.swift; sourceTree = ""; }; + 62E7A8BA7F156451EB9A31FE9DAFABF6 /* Pods-Demo-iOSUITests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Demo-iOSUITests-resources.sh"; sourceTree = ""; }; + 63DC41E19402A081982285D9ABE1FE6F /* Pods-Demo-iOSUITests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Demo-iOSUITests-dummy.m"; sourceTree = ""; }; + 6732C1204936220562B69D24958E2979 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 6AE0708C8B0B24AE2D446B46222732BA /* VideoCamera-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "VideoCamera-umbrella.h"; sourceTree = ""; }; + 709D4CA358A35B17CDC767C97C57B0AF /* Pods-Demo-iOSUITests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Demo-iOSUITests-frameworks.sh"; sourceTree = ""; }; + 72FEE101CACF7AC0906D397660A526AB /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/AVFoundation.framework; sourceTree = DEVELOPER_DIR; }; + 7D9E90745B3902A2C3B0F4D378B6DBA1 /* Pods-Demo-iOSUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Demo-iOSUITests.release.xcconfig"; sourceTree = ""; }; + 92C6CA0A9160E51F3AA7F9D027B85735 /* Pods-Demo-iOSUITests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-Demo-iOSUITests.modulemap"; sourceTree = ""; }; + 92DD5A435C3F45A7304B87828EDB4DF5 /* Pods-Demo-iOSTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-Demo-iOSTests.modulemap"; sourceTree = ""; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 9458892593D2939DD405F8F8D4178DF9 /* Pods-Demo-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Demo-iOS.debug.xcconfig"; sourceTree = ""; }; + 97E3A8171333EC93C83E0EB59A6DC12D /* Pods-Demo-iOS-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Demo-iOS-acknowledgements.plist"; sourceTree = ""; }; + A0EE1D94BBEDEF931FC159C146F83650 /* VideoCamera-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "VideoCamera-dummy.m"; sourceTree = ""; }; + A9A26DC13275F65A7A44E1DBF7E33850 /* Pods-Demo-iOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Demo-iOSTests.release.xcconfig"; sourceTree = ""; }; + BB26FFDE8EFFF1BB973B988FC8C55AB1 /* Pods_Demo_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C1310D6EC5D51D33497F7499F9F52BB7 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + CAA37A352FFD6372030A3786A4320A97 /* Pods-Demo-iOSTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Demo-iOSTests-frameworks.sh"; sourceTree = ""; }; + CBB1EE311A0195A9F807F6DF02F75752 /* Pods-Demo-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Demo-iOS-dummy.m"; sourceTree = ""; }; + D3F179541BBBFE59C6B0410D6E03FBF5 /* Pods-Demo-iOS-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Demo-iOS-umbrella.h"; sourceTree = ""; }; + EE63648E28322F108CFDF11058B7073D /* Pods-Demo-iOSTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Demo-iOSTests-acknowledgements.plist"; sourceTree = ""; }; + F0B2FA288624D31BD0B27D0D3BC59F4F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + F848120563EA0D040F6FCEAD7FE3D312 /* Pods-Demo-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Demo-iOS.release.xcconfig"; sourceTree = ""; }; + F9BAE23EE78EBEBD08C1100BF0DF1F0D /* VideoCamera.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = VideoCamera.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FD82D88DCBF9E740BC9EFBA22E796D0A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1E8FE88D8452F7145C4F40C7868F4C75 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 65F0D00431CB44E137664AEA460E6EA0 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8919F8C7694065B05F543B85EE86373A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 84ABDDFBEEB0DD2012EF9BFEEC387899 /* AVFoundation.framework in Frameworks */, + ABE283000434F5CD9891292F6C2210C6 /* Foundation.framework in Frameworks */, + 9CB468E6D917E6D4AC73D0925DA280FC /* UIKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8F4B87EB941D5C298E1C545116360C27 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CC594FF860F670F36D25B5C8963989B6 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C167D806D3CAA6AA4583C2B44C61B321 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2D0380B4947400177514F2D8158CA3F3 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 020E66CD84CE51CD1CEB66E3329AE987 /* Pods-Demo-iOSTests */ = { + isa = PBXGroup; + children = ( + F0B2FA288624D31BD0B27D0D3BC59F4F /* Info.plist */, + 92DD5A435C3F45A7304B87828EDB4DF5 /* Pods-Demo-iOSTests.modulemap */, + 4643AEFC678FB1433478B8C14924F454 /* Pods-Demo-iOSTests-acknowledgements.markdown */, + EE63648E28322F108CFDF11058B7073D /* Pods-Demo-iOSTests-acknowledgements.plist */, + 43F5FBF5C8D9AC818EAF00DB358BCC58 /* Pods-Demo-iOSTests-dummy.m */, + CAA37A352FFD6372030A3786A4320A97 /* Pods-Demo-iOSTests-frameworks.sh */, + 1AD4334E7ECDAF2F2614DB71C857900F /* Pods-Demo-iOSTests-resources.sh */, + 1D69DCBBFA72D214D203EB6EF11D9F2C /* Pods-Demo-iOSTests-umbrella.h */, + 48953ED19E8309253789B907B71301DF /* Pods-Demo-iOSTests.debug.xcconfig */, + A9A26DC13275F65A7A44E1DBF7E33850 /* Pods-Demo-iOSTests.release.xcconfig */, + ); + name = "Pods-Demo-iOSTests"; + path = "Target Support Files/Pods-Demo-iOSTests"; + sourceTree = ""; + }; + 061941686828BB0C9CFFCBF11601D320 /* Products */ = { + isa = PBXGroup; + children = ( + BB26FFDE8EFFF1BB973B988FC8C55AB1 /* Pods_Demo_iOS.framework */, + 405BAAED7D16A0DB92E191D4588174DC /* Pods_Demo_iOSTests.framework */, + 4F0C707C30FD52E0909CF52A74BDD752 /* Pods_Demo_iOSUITests.framework */, + F9BAE23EE78EBEBD08C1100BF0DF1F0D /* VideoCamera.framework */, + ); + name = Products; + sourceTree = ""; + }; + 0915936849A43EAA97F57BD8904A58FD /* Development Pods */ = { + isa = PBXGroup; + children = ( + 76BE0DD6349263FC705BD0376AC04E91 /* VideoCamera */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + 122DA2E5084A4393C29BE363C764795C /* Frameworks */ = { + isa = PBXGroup; + children = ( + 6F636F190E8358172B07A737059AF70D /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + 143E8F5C30E31E1BBA1E106F25DEA62B /* Pods-Demo-iOSUITests */ = { + isa = PBXGroup; + children = ( + 6732C1204936220562B69D24958E2979 /* Info.plist */, + 92C6CA0A9160E51F3AA7F9D027B85735 /* Pods-Demo-iOSUITests.modulemap */, + 113BF1D0DC77CE04030984FAE37BDAC2 /* Pods-Demo-iOSUITests-acknowledgements.markdown */, + 318B05259A3ECB4D5DC5A25566A43F89 /* Pods-Demo-iOSUITests-acknowledgements.plist */, + 63DC41E19402A081982285D9ABE1FE6F /* Pods-Demo-iOSUITests-dummy.m */, + 709D4CA358A35B17CDC767C97C57B0AF /* Pods-Demo-iOSUITests-frameworks.sh */, + 62E7A8BA7F156451EB9A31FE9DAFABF6 /* Pods-Demo-iOSUITests-resources.sh */, + 0C664D55F82D553BB54A199C2F240917 /* Pods-Demo-iOSUITests-umbrella.h */, + 26E9689AE84BE33662D3E48954286308 /* Pods-Demo-iOSUITests.debug.xcconfig */, + 7D9E90745B3902A2C3B0F4D378B6DBA1 /* Pods-Demo-iOSUITests.release.xcconfig */, + ); + name = "Pods-Demo-iOSUITests"; + path = "Target Support Files/Pods-Demo-iOSUITests"; + sourceTree = ""; + }; + 6F636F190E8358172B07A737059AF70D /* iOS */ = { + isa = PBXGroup; + children = ( + 72FEE101CACF7AC0906D397660A526AB /* AVFoundation.framework */, + C1310D6EC5D51D33497F7499F9F52BB7 /* Foundation.framework */, + 01DF7486DA9C7ACBFB36F83764720A59 /* UIKit.framework */, + ); + name = iOS; + sourceTree = ""; + }; + 70D569C8D3BDD362830ACDFA89B40F98 /* Extensions */ = { + isa = PBXGroup; + children = ( + 268F65096AE2FC705CF63F6DC46FBD81 /* AVCaptureDevice+Extensions.swift */, + 5C92C6FA277C77174403E8F903A6AF41 /* AVCaptureDeviceInput+Extensions.swift */, + 4E6F866A626037582AE84071E656AF1D /* AVCaptureSession+Extensions.swift */, + ); + path = Extensions; + sourceTree = ""; + }; + 764B03A1290B41921970754F7E18899E /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + FB10C3BA58E260AB31183D58A639CF07 /* Pods-Demo-iOS */, + 020E66CD84CE51CD1CEB66E3329AE987 /* Pods-Demo-iOSTests */, + 143E8F5C30E31E1BBA1E106F25DEA62B /* Pods-Demo-iOSUITests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + 76BE0DD6349263FC705BD0376AC04E91 /* VideoCamera */ = { + isa = PBXGroup; + children = ( + BB3EAB9FB74D48523527591E727B129E /* Support Files */, + EA128D8E0DE75DB1E32642A2E97C92E3 /* VideoCamera */, + ); + name = VideoCamera; + path = ..; + sourceTree = ""; + }; + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + 0915936849A43EAA97F57BD8904A58FD /* Development Pods */, + 122DA2E5084A4393C29BE363C764795C /* Frameworks */, + 061941686828BB0C9CFFCBF11601D320 /* Products */, + 764B03A1290B41921970754F7E18899E /* Targets Support Files */, + ); + sourceTree = ""; + }; + BB3EAB9FB74D48523527591E727B129E /* Support Files */ = { + isa = PBXGroup; + children = ( + FD82D88DCBF9E740BC9EFBA22E796D0A /* Info.plist */, + 268EF13A59C6E92940CC35308D4FC11D /* VideoCamera.modulemap */, + 3CF83044BB7DF63381CFF09B693D6DC0 /* VideoCamera.xcconfig */, + A0EE1D94BBEDEF931FC159C146F83650 /* VideoCamera-dummy.m */, + 19C4ADBA9DA727BBD94FB24C62F8489B /* VideoCamera-prefix.pch */, + 6AE0708C8B0B24AE2D446B46222732BA /* VideoCamera-umbrella.h */, + ); + name = "Support Files"; + path = "Pods/Target Support Files/VideoCamera"; + sourceTree = ""; + }; + EA128D8E0DE75DB1E32642A2E97C92E3 /* VideoCamera */ = { + isa = PBXGroup; + children = ( + 26A02477D8888E4907B5526667D634DF /* Camera.swift */, + 5D11E8724699B28A686C2ED8FA6BC234 /* Result.swift */, + 3C06EBD7E6ABBAE11830B2BFF7DB32D2 /* CameraError.swift */, + 70D569C8D3BDD362830ACDFA89B40F98 /* Extensions */, + ); + path = VideoCamera; + sourceTree = ""; + }; + FB10C3BA58E260AB31183D58A639CF07 /* Pods-Demo-iOS */ = { + isa = PBXGroup; + children = ( + 01C03311B6526F6803AF6C5C1A7163FD /* Info.plist */, + 48601E164AB93820418E2C680486EF0F /* Pods-Demo-iOS.modulemap */, + 2638F882BF09B7A63C11A9D2B1EBEA4D /* Pods-Demo-iOS-acknowledgements.markdown */, + 97E3A8171333EC93C83E0EB59A6DC12D /* Pods-Demo-iOS-acknowledgements.plist */, + CBB1EE311A0195A9F807F6DF02F75752 /* Pods-Demo-iOS-dummy.m */, + 5929C28FE255A89CC90E788527BB552A /* Pods-Demo-iOS-frameworks.sh */, + 2547DFE1DC0CD2B2BB7E3AE7BAB9AB05 /* Pods-Demo-iOS-resources.sh */, + D3F179541BBBFE59C6B0410D6E03FBF5 /* Pods-Demo-iOS-umbrella.h */, + 9458892593D2939DD405F8F8D4178DF9 /* Pods-Demo-iOS.debug.xcconfig */, + F848120563EA0D040F6FCEAD7FE3D312 /* Pods-Demo-iOS.release.xcconfig */, + ); + name = "Pods-Demo-iOS"; + path = "Target Support Files/Pods-Demo-iOS"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 282D033B42A0C5228733D0ECCC47CE2E /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 66C4407C80ECA1A9FB45DC0853661FF8 /* Pods-Demo-iOS-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 341DD6F5CD638EC7E31616CF3D51D2FA /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + AA4396F76A0754BC03C659F3E3CA552D /* Pods-Demo-iOSUITests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D34986D1DFBA76FD2F67CA48E803D9B3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 2FBF1ED172037A528534FE4110CAE36D /* VideoCamera-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EFCF9A73BCF2E7CFC5A549FE02788F53 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 2E80D31D9CE8E85EEC2A85E321F12212 /* Pods-Demo-iOSTests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 2B04A096209FD920912364E78929385D /* Pods-Demo-iOSUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8F0F85A337F54AF335C397A75FFAF87D /* Build configuration list for PBXNativeTarget "Pods-Demo-iOSUITests" */; + buildPhases = ( + 7AF15DF567DA7F9FB2495054CC40506D /* Sources */, + C167D806D3CAA6AA4583C2B44C61B321 /* Frameworks */, + 341DD6F5CD638EC7E31616CF3D51D2FA /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Pods-Demo-iOSUITests"; + productName = "Pods-Demo-iOSUITests"; + productReference = 4F0C707C30FD52E0909CF52A74BDD752 /* Pods_Demo_iOSUITests.framework */; + productType = "com.apple.product-type.framework"; + }; + 43F8590424FC2035A3DC41F4D1419915 /* VideoCamera */ = { + isa = PBXNativeTarget; + buildConfigurationList = F39A55C83842084B697734F607711D87 /* Build configuration list for PBXNativeTarget "VideoCamera" */; + buildPhases = ( + B55883F3B57C976B91DB2A8AB6C70CD6 /* Sources */, + 8919F8C7694065B05F543B85EE86373A /* Frameworks */, + D34986D1DFBA76FD2F67CA48E803D9B3 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = VideoCamera; + productName = VideoCamera; + productReference = F9BAE23EE78EBEBD08C1100BF0DF1F0D /* VideoCamera.framework */; + productType = "com.apple.product-type.framework"; + }; + 71A682CCC213D036E198A179FD2ED562 /* Pods-Demo-iOSTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = B727F2F99F30B2C9D5E9EEAC3CF4A73F /* Build configuration list for PBXNativeTarget "Pods-Demo-iOSTests" */; + buildPhases = ( + D4067046D6F3B929025FCAA4A29E57C6 /* Sources */, + 8F4B87EB941D5C298E1C545116360C27 /* Frameworks */, + EFCF9A73BCF2E7CFC5A549FE02788F53 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Pods-Demo-iOSTests"; + productName = "Pods-Demo-iOSTests"; + productReference = 405BAAED7D16A0DB92E191D4588174DC /* Pods_Demo_iOSTests.framework */; + productType = "com.apple.product-type.framework"; + }; + 8343409AF3D0B48FA9854BFD3765E69E /* Pods-Demo-iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = D8D7823EB1667950DCA4820DF2E1837A /* Build configuration list for PBXNativeTarget "Pods-Demo-iOS" */; + buildPhases = ( + F4D521EBF5930CF38DA22F6582D3C7F6 /* Sources */, + 1E8FE88D8452F7145C4F40C7868F4C75 /* Frameworks */, + 282D033B42A0C5228733D0ECCC47CE2E /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + D612A17CA80471CC01E48D19493EBAE7 /* PBXTargetDependency */, + ); + name = "Pods-Demo-iOS"; + productName = "Pods-Demo-iOS"; + productReference = BB26FFDE8EFFF1BB973B988FC8C55AB1 /* Pods_Demo_iOS.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0730; + LastUpgradeCheck = 0700; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = 061941686828BB0C9CFFCBF11601D320 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8343409AF3D0B48FA9854BFD3765E69E /* Pods-Demo-iOS */, + 71A682CCC213D036E198A179FD2ED562 /* Pods-Demo-iOSTests */, + 2B04A096209FD920912364E78929385D /* Pods-Demo-iOSUITests */, + 43F8590424FC2035A3DC41F4D1419915 /* VideoCamera */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 7AF15DF567DA7F9FB2495054CC40506D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5EF8D653EBAA0871B62F24B2FC4CE608 /* Pods-Demo-iOSUITests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B55883F3B57C976B91DB2A8AB6C70CD6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4A6614A2AD85CC919F7B6D90CF74EEEA /* AVCaptureDevice+Extensions.swift in Sources */, + 7C018F55A822AFD7791FA031246123F4 /* AVCaptureDeviceInput+Extensions.swift in Sources */, + 2F77194C7BDF1868A9641CF8C33F0951 /* AVCaptureSession+Extensions.swift in Sources */, + 671ABF1C7121CA73AE843CE8EE2A1A7F /* Camera.swift in Sources */, + 3EFCC51961522184AF0FBC4847094446 /* Result.swift in Sources */, + 61CC2EF5397538136D47A81196F9A578 /* VideoCamera-dummy.m in Sources */, + 2B341837D5EEF7AB8385E870EA058AAA /* CameraError.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D4067046D6F3B929025FCAA4A29E57C6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 30958281414C022E439974199C3C25F8 /* Pods-Demo-iOSTests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F4D521EBF5930CF38DA22F6582D3C7F6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E5F2999D396F2BFB112BF74A52FEABC9 /* Pods-Demo-iOS-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + D612A17CA80471CC01E48D19493EBAE7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = VideoCamera; + target = 43F8590424FC2035A3DC41F4D1419915 /* VideoCamera */; + targetProxy = 4F9FB51581BE98AD33795F2C087C74B9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 12914D756594D15C6F2CA12FE5F89F1B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + ONLY_ACTIVE_ARCH = YES; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + 1D51966D425334CEE4CEA6F95F897D30 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 48953ED19E8309253789B907B71301DF /* Pods-Demo-iOSTests.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-Demo-iOSTests/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-Demo-iOSTests/Pods-Demo-iOSTests.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_Demo_iOSTests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 266ACD70BD770DA27190071CBDFE9881 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 26E9689AE84BE33662D3E48954286308 /* Pods-Demo-iOSUITests.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-Demo-iOSUITests/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-Demo-iOSUITests/Pods-Demo-iOSUITests.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_Demo_iOSUITests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 428B0AA2EE792B099B560C49AF6AAE3D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9458892593D2939DD405F8F8D4178DF9 /* Pods-Demo-iOS.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-Demo-iOS/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-Demo-iOS/Pods-Demo-iOS.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_Demo_iOS; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 5197280C4DE26AE40A0DB18D2BA59546 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F848120563EA0D040F6FCEAD7FE3D312 /* Pods-Demo-iOS.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-Demo-iOS/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-Demo-iOS/Pods-Demo-iOS.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_Demo_iOS; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 7844AECFA93597DD074E8EFC31B69DCF /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3CF83044BB7DF63381CFF09B693D6DC0 /* VideoCamera.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/VideoCamera/VideoCamera-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/VideoCamera/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/VideoCamera/VideoCamera.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = VideoCamera; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 7936C2F1CBB3CE7D7849E83A6EEB218B /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3CF83044BB7DF63381CFF09B693D6DC0 /* VideoCamera.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/VideoCamera/VideoCamera-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/VideoCamera/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/VideoCamera/VideoCamera.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = VideoCamera; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + E72E7977875C2D251FC62736BBDDC389 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + E7C50B570EAC4174493F96D199A2936B /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7D9E90745B3902A2C3B0F4D378B6DBA1 /* Pods-Demo-iOSUITests.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-Demo-iOSUITests/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-Demo-iOSUITests/Pods-Demo-iOSUITests.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_Demo_iOSUITests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + E8DF8D3C887B4C532F605BD717F815B6 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A9A26DC13275F65A7A44E1DBF7E33850 /* Pods-Demo-iOSTests.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-Demo-iOSTests/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-Demo-iOSTests/Pods-Demo-iOSTests.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_Demo_iOSTests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 12914D756594D15C6F2CA12FE5F89F1B /* Debug */, + E72E7977875C2D251FC62736BBDDC389 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 8F0F85A337F54AF335C397A75FFAF87D /* Build configuration list for PBXNativeTarget "Pods-Demo-iOSUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 266ACD70BD770DA27190071CBDFE9881 /* Debug */, + E7C50B570EAC4174493F96D199A2936B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B727F2F99F30B2C9D5E9EEAC3CF4A73F /* Build configuration list for PBXNativeTarget "Pods-Demo-iOSTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D51966D425334CEE4CEA6F95F897D30 /* Debug */, + E8DF8D3C887B4C532F605BD717F815B6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D8D7823EB1667950DCA4820DF2E1837A /* Build configuration list for PBXNativeTarget "Pods-Demo-iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 428B0AA2EE792B099B560C49AF6AAE3D /* Debug */, + 5197280C4DE26AE40A0DB18D2BA59546 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + F39A55C83842084B697734F607711D87 /* Build configuration list for PBXNativeTarget "VideoCamera" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7844AECFA93597DD074E8EFC31B69DCF /* Debug */, + 7936C2F1CBB3CE7D7849E83A6EEB218B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/Pods/Target Support Files/Pods-Demo-iOS/Info.plist b/Pods/Target Support Files/Pods-Demo-iOS/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/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/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-acknowledgements.markdown b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-acknowledgements.markdown new file mode 100644 index 0000000..39059c6 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-acknowledgements.markdown @@ -0,0 +1,28 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## VideoCamera + +The MIT License (MIT) + +Copyright (c) 2017 Alfie Hanssen + +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/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-acknowledgements.plist b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-acknowledgements.plist new file mode 100644 index 0000000..8af2072 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-acknowledgements.plist @@ -0,0 +1,60 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + The MIT License (MIT) + +Copyright (c) 2017 Alfie Hanssen + +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 + VideoCamera + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-dummy.m b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-dummy.m new file mode 100644 index 0000000..40d326a --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_Demo_iOS : NSObject +@end +@implementation PodsDummy_Pods_Demo_iOS +@end diff --git a/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-frameworks.sh b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-frameworks.sh new file mode 100755 index 0000000..ea22708 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-frameworks.sh @@ -0,0 +1,91 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +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 dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --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}" + 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 && exit ${PIPESTATUS[0]}) + 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 +} + +# 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_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "$BUILT_PRODUCTS_DIR/VideoCamera/VideoCamera.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "$BUILT_PRODUCTS_DIR/VideoCamera/VideoCamera.framework" +fi diff --git a/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-resources.sh b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-resources.sh new file mode 100755 index 0000000..25e9d37 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-resources.sh @@ -0,0 +1,96 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-umbrella.h b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-umbrella.h new file mode 100644 index 0000000..e078421 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS-umbrella.h @@ -0,0 +1,8 @@ +#ifdef __OBJC__ +#import +#endif + + +FOUNDATION_EXPORT double Pods_Demo_iOSVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_Demo_iOSVersionString[]; + diff --git a/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.debug.xcconfig b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.debug.xcconfig new file mode 100644 index 0000000..80a881b --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.debug.xcconfig @@ -0,0 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera/VideoCamera.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "VideoCamera" +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 diff --git a/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.modulemap b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.modulemap new file mode 100644 index 0000000..f9ead30 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.modulemap @@ -0,0 +1,6 @@ +framework module Pods_Demo_iOS { + umbrella header "Pods-Demo-iOS-umbrella.h" + + export * + module * { export * } +} diff --git a/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.release.xcconfig b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.release.xcconfig new file mode 100644 index 0000000..80a881b --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOS/Pods-Demo-iOS.release.xcconfig @@ -0,0 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera/VideoCamera.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "VideoCamera" +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 diff --git a/Pods/Target Support Files/Pods-Demo-iOSTests/Info.plist b/Pods/Target Support Files/Pods-Demo-iOSTests/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/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/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-acknowledgements.markdown b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-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/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-acknowledgements.plist b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-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/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-dummy.m b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-dummy.m new file mode 100644 index 0000000..9fbf278 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_Demo_iOSTests : NSObject +@end +@implementation PodsDummy_Pods_Demo_iOSTests +@end diff --git a/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-frameworks.sh b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-frameworks.sh new file mode 100755 index 0000000..893c16a --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-frameworks.sh @@ -0,0 +1,84 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +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 dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --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}" + 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 && exit ${PIPESTATUS[0]}) + 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 +} + +# 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_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + diff --git a/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-resources.sh b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-resources.sh new file mode 100755 index 0000000..25e9d37 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-resources.sh @@ -0,0 +1,96 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-umbrella.h b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-umbrella.h new file mode 100644 index 0000000..1fe018b --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests-umbrella.h @@ -0,0 +1,8 @@ +#ifdef __OBJC__ +#import +#endif + + +FOUNDATION_EXPORT double Pods_Demo_iOSTestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_Demo_iOSTestsVersionString[]; + diff --git a/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.debug.xcconfig b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.debug.xcconfig new file mode 100644 index 0000000..ae26332 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.debug.xcconfig @@ -0,0 +1,8 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera/VideoCamera.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/../Pods diff --git a/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.modulemap b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.modulemap new file mode 100644 index 0000000..5b144b1 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_Demo_iOSTests { + umbrella header "Pods-Demo-iOSTests-umbrella.h" + + export * + module * { export * } +} diff --git a/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.release.xcconfig b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.release.xcconfig new file mode 100644 index 0000000..ae26332 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSTests/Pods-Demo-iOSTests.release.xcconfig @@ -0,0 +1,8 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera/VideoCamera.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/../Pods diff --git a/Pods/Target Support Files/Pods-Demo-iOSUITests/Info.plist b/Pods/Target Support Files/Pods-Demo-iOSUITests/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/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/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-acknowledgements.markdown b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-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/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-acknowledgements.plist b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-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/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-dummy.m b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-dummy.m new file mode 100644 index 0000000..db425dc --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_Demo_iOSUITests : NSObject +@end +@implementation PodsDummy_Pods_Demo_iOSUITests +@end diff --git a/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-frameworks.sh b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-frameworks.sh new file mode 100755 index 0000000..893c16a --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-frameworks.sh @@ -0,0 +1,84 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +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 dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --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}" + 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 && exit ${PIPESTATUS[0]}) + 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 +} + +# 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_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + diff --git a/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-resources.sh b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-resources.sh new file mode 100755 index 0000000..25e9d37 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-resources.sh @@ -0,0 +1,96 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-umbrella.h b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-umbrella.h new file mode 100644 index 0000000..8eec1dc --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests-umbrella.h @@ -0,0 +1,8 @@ +#ifdef __OBJC__ +#import +#endif + + +FOUNDATION_EXPORT double Pods_Demo_iOSUITestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_Demo_iOSUITestsVersionString[]; + diff --git a/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.debug.xcconfig b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.debug.xcconfig new file mode 100644 index 0000000..ae26332 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.debug.xcconfig @@ -0,0 +1,8 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera/VideoCamera.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/../Pods diff --git a/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.modulemap b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.modulemap new file mode 100644 index 0000000..36048ee --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_Demo_iOSUITests { + umbrella header "Pods-Demo-iOSUITests-umbrella.h" + + export * + module * { export * } +} diff --git a/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.release.xcconfig b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.release.xcconfig new file mode 100644 index 0000000..ae26332 --- /dev/null +++ b/Pods/Target Support Files/Pods-Demo-iOSUITests/Pods-Demo-iOSUITests.release.xcconfig @@ -0,0 +1,8 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VideoCamera/VideoCamera.framework/Headers" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/../Pods diff --git a/Pods/Target Support Files/VideoCamera/Info.plist b/Pods/Target Support Files/VideoCamera/Info.plist new file mode 100644 index 0000000..cba2585 --- /dev/null +++ b/Pods/Target Support Files/VideoCamera/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.0.1 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Pods/Target Support Files/VideoCamera/VideoCamera-dummy.m b/Pods/Target Support Files/VideoCamera/VideoCamera-dummy.m new file mode 100644 index 0000000..e8d0326 --- /dev/null +++ b/Pods/Target Support Files/VideoCamera/VideoCamera-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_VideoCamera : NSObject +@end +@implementation PodsDummy_VideoCamera +@end diff --git a/Pods/Target Support Files/VideoCamera/VideoCamera-prefix.pch b/Pods/Target Support Files/VideoCamera/VideoCamera-prefix.pch new file mode 100644 index 0000000..aa992a4 --- /dev/null +++ b/Pods/Target Support Files/VideoCamera/VideoCamera-prefix.pch @@ -0,0 +1,4 @@ +#ifdef __OBJC__ +#import +#endif + diff --git a/Pods/Target Support Files/VideoCamera/VideoCamera-umbrella.h b/Pods/Target Support Files/VideoCamera/VideoCamera-umbrella.h new file mode 100644 index 0000000..dbace06 --- /dev/null +++ b/Pods/Target Support Files/VideoCamera/VideoCamera-umbrella.h @@ -0,0 +1,8 @@ +#ifdef __OBJC__ +#import +#endif + + +FOUNDATION_EXPORT double VideoCameraVersionNumber; +FOUNDATION_EXPORT const unsigned char VideoCameraVersionString[]; + diff --git a/Pods/Target Support Files/VideoCamera/VideoCamera.modulemap b/Pods/Target Support Files/VideoCamera/VideoCamera.modulemap new file mode 100644 index 0000000..8c934fe --- /dev/null +++ b/Pods/Target Support Files/VideoCamera/VideoCamera.modulemap @@ -0,0 +1,6 @@ +framework module VideoCamera { + umbrella header "VideoCamera-umbrella.h" + + export * + module * { export * } +} diff --git a/Pods/Target Support Files/VideoCamera/VideoCamera.xcconfig b/Pods/Target Support Files/VideoCamera/VideoCamera.xcconfig new file mode 100644 index 0000000..c9dff2e --- /dev/null +++ b/Pods/Target Support Files/VideoCamera/VideoCamera.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/VideoCamera +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "AVFoundation" -framework "Foundation" -framework "UIKit" +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} +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/README.md b/README.md new file mode 100644 index 0000000..705a86f --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# VideoCamera + + +:construction: This is very much a work in progress :construction: + +###Overview + +Coming soon... + +###Usage + +Coming soon... diff --git a/VideoCamera.podspec b/VideoCamera.podspec index f2a910e..875f3e0 100644 --- a/VideoCamera.podspec +++ b/VideoCamera.podspec @@ -28,7 +28,7 @@ Pod::Spec.new do |s| A simple video camera for iOS. Built primarily for rapid prototyping of video camera-realted ideas. DESC - s.homepage = "http://alfiehanssen.com" #"https://github.com/alfiehanssen/VideoCamera" + s.homepage = "https://github.com/alfiehanssen/VideoCamera" # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # diff --git a/VideoCamera.xcworkspace/contents.xcworkspacedata b/VideoCamera.xcworkspace/contents.xcworkspacedata index 2900150..dd290d3 100644 --- a/VideoCamera.xcworkspace/contents.xcworkspacedata +++ b/VideoCamera.xcworkspace/contents.xcworkspacedata @@ -4,4 +4,7 @@ + + diff --git a/VideoCamera/VideoCamera.swift b/VideoCamera/Camera.swift similarity index 86% rename from VideoCamera/VideoCamera.swift rename to VideoCamera/Camera.swift index a12703a..6de7bd8 100644 --- a/VideoCamera/VideoCamera.swift +++ b/VideoCamera/Camera.swift @@ -1,5 +1,5 @@ // -// VideoCamera.swift +// Camera.swift // VideoCamera // // Created by Alfred Hanssen on 2/25/17. @@ -9,17 +9,17 @@ import Foundation import AVFoundation -protocol VideoCameraDelegate: class +protocol CameraDelegate: class { func captureOutputDidDrop(sampleBuffer: CMSampleBuffer) func captureOutputDidOutput(sampleBuffer: CMSampleBuffer) } -class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate +class Camera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate { let captureSession = AVCaptureSession() - weak var delegate: VideoCameraDelegate? + weak var delegate: CameraDelegate? private var frontCameraInput: AVCaptureDeviceInput! private var backCameraInput: AVCaptureDeviceInput! @@ -46,7 +46,7 @@ class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate { __dispatch_assert_queue(DispatchQueue.main) - VideoCamera.CaptureSessionQueue.async { [weak self] in + Camera.CaptureSessionQueue.async { [weak self] in guard let strongSelf = self else { return @@ -73,7 +73,7 @@ class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate { __dispatch_assert_queue(DispatchQueue.main) - VideoCamera.CaptureSessionQueue.async { [weak self] in + Camera.CaptureSessionQueue.async { [weak self] in guard let strongSelf = self else { return @@ -92,7 +92,7 @@ class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate { __dispatch_assert_queue(DispatchQueue.main) - VideoCamera.CaptureSessionQueue.async { [weak self] in + Camera.CaptureSessionQueue.async { [weak self] in guard let strongSelf = self else { return @@ -111,7 +111,7 @@ class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate { __dispatch_assert_queue(DispatchQueue.main) - VideoCamera.CaptureSessionQueue.async { [weak self] in + Camera.CaptureSessionQueue.async { [weak self] in guard let strongSelf = self else { return @@ -130,7 +130,7 @@ class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate else { assertionFailure("Capture session inputs are misconfigured.") - throw VideoCameraError.misconfiguredInputs + throw CameraError.misconfiguredInputs } } catch let error @@ -146,18 +146,18 @@ class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate private func prepare(initialCameraPosition: AVCaptureDevicePosition) throws { - __dispatch_assert_queue(VideoCamera.CaptureSessionQueue) + __dispatch_assert_queue(Camera.CaptureSessionQueue) let typeAudio = AVMediaTypeAudio guard AVCaptureDevice.authorizationStatus(forMediaType: typeAudio) == .authorized else { - throw VideoCameraError.notAuthorized(forMediaType: typeAudio) + throw CameraError.notAuthorized(forMediaType: typeAudio) } let typeVideo = AVMediaTypeVideo guard AVCaptureDevice.authorizationStatus(forMediaType: typeVideo) == .authorized else { - throw VideoCameraError.notAuthorized(forMediaType: typeVideo) + throw CameraError.notAuthorized(forMediaType: typeVideo) } self.captureSession.beginConfiguration() @@ -178,13 +178,13 @@ class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate let videoDataOutput = AVCaptureVideoDataOutput() videoDataOutput.alwaysDiscardsLateVideoFrames = true videoDataOutput.videoSettings = nil - videoDataOutput.setSampleBufferDelegate(self, queue: VideoCamera.VideoDataOutputQueue) + videoDataOutput.setSampleBufferDelegate(self, queue: Camera.VideoDataOutputQueue) try self.captureSession.addOutput(output: videoDataOutput) } private func activateCamera(position: AVCaptureDevicePosition) throws { - __dispatch_assert_queue(VideoCamera.CaptureSessionQueue) + __dispatch_assert_queue(Camera.CaptureSessionQueue) self.captureSession.beginConfiguration() defer @@ -202,7 +202,7 @@ class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate case .unspecified: assertionFailure("Attempt to switch to .unspecified device position.") - throw VideoCameraError.inputPositionUnspecified + throw CameraError.inputPositionUnspecified } } @@ -210,21 +210,21 @@ class VideoCamera: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate func captureOutput(_ captureOutput: AVCaptureOutput!, didDrop sampleBuffer: CMSampleBuffer!, from connection: AVCaptureConnection!) { - VideoCamera.VideoDataOutputQueue.async { [weak self] in + Camera.VideoDataOutputQueue.async { [weak self] in self?.delegate?.captureOutputDidDrop(sampleBuffer: sampleBuffer) } } func captureOutput(_ captureOutput: AVCaptureOutput!, didOutputSampleBuffer sampleBuffer: CMSampleBuffer!, from connection: AVCaptureConnection!) { - VideoCamera.VideoDataOutputQueue.async { [weak self] in + Camera.VideoDataOutputQueue.async { [weak self] in self?.delegate?.captureOutputDidOutput(sampleBuffer: sampleBuffer) } } } // TODO: Should this be a class instead of an extension? -extension VideoCamera +extension Camera { // MARK: - Observers @@ -233,17 +233,17 @@ extension VideoCamera __dispatch_assert_queue(DispatchQueue.main) // TODO: We don't know that this is going to be invoked on the main thread. NotificationCenter.default.addObserver(self, - selector: #selector(VideoCamera.captureSessionRuntimeError(notification:)), + selector: #selector(Camera.captureSessionRuntimeError(notification:)), name: .AVCaptureSessionRuntimeError, object: nil) NotificationCenter.default.addObserver(self, - selector: #selector(VideoCamera.captureSessionWasInterrupted(notification:)), + selector: #selector(Camera.captureSessionWasInterrupted(notification:)), name: .AVCaptureSessionWasInterrupted, object: nil) NotificationCenter.default.addObserver(self, - selector: #selector(VideoCamera.captureSessionInterruptionEnded(notification:)), + selector: #selector(Camera.captureSessionInterruptionEnded(notification:)), name: .AVCaptureSessionInterruptionEnded, object: nil) } diff --git a/VideoCamera/VideoCameraError.swift b/VideoCamera/CameraError.swift similarity index 89% rename from VideoCamera/VideoCameraError.swift rename to VideoCamera/CameraError.swift index 22687ba..eb3491c 100644 --- a/VideoCamera/VideoCameraError.swift +++ b/VideoCamera/CameraError.swift @@ -1,5 +1,5 @@ // -// VideoCameraError.swift +// CameraError.swift // VideoCamera // // Created by Alfred Hanssen on 2/25/17. @@ -9,7 +9,7 @@ import Foundation import AVFoundation -enum VideoCameraError: Error +enum CameraError: Error { case notAuthorized(forMediaType: String) case cannotSetPreset(preset: String) diff --git a/VideoCamera/Extensions/AVCaptureDevice+Extensions.swift b/VideoCamera/Extensions/AVCaptureDevice+Extensions.swift index c5caa3a..a40c125 100644 --- a/VideoCamera/Extensions/AVCaptureDevice+Extensions.swift +++ b/VideoCamera/Extensions/AVCaptureDevice+Extensions.swift @@ -36,7 +36,7 @@ extension AVCaptureDevice guard let device = discoverySession?.devices.first else { - throw VideoCameraError.discoverySessionFoundNoEligibleDevices + throw CameraError.discoverySessionFoundNoEligibleDevices } return device diff --git a/VideoCamera/Extensions/AVCaptureSession+Extensions.swift b/VideoCamera/Extensions/AVCaptureSession+Extensions.swift index 38b521c..9d6a420 100644 --- a/VideoCamera/Extensions/AVCaptureSession+Extensions.swift +++ b/VideoCamera/Extensions/AVCaptureSession+Extensions.swift @@ -15,7 +15,7 @@ extension AVCaptureSession { guard self.canSetSessionPreset(preset) else { - throw VideoCameraError.cannotSetPreset(preset: preset) + throw CameraError.cannotSetPreset(preset: preset) } self.sessionPreset = preset @@ -32,7 +32,7 @@ extension AVCaptureSession { guard self.canAddInput(input) else { - throw VideoCameraError.cannotAddInput(input: input) + throw CameraError.cannotAddInput(input: input) } self.addInput(input) @@ -42,7 +42,7 @@ extension AVCaptureSession { guard self.canAddOutput(output) else { - throw VideoCameraError.cannotAddOutput(output: output) + throw CameraError.cannotAddOutput(output: output) } self.addOutput(output)