• Register
0 votes

Problem :

I want to run the NVCC to compile my CUDA program on my Mac.

But when I try to run the NVCC, I am facing below error message:

"nvcc fatal : The version ('70300') of the host compiler ('Apple clang') is not supported".

I tried updating the XCode version to 7.3, and the Mac version to 10.11.4.

But I am facing the same error.

How can I revert my Apple Clang Version?

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

To solve your issue please try to download the next to latest all command line tools and install them then write following command in the console:

sudo xcode-select --switch /Library/Developer/CommandLineTools

You can revert your Apple Clang to the original version of the tools. By writing following command in the console:

sudo xcode-select --switch /Applications/Xcode.app


Please try the homebrew's version of llvm it will work for you. 

Just write following command:

brew install llvm37

After that try to set your compiler to homebrew's clang: /usr/local/bin/clang++-3.7

By this way you will be able to leave your OS X dev environment to defaults as they were


Just rename your Xcode existing in your mac as the Xcode-7.app in your /Applications folder. After that just download Xcode6.4 from below link:  https://developer.apple.com/download/more/ 

And just install it. And you will be sorted.


9 7 4
38,600 points

Related questions

0 votes
1 answer 774 views
Problem: Installation failed: Can’t Install the Software I am getting following message like: A software update is required to connect to your iPhone. Would you like to download and install this updatenow? Use of this software is subject to the original Software ... the software because it si not currently available from the softwre update server. Can any one help to sort this issue out?
asked Jul 16, 2020 quizzBabes 160 points
0 votes
1 answer 640 views
Problem : I got an error on Xcode saying that there was no information about the view controller as follows: Could not insert new outlet connection: Could not find any information for the class named Why am I getting this error?
asked Nov 28, 2019 alecxe 7.5k points
1 vote
1 answer 38 views
Problem : I am troubled by below mentioned strange looking app transport security error app transport security has blocked a cleartext http (http://) resource load since it is insecure.
asked Nov 11, 2019 peterlaw 6.9k points
0 votes
1 answer 110 views
Problem : I have very simple program HelloWorld is running on iOS. The same program has been running fine for a long time. But recently I noticed that I get the below listed BoringSSL error when my program runs on my ... boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert
asked Dec 4, 2019 alecxe 7.5k points
0 votes
2 answers 96 views
Problem : While trying to compile my C program I encountered following error agreeing to the xcode/ios license requires admin privileges, please re-run as root via sudo.
asked Nov 16, 2019 peterlaw 6.9k points
0 votes
1 answer 575 views
Problem : I am trying to install the visual studio code on the Ubuntu VM also I am using c++. But I am facing the following error message which is often covering my pages tab at the top and it is very frustrating: Please install [clang](http://clang.llvm. ... C++ support from the required packages. I am now completely confused have anyone ever faced the above error and have the solution on it ?
asked Dec 2, 2019 alecxe 7.5k points
0 votes
2 answers 56 views
Problem : Below are the steps I went through: Generate the certificate request: Upload to the Apple Dev Portal, download the certificate. Select it in the Xamarin Project options: Tried to build, when getting to a codesigning it asks permission (is a name being "" correct?) ... - should I try to set these manually? Where can I find all the keys of a signing profile / certificate to do so?
asked Jan 20, 2020 jwilliam 3.9k points
0 votes
1 answer 157 views
Problem: I am trying to archive my project but facing very unexpected error as shown below: Showing Recent Messages:-1: mkdir -p /Users/spritzindia/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator/Contigo.app/Frameworks Showing ... : pod 'IQKeyboardManagerSwift'  pod 'SDWebImage', '~> 4.0'  pod 'KRPullLoader'  pod 'Paytm-Payments'
asked Aug 25, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 159 views
Problem : Xcode as of 6.3 is no longer allowing me to automatically perform the device provisioning for one of my client. Has anybody faced the same issue before? My client has their own bundle ID and it is also the possibility that they may also ... being used for provisioning. I had the workaround for this issue by modifying the app bundle ID and manually completing the provisioning process.
asked Dec 2, 2019 alecxe 7.5k points
0 votes
1 answer 77 views
Problem : All of a sudden I am unable to build my project. I started to get the following compiler error: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255 I got this error for a lot of my xib files. Any clues what is happening and what will be the Solution for it? Please Note : I am using Xcode 4.6 and iOS 6.1.
asked Nov 20, 2019 peterlaw 6.9k points