Skip to content
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

Adds deployment target configs based on provided platform_type & minimum_os_version #72

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

ndizazzo
Copy link
Contributor

@ndizazzo ndizazzo commented Jun 3, 2020

This PR adds the suggested patch from @segiddins that allows platform and minimum deployment target to be passed through to target configuration option settings in Xcode.

If the platform is iOS, it will add IPHONEOS_DEPLOYMENT_TARGET with the corresponding minimum version.

If the platform is macOS, it will add MACOSX_DEPLOYMENT_TARGET with the corresponding minimum version (and set the SDKROOT to macosx if needed).

@ndizazzo ndizazzo requested review from amberdixon and segiddins June 3, 2020 22:45
@ndizazzo ndizazzo self-assigned this Jun 3, 2020
Copy link
Member

@segiddins segiddins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

@ndizazzo
Copy link
Contributor Author

ndizazzo commented Jun 4, 2020

@segiddins f6aec9a updates the min os version to 11 in an attempt to see if that corrects the build failures when the deployment target is set (and it's < iOS 11).

Any idea what additional configs we might need to specify to get it working again with iOS 10?

@ndizazzo ndizazzo force-pushed the ndizazzo/specify-platforms-and-deployment-targets branch 2 times, most recently from 55ae1a2 to 5a5fe19 Compare June 4, 2020 19:23
…mum_os_version

* Adds VALID_ARCHs in combination with specifying the minimum deployment target corrects build issues
@ndizazzo ndizazzo force-pushed the ndizazzo/specify-platforms-and-deployment-targets branch from 5a5fe19 to 1fe5dff Compare June 4, 2020 19:28
@ndizazzo ndizazzo merged commit db11a6d into master Jun 4, 2020
@ndizazzo ndizazzo deleted the ndizazzo/specify-platforms-and-deployment-targets branch June 4, 2020 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants