Does compiling a command line tool with a newer XCode version have any impact on being able to run that binary on older macOS versions?
Indeed they call it “deployment target” in Xcode. I would not hesitate to upgrade Xcode if the deployment target is set correctly.
But how to set this deployment target on CircleCi? I can only set the Xcode version in yaml
Shouldnt there be some kind of xcode project configuration file?
I am not much familiar with xcode stack, but quick googling mentions something like project.pbxproj
?
IPHONEOS_DEPLOYMENT_TARGET
seems similar to what you are looking for?
MACOSX_DEPLOYMENT_TARGET
Well I don’t build for IPhone and I do t have an XCode project. GraalVM just uses the C++ compiler that comes with it
I’ll check it out thanks
maybe this helps?
Thanks, yes
E.g. compiling with XCode 12
might be related to transition to arm in next mac os?
no, I'm just wondering about backward compatibility when I bump my XCode version in circleci's config
(I don't know how to do this, just know you can) You can set a minimal compatible version no matter which xcode you are on.
Absolutly it does @borkdude https://en.wikipedia.org/wiki/Xcode#8.x_series
one of the reasons I stay out of the mobile market ; ]
@thdm It says: min macOS to run xcode, but not min macOS on which the compiled target can run