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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:46:45+00:00 2026-05-12T13:46:45+00:00

When I switch the Compiler Version to Clang llvm 1.0 in existing projects I

  • 0

When I switch the Compiler Version to Clang llvm 1.0 in existing projects I get the following build error when Precompiling the *.pch file:

error: can't exec '/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2' (No such file or directory)

Is there another setting I need to change to get my project to work with the new compiler?

(I did try a clean all targets)


Update:

To clarify:

Since the new compiler does in fact work with new projects, the issue is not that my system is missing anything.

Additionally, Xcode should not even be trying to find llvm-gcc-4.2 as the whole point is that I switched from that compiler to the new one, Clang llvm 1.0. This is what has led me to believe there is still another setting to be changed.


Thanks to fbereto for his suggestion. The actual answer lies in the comments.

  • 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-12T13:46:45+00:00Added an answer on May 12, 2026 at 1:46 pm

    If you look in path specified by the error you will not find an LLVM compiler (llvm-gcc-4.2) for the iPhone device:

    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/
    

    That being said one does exist for the iPhone Simulator:

    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
    

    All this to say that while it may be possible to compile your iPhone App under LLVM for the Simulator, no equivalent tool exists for the device itself.

    (Answer detailed in comments below.)

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

Sidebar

Related Questions

I can switch between windows with C-x o, but if I have opened multiple
Is there a switch to suppress specific compiler warnings when using the aspnet_compiler.exe warnings
I have recently started using the -Wall compiler switch in an attempt to improve
Sometimes in execution I get this error message in VS2010 when trying to free
Switch statement fallthrough is one of my personal major reasons for loving switch vs.
Switch statements are typically faster than equivalent if-else-if statements (as e.g. descibed in this
When writing a switch statement, there appears to be two limitations on what you
Is that possible to switch an Open Source Project license from GPL to LGPL
Since our switch from Visual Studio 6 to Visual Studio 2008, we've been using
I am making my switch from coding in C++ to C#. I need to

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.