-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
s1:awaiting inputWaiting for input from the original authorWaiting for input from the original author
Milestone
Description
- [🌈] I've read and understood the *CONTRIBUTING guidelines and have done my best effort to follow.
Report
What did you do?
- Create a new Xcode 9.2 project "example" for iOS Swift
- Change deployment target to iOS 9.0
- Use a Podfile with:
platform :ios, '9.0'
use_frameworks!
abstract_target 'default_pods' do
pod 'AFNetworking', '~> 3'
target 'example'
end
- Run
pod installorpod update
What did you expect to happen?
AFNetworking is installed with a Deployment Target of iOS 9.0.
What happened instead?
AFNetworking is installed with a Deployment Target of iOS 8.0, which causes noticeable warnings like /Users/coeur/example/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m:163:30: 'setResumingHandler:' is only available on iOS 9.0 or newer
Even if I manually change the Pods project Deployment Target to iOS 9.0, a simple pod update will reset it to iOS 8.0.
CocoaPods Environment
- CocoaPods 1.4.0.rc.1 (also reproduced with CocoaPods 1.3.1)
- Xcode 9.2 & High Sierra
Project that demonstrates the issue
numen31337, dj-neza, mariohahn, dvkch, xingheng and 22 more
Metadata
Metadata
Assignees
Labels
s1:awaiting inputWaiting for input from the original authorWaiting for input from the original author