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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:01:01+00:00 2026-05-14T00:01:01+00:00

EDIT: This problem has been solved. See below. Hey all. I’m building an iPhone

  • 0

EDIT: This problem has been solved. See below.

Hey all. I’m building an iPhone application against my own library. To do this, I have the library project referenced from within the application. I have the header path properly set up, as compilation doesn’t cause any issues. However, I’m having trouble during the linking phase and I get these errors:


Undefined symbols:
  ".objc_class_name_Location", referenced from:
      literal-pointer@__OBJC@__cls_refs@Location in Map.o
  ".objc_class_name_Tag", referenced from:
      .objc_class_name_NamedTag in NamedTag.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

I would suspect it’s because I changed some paths, including the relative path of the library project. I’ve subsequently updated this in Xcode though, so I’m not sure why I’m getting this error.

I’ve even tried re-adding the library dependency and the problem persists.

Additionally, the library builds and links fine by itself and with its associated tests.

I know the question is the same as this one here, but the given solution doesn’t seem to apply to me since my sources are all added to the target: "collect2: ld returned 1 exit status" Error Iphone SDK. Please help me

Thanks!
Tom

  • 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-14T00:01:01+00:00Added an answer on May 14, 2026 at 12:01 am

    I was able to solve this. Apparently, I had to “re-add” my library to the “Link Binary With Libraries” section of the Target. (Note, it was already there before, but somehow got dropped when the path to the library changed. I wonder why the change didn’t propagate when I updated the project dependency? Oh well. It works.)

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

Sidebar

Related Questions

Edit : The bug that caused this problem has been fixed. The @version tag
SOLVED see Edit 2 Hello, I've been writing a Perl program to handle automatic
this problem has been bothering me for days and I cannot figure out why
this problem has been bothering me for some time. So I have created some
Edit: This problem was down to me passing the wrong view to the Touch
[Edit: This problem applies only to 32-bit systems. If your computer, your OS and
THIRD EDIT: I now believe that this problem is due to a SOAP version
EDIT: Just to make things clear, this problem was caused by a typo in
[EDIT] I am changing this to more concisely explain what my problem was, after
This is a weird problem. I am using a dataform, and when I edit

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.