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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:51:16+00:00 2026-05-17T14:51:16+00:00

In my Cocoa Touch static library project, I have a target set apart for

  • 0

In my Cocoa Touch static library project, I have a target set apart for unit testing with OCUnit. When I build the project, I have several unit tests that are supposed to automatically run, but when I actually build the project, I get this linker errors:

"_OBJC_CLASS_$_ObjectIntTreeMap_ObjectEntry", referenced from:
objc-class-ref-to-ObjectIntTreeMap_ObjectEntry in libMyLib.a(ObjectIntTreeMap.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

As far as I know, I am linking the libraries properly (in targets / Tests / Link Binary With Libraries, I have the main project listed there).

Thanks

  • 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-17T14:51:17+00:00Added an answer on May 17, 2026 at 2:51 pm

    I figured it out…

    My problem was that I had not the class ObjectIntTreeMap_ObjectEntry, and a global variable, and that was what caused my error.

    Hope this helps others with the same problem

    P.S. I am using GHUnit now

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

Sidebar

Related Questions

I'd like to sell a static library for Cocoa Touch apps but want to
I'm developing a static library in Obj-C for a CocoaTouch project. I've added unit
I am trying to write a cocoa touch static library. To keep it simple
Many classes in Cocoa/Cocoa Touch have the NS prefix. What does it mean?
I have just discovered the nifty unhandled exception handler for cocoa-touch. Now that I
I'm wondering if there is an existing class or library code in Cocoa Touch
I'm trying to use a C++ library (CLucene) from my Cocoa Touch iPhone application
When retrieving objects from an NSMutableArray in cocoa-touch is the below code ok? Should
I have a Cocoa app that uses a WebView to display an HTML interface.
I've followed this tutorial for setting up a static library with common classes from

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.