Skip to content

Commit

Permalink
Updated NoCamera sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerovec committed Dec 17, 2015
1 parent ef47499 commit c5ab541
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 17 deletions.
29 changes: 25 additions & 4 deletions Samples/NoCamera-sample/NoCamera-sample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
1807C1691AEF792600469E61 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 1807C15D1AEF792600469E61 /* [email protected] */; };
1807C16C1AEF79BA00469E61 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1807C1331AEF789700469E61 /* Main.storyboard */; };
1807C16D1AEF79BE00469E61 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1807C1381AEF789700469E61 /* LaunchScreen.xib */; };
1809F2301C2312FA00DEE72E /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1809F22F1C2312FA00DEE72E /* Accelerate.framework */; };
1809F2321C2312FD00DEE72E /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1809F2311C2312FD00DEE72E /* AVFoundation.framework */; };
1809F2341C23130000DEE72E /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1809F2331C23130000DEE72E /* AssetsLibrary.framework */; };
1809F2361C23130400DEE72E /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1809F2351C23130400DEE72E /* CoreMedia.framework */; };
1809F2381C23130700DEE72E /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1809F2371C23130700DEE72E /* AudioToolbox.framework */; };
18ADB7F81BEB396F00AB0624 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 18ADB7F71BEB396F00AB0624 /* libc++.tbd */; };
/* End PBXBuildFile section */

Expand All @@ -51,6 +56,11 @@
1807C15B1AEF792600469E61 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
1807C15C1AEF792600469E61 /* torchon_pressed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = torchon_pressed.png; sourceTree = "<group>"; };
1807C15D1AEF792600469E61 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
1809F22F1C2312FA00DEE72E /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; };
1809F2311C2312FD00DEE72E /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
1809F2331C23130000DEE72E /* AssetsLibrary.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AssetsLibrary.framework; path = System/Library/Frameworks/AssetsLibrary.framework; sourceTree = SDKROOT; };
1809F2351C23130400DEE72E /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; };
1809F2371C23130700DEE72E /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
18ADB7F71BEB396F00AB0624 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; };
/* End PBXFileReference section */

Expand All @@ -59,8 +69,13 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
18ADB7F81BEB396F00AB0624 /* libc++.tbd in Frameworks */,
1807C15E1AEF792600469E61 /* MicroBlink.framework in Frameworks */,
1809F2301C2312FA00DEE72E /* Accelerate.framework in Frameworks */,
1809F2381C23130700DEE72E /* AudioToolbox.framework in Frameworks */,
1809F2341C23130000DEE72E /* AssetsLibrary.framework in Frameworks */,
1809F2321C2312FD00DEE72E /* AVFoundation.framework in Frameworks */,
1809F2361C23130400DEE72E /* CoreMedia.framework in Frameworks */,
18ADB7F81BEB396F00AB0624 /* libc++.tbd in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -113,6 +128,11 @@
isa = PBXGroup;
children = (
1807C1501AEF792600469E61 /* MicroBlink.embeddedframework */,
1809F22F1C2312FA00DEE72E /* Accelerate.framework */,
1809F2371C23130700DEE72E /* AudioToolbox.framework */,
1809F2331C23130000DEE72E /* AssetsLibrary.framework */,
1809F2311C2312FD00DEE72E /* AVFoundation.framework */,
1809F2351C23130400DEE72E /* CoreMedia.framework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -171,7 +191,7 @@
1807C11E1AEF789700469E61 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0630;
LastUpgradeCheck = 0720;
ORGANIZATIONNAME = MicroBlink;
TargetAttributes = {
1807C1251AEF789700469E61 = {
Expand Down Expand Up @@ -275,6 +295,7 @@
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = ../../MicroBlink.embeddedframework;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
Expand Down Expand Up @@ -342,9 +363,9 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "NoCamera-sample/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.microblink.blinkid.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
Expand All @@ -353,9 +374,9 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "NoCamera-sample/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.microblink.blinkid.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0640"
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -23,10 +23,10 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
Expand All @@ -38,15 +38,18 @@
ReferencedContainer = "container:NoCamera-sample.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand All @@ -62,10 +65,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
</dependencies>
<objects>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9059" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9049"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
</dependencies>
<scenes>
<!--View Controller-->
Expand All @@ -19,7 +19,6 @@
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rf0-VH-xzM">
<rect key="frame" x="246" y="251" width="109" height="39"/>
<animations/>
<fontDescription key="fontDescription" type="system" pointSize="22"/>
<state key="normal" title="Take photo">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
Expand All @@ -30,7 +29,6 @@
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BcY-aB-nMQ">
<rect key="frame" x="238" y="311" width="125" height="39"/>
<animations/>
<fontDescription key="fontDescription" type="system" pointSize="22"/>
<state key="normal" title="Open gallery">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
Expand All @@ -40,7 +38,6 @@
</connections>
</button>
</subviews>
<animations/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="BcY-aB-nMQ" firstAttribute="centerY" secondItem="8bC-Xf-vdC" secondAttribute="centerY" constant="30" id="0Tl-HH-gZw"/>
Expand Down
2 changes: 1 addition & 1 deletion Samples/NoCamera-sample/NoCamera-sample/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.microblink.blinkid.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down

0 comments on commit c5ab541

Please sign in to comment.