Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8458953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:13:01+00:00 2026-06-10T13:13:01+00:00

I am trying to setup a testing environment for RestKit while using CocoaPods and

  • 0

I am trying to setup a testing environment for RestKit while using CocoaPods and I can’t seem to be able to include RestKit’s testing framework.

I followed Unit Testing with RestKit but I wasn’t able to include any of my podfiles.

Then I found this article about setting up CocoaPods with a small section about testing:

When trying to execute the unit tests of CookPix, I got this issue

LoggerClient.h not found As described above, pod install changes your
Xcode project main target (I guess it takes the one named like the
project) to base the target configuration on the Pods.xcconfig file.
This lets Xcode found the headers of your dependencies and compile
your project with the right flags as well.

However it does not change the configuration of all targets and in our
case, the unit tests target. To fix that, click on your Xcode project,
then again on the Xcode project on the secondary panel, then on the
Info tab. Change the “Based on Configuration file” attribute of your
unit tests target to Pods. This should fix the dependencies of your
unit tests target.

This fixed the issue of including my pod files but I can’t get RestKit’s test framework installed. The compiler can’t find this file because the pod doesn’t install it.

#import <RestKit/Testing.h>

By looking at the CocoaPod spec it looks like it should be included. This is the relevant line in my Podfile.

pod 'RestKit', '0.10.1'

I also tried:

pod 'RestKit/Testing', '0.10.1'

With the same results.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T13:13:03+00:00Added an answer on June 10, 2026 at 1:13 pm

    I haven’t investigated why this works but to include RestKit’s testing files you must put

    pod 'RestKit/Testing', '0.10.1' 
    

    before

    pod 'RestKit', '0.10.1'
    

    and clear out your pods directory and do a pod install. Or you might be able to skip this step if you are running Cocoapods 0.14.0.rc1 in which case you might be able to use pod update.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to learn about unit testing in Zend Framework. I have installed
I'm trying to setup a test using NUnit to perform some integration testing of
I'm trying to setup temporary tables for unit-testing purposes. So far I managed to
Trying to setup and get going with the RestKit library for a cocoa project
I'm trying to setup the application server part of C2DM push messaging using this
I am trying to setup SSL for my heroku app. I am using the
I'm trying to setup rspec for testing in my rails application. I have created
I am trying to setup an end-of-day automated email using a CRON job. I
I am trying to get started with unit testing an app that uses Core
I am trying to use the Windmill Testing Framework over https. I'm running Ubuntu

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.