Dr0ptp4kt has submitted this change and it was merged.

Change subject: Fix iOS 6 crash - remove nsurlsession classes
......................................................................


Fix iOS 6 crash - remove nsurlsession classes

To be clear, AFNetworking changed internally making this
a requirement to build for iOS 6.

Change-Id: If6369f343f97f0ad21df875b8afa83d0fa18e193
---
M Podfile
M Podfile.lock
M wikipedia/View Controllers/Image Gallery/WMFImageGalleryViewController.m
3 files changed, 3 insertions(+), 17 deletions(-)

Approvals:
  Dr0ptp4kt: Verified; Looks good to me, approved
  Mhurd: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Podfile b/Podfile
index 9cde2c9..d876ae4 100644
--- a/Podfile
+++ b/Podfile
@@ -1,7 +1,7 @@
 source 'https://github.com/CocoaPods/Specs.git'
 platform :ios, :deployment_target => '6.0'
 
-pod 'AFNetworking', '~> 2.5'
+pod 'AFNetworking/NSURLConnection', '~> 2.5'
 pod 'hpple', '~> 0.2'
 pod 'blockskit/Core', '~> 2.2'
 pod 'Masonry', '~> 0.6'
diff --git a/Podfile.lock b/Podfile.lock
index 8fd0494..c287a5f 100644
--- a/Podfile.lock
+++ b/Podfile.lock
@@ -1,25 +1,11 @@
 PODS:
-  - AFNetworking (2.5.2):
-    - AFNetworking/NSURLConnection (= 2.5.2)
-    - AFNetworking/NSURLSession (= 2.5.2)
-    - AFNetworking/Reachability (= 2.5.2)
-    - AFNetworking/Security (= 2.5.2)
-    - AFNetworking/Serialization (= 2.5.2)
-    - AFNetworking/UIKit (= 2.5.2)
   - AFNetworking/NSURLConnection (2.5.2):
-    - AFNetworking/Reachability
-    - AFNetworking/Security
-    - AFNetworking/Serialization
-  - AFNetworking/NSURLSession (2.5.2):
     - AFNetworking/Reachability
     - AFNetworking/Security
     - AFNetworking/Serialization
   - AFNetworking/Reachability (2.5.2)
   - AFNetworking/Security (2.5.2)
   - AFNetworking/Serialization (2.5.2)
-  - AFNetworking/UIKit (2.5.2):
-    - AFNetworking/NSURLConnection
-    - AFNetworking/NSURLSession
   - BlocksKit/Core (2.2.5)
   - HockeySDK (3.6.2)
   - hpple (0.2.0)
@@ -29,7 +15,7 @@
     - OCHamcrest (~> 4.0)
 
 DEPENDENCIES:
-  - AFNetworking (~> 2.5)
+  - AFNetworking/NSURLConnection (~> 2.5)
   - blockskit/Core (~> 2.2)
   - HockeySDK (= 3.6.2)
   - hpple (~> 0.2)
diff --git a/wikipedia/View Controllers/Image 
Gallery/WMFImageGalleryViewController.m b/wikipedia/View Controllers/Image 
Gallery/WMFImageGalleryViewController.m
index 60bb175..b484012 100644
--- a/wikipedia/View Controllers/Image Gallery/WMFImageGalleryViewController.m
+++ b/wikipedia/View Controllers/Image Gallery/WMFImageGalleryViewController.m
@@ -38,7 +38,7 @@
 #import "MWKArticle+Convenience.h"
 
 // Networking
-#import <AFNetworking/AFNetworking.h>
+#import <AFNetworking/AFHTTPRequestOperationManager.h>
 #import "AFHTTPRequestOperationManager+WMFConfig.h"
 #import "AFHTTPRequestOperationManager+UniqueRequests.h"
 #import "MWKImageInfoFetcher.h"

-- 
To view, visit https://gerrit.wikimedia.org/r/200221
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If6369f343f97f0ad21df875b8afa83d0fa18e193
Gerrit-PatchSet: 3
Gerrit-Project: apps/ios/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Fjalapeno <[email protected]>
Gerrit-Reviewer: Bgerstle <[email protected]>
Gerrit-Reviewer: Dr0ptp4kt <[email protected]>
Gerrit-Reviewer: Mhurd <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to