Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with linking to SenTestingKit #1

Closed
bilby91 opened this issue Sep 5, 2013 · 3 comments
Closed

Problem with linking to SenTestingKit #1

bilby91 opened this issue Sep 5, 2013 · 3 comments

Comments

@bilby91
Copy link

bilby91 commented Sep 5, 2013

In file included from /Users/fmartin91/Projects/test/test-ios/Pods/RKKiwiMatchers/Code/RKMappingTestMatcher.m:21:
   In file included from /Users/fmartin91/Projects/test/test-ios/Pods/RKKiwiMatchers/Code/RKMappingTestMatcher.h:22:
   /Users/fmartin91/Projects/test/test-ios/Pods/Kiwi/Classes/Core/Kiwi.h:9:9: fatal   error: 'SenTestingKit/SenTestingKit.h' file not found
   #import <SenTestingKit/SenTestingKit.h>
            ^
   1 error generated.

I'm having trouble when running my tests with RKKiwiMatchers. Im using cocoapods for managing library's. Can't figure out why it can't find the SenTestingKit binary.

@blakewatters
Copy link
Member

Hi @bilby91

Here's an example of how I have pulled in the library in one of my projects:

target 'TAFlightsUnitTests', :exclusive => true do
  pod 'OCMock', '~> 2.2.0'
  pod 'Expecta', '~> 0.2'
  pod 'Kiwi', '~> 2.2.0'
  pod 'RKKiwiMatchers', :git => 'https://github.com/RestKit/RKKiwiMatchers'
  pod 'RestKit/Testing', :path => 'Libraries/RestKit'
end

How are you doing your installation?

@bilby91
Copy link
Author

bilby91 commented Sep 5, 2013

@blakewatters thanks for the help.

My configuration is this one.

target 'loovin Tests', :exclusive => true do
   pod 'RKKiwiMatchers'
   pod 'Kiwi'
end

@bilby91
Copy link
Author

bilby91 commented Sep 5, 2013

Changed my target name to loovinTests in case spacing was causing any issue but didn't have luck.

New Pod file.

target :loovinTests, :exclusive => true do
   pod 'RKKiwiMatchers', :git => 'https://github.com/RestKit/RKKiwiMatchers'
   pod 'Kiwi', '~> 2.2.0'
   pod 'RestKit/Testing'
end

Same issue.

@bilby91 bilby91 closed this as completed Jun 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants