Using `[NSBundle bundleForClass:[self class]]` is dangerous because the code will behave differently depending on how AFNetworking is integrated.
* If it is integrated as a static library (for example using CocoaPods), certificates will be searched in the main bundle.
* If it is integrated as a framework (for example using Carthage), certificates will be searched in the AFNetworking framework.
Even though this behavior is documented, this is dangerous. Using the main bundle makes the behavior deterministic.
Fixes#3575
* Ignore coverage of test code.
* Add a second code coverage lane.
* Increase testing for code coverage.
* Fix the name of the Apple TV simulator.
* Delete .env.osx_10.10_xcode6
* Delete .env.osx_10.9_xcode6
* master: (61 commits)
Update Travis config for Xcode 10.
Add test for object posting notification
update README.md, the old "Foundation URL Loading System" link is 404
Change test name to correct one
Change default teardown methods to tests
Update tests to use new API
Update PR feedback, add more tests
Add test
remove temporary method that could be doing nothing
Update HTTPBin certificates.
Chinese CONTRIBUTING.md translate
Delete CONTRIBUTING_CH.md
Chinese Contributing.md translate
rollback method 'AFPostReachabilityStatusChange'
Use AFNetworkReachabilityManager to compare consistency of notification posts and gets, instead of SCNetworkReachabilityRef. And test case reference.
Remove test that is nilling session manually as it's not possible anymore to not have valid session (correctly)
Add tests for verifing reachability manager consistence for notification posting and getting
Specify Xcode 9.4 in Travis file.
Update AFImageDownloader.m
Add an ability that notification-observer know which reachability its belong
...
* master: (71 commits)
Specify Xcode 9.4 in Travis file.
Update AFImageDownloader.m
Safely get mergedTasks On responseQueue
Update HTTPBin certificates.
Update block usage requirements.
Fixed tests.
Update AFAutoPurgingImageCache.m
Preparing for the 3.2.1 release
Fix issues with AFCompatibilityMacros.h
Add AFCompatibilityMacros.h to podspec.
Add new .env files for iOS 11.x
Update SDK settings in Travis config.
Use old SDKs to test earlier versions of iOS 11.
Update default SDK for iOS and tvOS
Update umbrella header.
Update HTTPBin certificates for April 2018.
Remove beta from 9.3 image
Update asset catalog JSON.
Tweak tests to send expressions directly.
Add tests and also prohibit +new from working.
...
# Conflicts:
# AFNetworking/AFNetworkReachabilityManager.h
# AFNetworking/AFURLSessionManager.m