Intel Fortran Compiler in XCode 8.3.2 - xcode

Did anyone try to add Intel Fortran Compiler to the latest XCode (version 8.3.2)? I can't find the compiler on the list. I tried to re-install the compiler entirely, linking it again to the XCode location, but nothing helped. Any idea why this happens? (I was also unable to run the simple code via terminal on Mac with the ifort command, seems like it can't link the libraries location, even though I updated the environmental variables)

The beta test compiler release notes do indicate that Xcode 8.2 is the latest supported version, as it is for the 2017u2 released compiler. Intention to offer an update 2 of the beta has been mentioned. Each minor update to Xcode apparently requires specific modifications and testing of Intel compilers.

Related

Debugger in CLion on Macos Ventura not working

CLion 2022.2.4, Bundled cmake 3.23.3, Bundled lldb 14.0.6, Apple clang version 14.0.0 (clang-1400.0.29.102), macOS ventura 13.0.
Since I updated the system, the debugger does not hit breakpoints anymore. The breakpoint turns gray, the tooltip says "No executable code is associated with this line".
The project is a regular project with a shared library. All default (debug, no optimizations). Everything worked fine until the update. What's wrong?
After a day or two I found out that this is indeed a bug in CLion. There is an open issue for it.
Users there report that the issue is solved in the CLion Early Access Program build.

Cannot compile project using BMI2 after updating to Xcode 12.2

My computer auto-updated Xcode to 12.2 recently, and suddenly I couldn't compile code that is using Intel intrinsics (BMI2 in the case of this project). I got the error:
clang: error: the clang compiler does not support '-march=native'
But, of course it does support this, as it was working yesterday. Any idea what is going on and how to fix this?
Xcode 12.2 changed the default compiler settings. In their release notes they state:
Standard Architectures build setting defaults to Universal, and Xcode offers to upgrade your project if needed
Since Intel intrinsics are not supported on ARM, it will break your build if you are using them.
The solution is to go to your project build settings, show all settings, and then under architectures, add arm64 as an excluded architecture. Once this is done, everything should compile again. (Supporting ARM is a separate question.)

XCode 12.0.1 and 12.1 Do not build universal applications

Using XCode 12.0.1 or 12.1 on MacOS 10.15.7 on a MacBook Pro, I cannot get my Mac OS application to compile for the arm64 architecture (i.e. make a Universal application). My project has evolved through many many many XCode versions, so I thought maybe it was corrupted somehow.
So, I created a new non-document-based app project in XCode. I then edited the scheme for Run to build for Release. The default build settings included the arm64 archtecture, and "Build Active Archtecture Only" set to NO for Release. I then set the tool bar scheme setting to buid for "Any Mac", built the project and looked at the build log. It built only for the x86_64 architecture.
Apple's documentaton says it should build for both architectures with these settings. What am I missing?
The problem is Apple's documentation, whoch clearly says XCode 12 builds universal. It does not, as of this writing, you MUST use the xcode 12 BETA.
I've had older Xcode-Projects that just wouldn't build universal binaries. It was due to a VALID_ARCHS user defined variable in one of the build settings (at the very bottom of the list). Once removed, universal binaries were created.

How do I fix this compile error for my eye writer project

I am trying to recreate the EyeWriter 2.0 project from instructables.I have downloaded everything needed but when compiling comes I got this error.I downloaded that version of sdk on that specific place and i still got the same error.
error: unable to find sdk '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.5.sdk' (in target 'RemoteEyeTracker')
Can someone explain to me what means in target RemoteEyeTracker?
The error message is telling you Xcode cannot find the Mac 10.5 SDK in Xcode's app bundle. I doubt recent versions of Xcode have good support for the 10.5 SDK since it shipped with Xcode 3, whose first release was in 2007. You will probably have to build your project with a newer version of the Mac SDK. Updating a project that was built for Mac OS X 10.5 to recent versions of macOS is going to be a lot of work.

How to install the latest version of the apple llvm compiler?

I am new to iOS development. I've recently stumbled upon the new objective-c collection-literals syntax on an article, and I would like to be able to use this newer version of the language. How can I install the newest version of the apple llvm compiler without having to install xCode's newest version?
You can get LLVM separately from Xcode at llvm.org, though you may find some of the new features don't work well without IDE and framework support.

Resources