From 94cdf774cd51ee601184e52922ce3647795e39aa Mon Sep 17 00:00:00 2001 From: Philip Brechler Date: Tue, 20 Jan 2015 15:38:34 +0100 Subject: [PATCH] Fixed some issues and increased build numbers --- SoundcloudPlayer.xcodeproj/project.pbxproj | 8 ++++---- SoundcloudPlayer/SharedAudioPlayer.m | 2 +- SoundcloudPlayer/SoundcloudPlayer-Info.plist | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SoundcloudPlayer.xcodeproj/project.pbxproj b/SoundcloudPlayer.xcodeproj/project.pbxproj index d3087e1..e3e5ee1 100644 --- a/SoundcloudPlayer.xcodeproj/project.pbxproj +++ b/SoundcloudPlayer.xcodeproj/project.pbxproj @@ -836,7 +836,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = SoundcloudPlayer/SoundcloudPlayer.entitlements; - CODE_SIGN_IDENTITY = "Developer ID Application"; + CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -856,7 +856,7 @@ OTHER_CODE_SIGN_FLAGS = "--deep"; OTHER_LDFLAGS = "$(inherited)"; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = ""; + PROVISIONING_PROFILE = "B0FC00EB-49DC-4B51-83FB-25CEFA79784F"; WRAPPER_EXTENSION = app; }; name = Debug; @@ -867,7 +867,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = SoundcloudPlayer/SoundcloudPlayer.entitlements; - CODE_SIGN_IDENTITY = "Developer ID Application"; + CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -887,7 +887,7 @@ OTHER_CODE_SIGN_FLAGS = "--deep"; OTHER_LDFLAGS = "$(inherited)"; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = ""; + PROVISIONING_PROFILE = "B0FC00EB-49DC-4B51-83FB-25CEFA79784F"; WRAPPER_EXTENSION = app; }; name = Release; diff --git a/SoundcloudPlayer/SharedAudioPlayer.m b/SoundcloudPlayer/SharedAudioPlayer.m index fbe8c1d..4d668f1 100644 --- a/SoundcloudPlayer/SharedAudioPlayer.m +++ b/SoundcloudPlayer/SharedAudioPlayer.m @@ -82,7 +82,7 @@ - (void)nextItem { - (void)previousItem { [self advanceToTime:0]; - if (CMTimeGetSeconds(self.audioPlayer.currentTime) > 5) { + if (CMTimeGetSeconds(self.audioPlayer.currentTime) < 5) { if (self.positionInPlaylist >= 1) { if (self.shuffleEnabled){ [self jumpToItemAtIndex:[self.shuffledItemsToPlay indexOfObject:[self.itemsToPlay objectAtIndex:self.positionInPlaylist]]-1 startPlaying:self.audioPlayer.rate]; diff --git a/SoundcloudPlayer/SoundcloudPlayer-Info.plist b/SoundcloudPlayer/SoundcloudPlayer-Info.plist index 46ae2d9..b9a4e2b 100644 --- a/SoundcloudPlayer/SoundcloudPlayer-Info.plist +++ b/SoundcloudPlayer/SoundcloudPlayer-Info.plist @@ -34,7 +34,7 @@ CFBundleVersion - 316 + 321 LSApplicationCategoryType public.app-category.music LSMinimumSystemVersion