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

  • Home
  • SEARCH
  • 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 6184009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:27:45+00:00 2026-05-24T01:27:45+00:00

When you create an XCode 4 project, it asks you if you want to

  • 0

When you create an XCode 4 project, it asks you if you want to include unit testing. But how do you add it to a project that’s been created without them?

I started a project with Unit Tests to try to figure it out, and it looks like the only difference between it and my existing project are the Test.h and Test.m files in the new project.

But when I move them into my old project and try to build, it says no such file or directory: SenTestingKit/SenTestingKit.h. That looks like a framework to me, but if I go to build phases and try to add the framework, there isn’t one available called SenTestingKit 🙁 And the new project only links the usual suspects: UIKit, CoreGraphics, and Foundation, but no SenTestingKit.

  • 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-05-24T01:27:46+00:00Added an answer on May 24, 2026 at 1:27 am

    Answer updated for Xcode 10.2.

    Glad you asked this question — it’s never too late to add tests to a project!

    1. Open your targets panel by selecting your project in the navigator,
    2. Click the + button that’s at the bottom of the target list,
    3. Select iOS Unit Testing Bundle under Test section in iOS tab,
    4. Provide the required information and click Done.

    It’s that simple. Xcode will generate a target, some boilerplate files such as Info.plist and an initial test case file for you. Happy testing!

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

Sidebar

Related Questions

I have noticed that when you create a new xcode project as a view
For the purposes of unit testing I'd like to create an iPhone project target
I have a fairly complex Xcode project and I want to add Qt to
I'm doing a Unity-iPhone project, but want to automatically add some native code and
I tried to create multiple iPhone apps using same XCode project and that worked
I have created an Xcode 4 project template for iOS that relies on several
I have started a project from an XCode template I have created. When I
I have a table that I created within xcode so there is no nib
When building my Xcode project I am receiving a Linker error that I cannot
How do I create a reusable library/module in XCode 3.2? What I want to

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.