diff --git a/clients/ios/Classes/StoriesCollection.m b/clients/ios/Classes/StoriesCollection.m index a4b695381..d063e8ff8 100644 --- a/clients/ios/Classes/StoriesCollection.m +++ b/clients/ios/Classes/StoriesCollection.m @@ -205,6 +205,7 @@ - (NSInteger)indexFromLocation:(NSInteger)location { if (location == -1) return -1; + if (location >= [activeFeedStoryLocations count]) return -1; return [[activeFeedStoryLocations objectAtIndex:location] intValue]; } diff --git a/clients/ios/NewsBlur-iPhone-Info.plist b/clients/ios/NewsBlur-iPhone-Info.plist index ffe48b4a2..c974e7f24 100644 --- a/clients/ios/NewsBlur-iPhone-Info.plist +++ b/clients/ios/NewsBlur-iPhone-Info.plist @@ -19,7 +19,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.6.0b3 + 4.6.0 CFBundleSignature ???? CFBundleURLTypes @@ -58,7 +58,7 @@ CFBundleVersion - 4.6.0b3 + 4.6.0 FacebookAppID 230426707030569 LSRequiresIPhoneOS diff --git a/clients/ios/NewsBlur.xcodeproj/project.pbxproj b/clients/ios/NewsBlur.xcodeproj/project.pbxproj index e29d4dd13..ae3161bbd 100755 --- a/clients/ios/NewsBlur.xcodeproj/project.pbxproj +++ b/clients/ios/NewsBlur.xcodeproj/project.pbxproj @@ -3886,7 +3886,7 @@ "-all_load", ); PRODUCT_NAME = NewsBlur; - PROVISIONING_PROFILE = "0a21ce12-0604-4e59-b0b1-1aa2b90afaa5"; + PROVISIONING_PROFILE = "2f00e3a4-b7f2-4976-bb45-661087b33dc9"; STRIP_INSTALLED_PRODUCT = NO; TARGETED_DEVICE_FAMILY = "1,2"; "WARNING_CFLAGS[arch=*]" = "-Wall"; @@ -3924,7 +3924,7 @@ "-all_load", ); PRODUCT_NAME = NewsBlur; - PROVISIONING_PROFILE = "0a21ce12-0604-4e59-b0b1-1aa2b90afaa5"; + PROVISIONING_PROFILE = "2f00e3a4-b7f2-4976-bb45-661087b33dc9"; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; diff --git a/clients/ios/NewsBlur_Prefix.pch b/clients/ios/NewsBlur_Prefix.pch index 252e01e0e..743695d63 100644 --- a/clients/ios/NewsBlur_Prefix.pch +++ b/clients/ios/NewsBlur_Prefix.pch @@ -5,7 +5,7 @@ #import #import -#define DEBUG 1 +//#define DEBUG 1 //#define PROD_DEBUG 1 #ifdef DEBUG