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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:56:24+00:00 2026-05-24T06:56:24+00:00

I m facing the above stated error in my iPad app. I am adding

  • 0

I m facing the above stated error in my iPad app. I am adding a static library in my app using xcode 4 (via link binaries with libraries). When I bulid the app getting error like

ld: duplicate symbol _OBJC_METACLASS_$_Reachability in /Users/indiait-supportservices/Desktop/Universal/lib/simulator/libSecurLib.a(Reachability.o) and /Users/indiait-supportservices/Library/Developer/Xcode/DerivedData/ReceiverForiOS-avuvmyuaipqegxbkwsrfbymgadjj/Build/Intermediates/ReceiverForiOS.build/Debug-iphonesimulator/myApp iPad.build/Objects-normal/i386/Reachability.o for architecture i386
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1

I have added linker flag needed for that static library and also -all_load linker flag in “other linker fags” and also added all the necessary frameworks. And also there is no duplicate symbol used in my app. I tried using changing the compiler LLVM GCC 4.2 to GGC 4.2 (and all).I searched all the similar threads in stack overflow and tried all the solutions mentioned there.Still not able to solve the problem.Is that static library not linked properly? Is there any other way to add the library in xcode 4?

Can anyone plz help me??

Thank u…

  • 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-24T06:56:25+00:00Added an answer on May 24, 2026 at 6:56 am

    If this isn’t a problem with your build, then it appears that the problem is that you are both directly using Reachability and it is also being used by libSecurLib.a. If you remove the Reachability code (just the .m) from your project you should be able to build, but there is a possibility that the version of Reachability used in libSecurLib.a is different from the version your headers are using, so you might get other errors.

    One way to work around this problem is to rename the version of Reachability that your project is including.

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

Sidebar

Related Questions

So, I have been facing a problem with using subprocess for a python app
Am facing a bit of trouble getting the 'combined fragment' to sit above an
After an IISRESET on my public facing webserver, the initialization of my app seems
I am facing very strange and difficult problem. I am developing a web app,
I'm facing an error: Warning: curl_exec() expects parameter 1 to be resource, null given
I'm working on my first node.js / express / mongoose app and I'm facing
I am trying to attach files in my RoR app. I am using Rails
in my app I am facing following two problems I am trying to show
I am facing problem in android-ndk. When i try to call a java nan-static
I am facing this error when i attach specific datasource with dropdownlist. with all

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.