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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:50:29+00:00 2026-05-21T12:50:29+00:00

My client is providing me with two precompiled libraries, blah-device.a and blah-simulator.a. How do

  • 0

My client is providing me with two precompiled libraries, blah-device.a and blah-simulator.a. How do I tell xcode to use blah-device.a in Device compilation mode and simulator in Simulator compilation mode?

My client gives me these instructions

  1. Open the Targets group (in the Groups & Files panel), right-click the
    project icon, then select Add >
    Existing Frameworks.
  2. In the Linked Libraries section, click the Add Libraries icon (+) icon,
    then click Add Other.
  3. Select either blah-device.a (for developing directly on the iPhone
    device) or blah-simulator.a (for
    developing on the iPhone Simulator),
    then click Add.

I already copied the header file in there, however these instructions don’t make building easy with different profiles.

How do I get Xcode to link blah-device.a when building with the DEVICE profiles and blah-simulator.a when building with the SIMULATOR profiles?

Any help is greatly appreciated.

  • 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-21T12:50:29+00:00Added an answer on May 21, 2026 at 12:50 pm

    There is an easier way to do that. You can duplicate the “Library Search Paths” under one target and set a different architecture for each one. You can then set a different path for simulator and devices.

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

Sidebar

Related Questions

On client side I use ASIHttpRequest to upload a pict: // upload on server
I have a client who has a web service providing several different top-level entities.
I wrote a small tcp client using boost::asio, providing the following function: typedef boost::function<void(const
I'm building a client server application from an android device to a server over
My client is providing me with an XSLX spreadsheet that, in some columns, can
Client wants to edit DotNetNuke skin and he is not a programmer, so I'm
Client side form validation becomes easiest by using jQuery. I tried all validators and
Client side javascript code creates some elements (about 50-100) in a cycle: for (var
Client is requesting a single track to be heard across the website. Generally I
Client code is pretty simple: <form action=DDServlet method=post> <input type=text name=customerText> <select id=customer> <option

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.