diff --git a/README.md b/README.md index 80085b9acaabde4aff9fc80a655b60a317cad549..bcc0ff4bd0533f345a3c832d17301908bfff947a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Alamofire is an HTTP networking library written in Swift. ## Requirements - iOS 8.0+ / Mac OS X 10.9+ / tvOS 9.0+ / watchOS 2.0+ -- Xcode 7.1+ +- Xcode 7.2+ ## Migration Guides @@ -1126,7 +1126,6 @@ In order to keep Alamofire focused specifically on core networking implementatio The following rdars have some affect on the current implementation of Alamofire. -* [rdar://22024442](http://www.openradar.me/radar?id=6082025006039040) - Array of [SecCertificate] crashing Swift 2.0 compiler in optimized builds * [rdar://21349340](http://www.openradar.me/radar?id=5517037090635776) - Compiler throwing warning due to toll-free bridging issue in test case ## FAQ diff --git a/Source/ServerTrustPolicy.swift b/Source/ServerTrustPolicy.swift index 9d45353df06ae9473240b20967241f5e82ccfce6..5512a5a5d26af8a9c612217a113602500c8dceb8 100644 --- a/Source/ServerTrustPolicy.swift +++ b/Source/ServerTrustPolicy.swift @@ -193,14 +193,7 @@ public enum ServerTrustPolicy { serverTrustIsValid = trustIsValid(serverTrust) } else { let serverCertificatesDataArray = certificateDataForTrust(serverTrust) - - //====================================================================================================== - // The following `[] +` is a temporary workaround for a Swift 2.0 compiler error. This workaround should - // be removed once the following radar has been resolved: - // - http://openradar.appspot.com/radar?id=6082025006039040 - //====================================================================================================== - - let pinnedCertificatesDataArray = certificateDataForCertificates([] + pinnedCertificates) + let pinnedCertificatesDataArray = certificateDataForCertificates(pinnedCertificates) outerLoop: for serverCertificateData in serverCertificatesDataArray { for pinnedCertificateData in pinnedCertificatesDataArray {