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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -