Alamofire: Question: cocoapods version is 1.1.0+ ,but I can't install Alamofire. How to solve it?

Question: cocoapods version is 1.1.0+ ,but I can’t install Alamofire. How to solve it?

Terminal command as follows:

macMBP:DailyNews cdmac$ pod --version 1.1.0.beta.2 macMBP:DailyNews cdmac$ pod install Re-creating CocoaPods due to major version update. Analyzing dependencies [!] Unable to satisfy the following requirements:

  • Alamofire (~> 4.0) required by Podfile

Specs satisfying the Alamofire (~> 4.0) dependency were found, but they required a higher minimum deployment target.

[!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (2 by maintainers)

Most upvoted comments

Use, platform :ios, '10.0'

in your pod file

@jshier I am getting the same error as @amolgupta

When I run pod update:

[!] The *** [Debug] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in Pods/Target Support Files/Pods-bootmark/Pods-bootmark.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the$(inherited)` flag, or - Remove the build settings from the target.

[!] The bootm***ark [Release] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in Pods/Target Support Files/Pods-bootmark/Pods-bootmark.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the$(inherited)` flag, or - Remove the build settings from the target.

I am using cocoapods 1.1.0.rc.2 with a deployment target of 10.0. I am also using alamofire 4.0. Any suggestions?

I was getting this error

[!] The* [Debug]target overrides theALWAYS_EMBED_SWIFT_STANDARD_LIBRARIESbuild setting defined inPods/Target Support Files/Pods-_/Pods-_*.debug.xcconfig’. This can lead to problems with the CocoaPods installation`

adding this to the podfile solved it

post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO' end end end

Might be unrelated but still worth trying

I used pod ‘Alamofire’, :git => ‘https://github.com/Alamofire/Alamofire.git’, :tag => ‘4.0.0’, it was working fine on me and compiled successfully.

I update Xcode 8 too fast, should wait for a period of time.Too many project errors, it was crazy.

I have the same problem of @codymoorhouse and @amolgupta , my target is 9.0