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

A client of mine has asked me to integrate a 3rd party API into
My client has a multi-page PDF file. They need it split by page. Does
A client of mine uses Oracle 9i's utl_smtp to send mails out notifications to
A client wants me to do some maintenance work to a VB 6.0 application
The client connects to the server using GenuineChannels (we are considering switching to DotNetRemoting).
A client of mine is looking to convert a critical 'application' based on multiple
My client has an old MS SQL 2000 database that uses varchar(50) fields to
A client is asking to incorporate commenting on their news articles. They're using the
My client wants to send email announcements and reports for customers. Now. The python-side
My client would like website visitors to embed videos in their profiles. We've suggested

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.