From a287a2861b81bef67861ce0fdc80522e92020699 Mon Sep 17 00:00:00 2001 From: Jared Sinclair Date: Fri, 9 Sep 2016 11:20:33 -0500 Subject: [PATCH 1/2] Silence annoying irrelevant debug log for the simulator. --- Sources/NYT360CameraController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/NYT360CameraController.m b/Sources/NYT360CameraController.m index 5c4e321..1c1b5ff 100644 --- a/Sources/NYT360CameraController.m +++ b/Sources/NYT360CameraController.m @@ -96,9 +96,11 @@ - (void)updateCameraAngleForCurrentDeviceMotion { #ifdef DEBUG +#if !TARGET_IPHONE_SIMULATOR if (!self.motionManager.isDeviceMotionActive) { NSLog(@"Warning: %@ called while %@ is not receiving motion updates", NSStringFromSelector(_cmd), NSStringFromClass(self.class)); } +#endif #endif CMRotationRate rotationRate = self.motionManager.deviceMotion.rotationRate; From 3ddee18cadbb344b7a9ee8aa4ac16d81f257effd Mon Sep 17 00:00:00 2001 From: Jared Sinclair Date: Mon, 12 Sep 2016 16:13:45 -0500 Subject: [PATCH 2/2] Bump to 0.6.2 --- NYT360Video.podspec | 2 +- NYT360VideoExample/Info.plist | 2 +- NYT360VideoTests/Info.plist | 2 +- Sources/Info.plist | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NYT360Video.podspec b/NYT360Video.podspec index 2eb35f1..0d3a285 100644 --- a/NYT360Video.podspec +++ b/NYT360Video.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'NYT360Video' - s.version = '0.6.1' + s.version = '0.6.2' s.summary = 'NYT360Video plays 360ยบ video streamed from an AVPlayer.' s.description = <<-DESC diff --git a/NYT360VideoExample/Info.plist b/NYT360VideoExample/Info.plist index 616a369..1e6527d 100644 --- a/NYT360VideoExample/Info.plist +++ b/NYT360VideoExample/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.6.1 + 0.6.2 CFBundleSignature ???? CFBundleVersion diff --git a/NYT360VideoTests/Info.plist b/NYT360VideoTests/Info.plist index 32bebf8..16cd2d2 100644 --- a/NYT360VideoTests/Info.plist +++ b/NYT360VideoTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.6.1 + 0.6.2 CFBundleSignature ???? CFBundleVersion diff --git a/Sources/Info.plist b/Sources/Info.plist index 5b6037d..6f21e11 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.6.1 + 0.6.2 CFBundleSignature ???? CFBundleVersion