google / cocoapods-size

Measure the final binary size for the given set of Cocoapods.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployment target too low for pod

warpling opened this issue · comments

(This is a semi-self-solve QA Issue for others confused in the future :) Feel free to close immediately. Thanks for the great tool!)

[!] CocoaPods could not find compatible versions for pod "Foo":
  In Podfile:
    Foo

Specs satisfying the `Foo` dependency were found, but they required a higher minimum deployment target.

To fix, bump the target in size_build_configuration.json, but also some of the IPHONEOS_DEPLOYMENT_TARGET in SwiftApp.xcodeproj/project.pbxproj and sizetestproject/SizeTest.xcodeproj/project.pbxproj. Honestly unsure if all of these are necessary. Would be awesome to see a flag added for specifying this!

@warpling Thanks for the issue! We'd be happy to review a PR that makes the fix.

I don't have the know-how or time to do this right now but wanted to at least document this for other confused people :)