Skip to content

Commit

Permalink
Renamed two classes to not conflict with pod name.
Browse files Browse the repository at this point in the history
  • Loading branch information
alfiehanssen committed Feb 26, 2017
1 parent c72c0a2 commit 5dd8a86
Show file tree
Hide file tree
Showing 50 changed files with 2,161 additions and 29 deletions.
193 changes: 193 additions & 0 deletions Demo-iOS/Demo-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */; };
Expand Down Expand Up @@ -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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
AF793A221E625126009886A0 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
Expand All @@ -47,40 +56,71 @@
AF793A401E625127009886A0 /* Demo_iOSUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Demo_iOSUITests.swift; sourceTree = "<group>"; };
AF793A421E625127009886A0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
AF793A4E1E6251BD009886A0 /* ViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ViewController.xib; sourceTree = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
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 = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
AF793A1A1E625126009886A0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
0F55047408DAB9CAB8537D1D /* Pods_Demo_iOS.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
AF793A2E1E625126009886A0 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
8C8F807673505D9C9CFE1CEC /* Pods_Demo_iOSTests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
AF793A391E625127009886A0 /* Frameworks */ = {
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 = "<group>";
};
AF4BCBDDF7D93CC297D2F674 /* Frameworks */ = {
isa = PBXGroup;
children = (
5CF9A154FD8C760AD519295A /* Pods_Demo_iOS.framework */,
2CCCC6E6590A4A718E4E6033 /* Pods_Demo_iOSTests.framework */,
7FFDA93CA0ABD60EBCAA3802 /* Pods_Demo_iOSUITests.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
AF793A141E625126009886A0 = {
isa = PBXGroup;
children = (
AF793A1F1E625126009886A0 /* Demo-iOS */,
AF793A341E625126009886A0 /* Demo-iOSTests */,
AF793A3F1E625127009886A0 /* Demo-iOSUITests */,
AF793A1E1E625126009886A0 /* Products */,
A30208CBB648BCC8373A60F0 /* Pods */,
AF4BCBDDF7D93CC297D2F674 /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -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 = (
);
Expand All @@ -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 = (
);
Expand All @@ -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 = (
);
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -403,6 +590,7 @@
};
AF793A461E625127009886A0 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = D23B9A6663F63A176D2AD408 /* Pods-Demo-iOS.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = AT3549635A;
Expand All @@ -416,6 +604,7 @@
};
AF793A471E625127009886A0 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = FCB07840318B4F0FA9238981 /* Pods-Demo-iOS.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = AT3549635A;
Expand All @@ -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)";
Expand All @@ -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)";
Expand All @@ -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;
Expand All @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion Demo-iOS/Demo-iOS/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
24 changes: 24 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 5dd8a86

Please sign in to comment.