AFNetworking's Podfile shows that:
source 'https://github.com/CocoaPods/Specs'
xcodeproj 'AFNetworking Tests'
workspace '../AFNetworking'
inhibit_all_warnings!
def import_pods
pod 'OCMock', '~> 2.1.1'
pod 'Expecta', '~> 0.2.1'
pod 'AFNetworking', :path => '../'
end
target :ios do
platform :ios, '7.0'
link_with 'iOS Tests'
import_pods
end
target :osx do
platform :osx, '10.9'
link_with 'OS X Tests'
import_pods
end
what's the meaning of link_with? and link_with always write in the first line:
link_with ['Proj', 'ProjTests']
platform :ios, 6.0
pod 'Reachability', '3.1.1'
pod 'SVProgressHUD', '0.9'
pod 'FMDB', '2.1'
that's the different?
Please consult the documentation at http://guides.cocoapods.org/syntax/podfile.html#link_with.
@segiddins The documentation says:
TODO: This method can be deleted once people have migrated to this 1.0 DSL.
What does that mean?!
It means that we're deleting the link_to in a version after 1.0 is released. http://blog.cocoapods.org/CocoaPods-1.0/
Okay. Thanks.
http://guides.cocoapods.org/syntax/podfile.html#link_with has been updated to new version, where can I find the old doc?
Archive.org has it at https://web.archive.org/web/20151230070422/http://guides.cocoapods.org/syntax/podfile.html#link_with
@wodow Thanks. I have read this document but still have no idea that where to put it, that simple example should show more context and its rules.
Most helpful comment
http://guides.cocoapods.org/syntax/podfile.html#link_with has been updated to new version, where can I find the old doc?