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 8092511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:17:56+00:00 2026-06-05T20:17:56+00:00

I have an Xcode project with a directory structure like this: MasterProjectDir/projectname.xcodeproj MasterProjectDir/ProjectSubDir/whatever.c MasterProjectDir/ProjectSubDir/etc.c

  • 0

I have an Xcode project with a directory structure like this:

MasterProjectDir/projectname.xcodeproj
MasterProjectDir/ProjectSubDir/whatever.c
MasterProjectDir/ProjectSubDir/etc.c
MasterProjectDir/ProjectSubDir/Makefile

My xcodeproj uses an external build target to point to the Makefile using these settings:

Build Tool: /usr/bin/make
Arguments: $(ACTION)
Directory: ./ProjectSubDir

For various reasons, I need to change the project directory structure to look like this:

MasterProjectDir/projectname.xcodeproj
MasterProjectDir/whatever.c
MasterProjectDir/etc.c
MasterProjectDir/Makefile

I copied the .xcodeproj file into the ProjectSubDir and the project somehow still knows where to look for the files (?!?! – this is odd because their location is set as “relative to group” and I’ve just moved the xcodeproj file). It won’t build. I get the following error:

make: * No targets specified and no makefile found. Stop.
Command /usr/bin/make failed with exit code 2

I could use a little help on this. There must be a setting I need to change somewhere.

  • 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-05T20:17:57+00:00Added an answer on June 5, 2026 at 8:17 pm

    The problem ended up being that the Makefile was missing from the project references and the directory on the external build target needed to be set to . where the . represents the current directory.

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

Sidebar

Related Questions

After creation of a new project under XCode I have the following directory structure:
I have an Xcode4 project which is under Subversion SCM. The initial directory structure
If I have a directory in my Xcode project (not a Group), which is
I have a config file in the www directory in a PhoneGap Xcode project,
I have an Xcode project with several static library dependancies set up in the
Now I have a Xcode project which is built for iOS 5, but now
I have an old Xcode project which contains a CoreData model (containing a version
I have an XCode iPad project using a navigation controller. I tried to get
I have an Xcode 4.2 project with ios5 targeting 4.3 and am now suddenly
I have an iOS project in Xcode that works great. I added the classes

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.