target "RNImagePreview" do pod 'JTSImageViewController' end
Beginner’s Guide to Using CocoaPods with React Native
Gant Laborde

When I used target definition I got an error when executing pod install:

pod install
Analyzing dependencies
[!] Unable to find a target named `RNResearchKit`, did find `interviewer` and `interviewerTests`.

If I use this target definition instead:

pod ‘ResearchKit’, ‘~> 1.0’

I have no problem, having a resulting podfile like this:

target ‘interviewer’ do
target ‘interviewerTests’ do
 inherit! :search_paths
pod ‘ResearchKit’, ‘~> 1.0’

Do you know if this is going to lead me to any problems in the future? I’m quite new on ios/cocoapods related stuff as you can see :P

Like what you read? Give Raul Pino a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.