-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to configure min-sdk-version for macOS and iOS #50
Comments
Ok, weird, building with the 10.15 SDK on 10.14 would give that behaviour though, but as far as I'm aware this shouldn't be hardcoded anywhere in the code or build system. What's the console output when you do run the following?
On my machine (with latest Xcode and Catalina) it shows:
On your machine it should show |
Here's what I get (osx 10.14.6 & xcode 11.2.1):
I do use this xcode all the time for building projects for work (and personal stuff), so I do know it's not broken. I'll scan the plist and see if anything pops out at me |
There shouldn't be but I'll sift through the code again to check :) I guess (as you said) that either cmake or Xcode default to the newest available SDK if no other option is present. cmake has a special variable |
I had a look at that cmake page you linked and saw a comment about the MACOSX_DEPLOYMENT_TARGET environment variable. So, I deleted everything and started with a fresh clone but set that variable first:
Then I did the './fips build' - now './fips run triangle-glfw' (and others) run fine. Thanks for the pointer! Not sure if you want to mention that or not in the readme? Or maybe set it per project when you know the build works on older OS versions. Thanks! |
Yeah, maybe similar to how the TeamID for iOS projects is currently set ( I'll rename this ticket and keep it open as reminder. |
Just did a fresh clone and run. Seem to get the following error when running a sample:
The text was updated successfully, but these errors were encountered: