ios - How do you stop CocoaPods from linking against a dependency for a framework? -
say i've developed framework contains binary uses ocmock
dependencies need. when create podspec
, try use it, find need have ocmock
added dependency.
say have following in podfile -
platform :ios, '9.0' inhibit_all_warnings! target "myapptests" inherit! :search_paths pod 'ocmock', '~> 2.0.1' end
however, ocmock binary code present in framework bundle, causes double inclusion errors. there way in cocoapods
can prevent ocmock being added in link binary libraries
build phase of pods project, preventing being linked directly?
Comments
Post a Comment