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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:51:38+00:00 2026-05-24T09:51:38+00:00

I want to link two existing library projects to my new project in xcode4.

  • 0

I want to link two existing library projects to my new project in xcode4. I’ve tried 2 solutions so far.

  1. Adding two projects inside the new one.
  2. Creating a workspace and adding all three projects in it.
    But in both cases when I build, the header files are not found by compiler. I’ve tried adding “Target Dependencies” in “Build Phases” of my project and adding library files (.a) to “Link Binary With Libraries” but nothing works.
    After reading other posts on this issue I found out that I have to configure “Search Paths” for the project but I don’t know how to. Because I’ve tried some solutions but they don’t work for me so I’m surely missing something.
  • 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-24T09:51:39+00:00Added an answer on May 24, 2026 at 9:51 am

    Xcode 4 Project Fails to compile a static library

    Related question: Xcode 4 can’t locate public header files from static library dependancy
    Related question: “lexical or preprocessor issue file not found ” in Xcode 4

    Errors might include; missing header files, "lexical or preprocessor issue"

    Solutions:

    1. Check the "user header paths" are correct
    2. Set "Always search user paths" to YES
    3. Create a group call "Indexing headers" in your project and drag the headers to this group, DO NOT add to any targets when prompted.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working on an old Kohana 2 project and I want to link two models.
I'm trying to link two gestures one after another. UILongPressGestureRecognizer, then UIPanGestureRecognizer. I want
How can I link two different projects written in two different languages like C++
I just want to know how can i link two variables in jquery using
I have two toggle buttons that I want to link together so that pressing
I'm trying to link two tables. I want a user on my site to
I'm deep in trouble with my project. I have to link two radar with
I want to link to bookmark on a page (mysite.com/mypage.htm#bookmark) AND visually highlight the
I want to link to a page which contains multiple support topics. When the
I want to link to a section of a page using a bookmark site.com/Page.htm#Bookmark)

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.