ios - Cocoapod installation : Error at line pod "Vanified ", :path => "../" in Podfile -
this dependancies want use in podfile.
platform :ios, '8.0' use_frameworks! target ‘vanified', :exclusive => true pod "vanified", :path => "../" //note "vanified" exaple_framework pod 'specta', '~> 0.2.1' pod 'expecta' end target 'tests', :exclusive => true end note: before follow steps given https://cocoapods.org/
:path => refers local path another pod.
that is, doesn't make sense:
target ‘vanified', :exclusive => true pod "vanified", :path => "../" end this means "fetch vanified local dependency of vanified pod."
you don't need refer vanified in test target.
instead, should make test target depend , link against pod target (technically, static library or dynamic framework).
you can going build phases test target , making sure (1) vanified in target dependencies , (2) vanified in link binary libraries.
Comments
Post a Comment