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

Explicitly disable Mac Catalyst support #598

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

ilammy
Copy link
Collaborator

@ilammy ilammy commented Mar 2, 2020

Some of our targets declare that they support both iOS and iPadOS. Themis has never supported iPadOS explicitly, so disable all that stuff. Actually, instead of explicitly disabling, just set it to default (which will be iOS only).

Recent versions of Xcode automatically enable Mac Catalyst – support layer allowing to run iPadOS applications on macOS. This breaks build because OpenSSL and BoringSSL dependencies explicitly disable Catalyst. To be on the safe side, explicitly disable Catalyst for all our projects. We may enable it later, together with iPadOS support.

All of this is currently invisible to Bitrise because it builds with older Xcode 10.2. However, macOS 10.14+ with Xcode 11.2+ is affected by this when building from command line.

Checklist

  • Change is covered by automated tests (not really visible though)
  • The coding guidelines are followed
  • Example projects and code samples are up-to-date
  • Changelog is updated (nothing to note here, IMO)

Some of our targets declare that they support both iOS and iPadOS.
Themis has never supported iPadOS explicitly, so disable all that stuff.
Actually, instead of explicitly disabling, just set it to default (which
will be iOS only).

Recent versions of Xcode automatically enable "Mac Catalyst" -- support
layer allowing to run iPadOS applications on macOS. This breaks build
because OpenSSL and BoringSSL dependencies explicitly disable Catalyst.
To be on the safe side, explicitly disable Catalyst for all our projects.
We may enable it later, together with iPadOS support.

All of this is currently invisible to Bitrise because it builds with
older Xcode 10.2. However, macOS 10.14+ with Xcode 11.2 is affected
by this when building from command line.
@ilammy ilammy added O-iOS 📱 Operating system: iOS O-macOS 💻 Operating system: macOS M-Carthage Package manager: Carthage, Objective-C and Swift, iOS and macOS labels Mar 2, 2020
@ilammy ilammy requested a review from vixentael March 2, 2020 11:56
@ilammy ilammy requested a review from Lagovas as a code owner March 2, 2020 11:56
@ilammy ilammy mentioned this pull request Mar 2, 2020
9 tasks
Copy link
Contributor

@vixentael vixentael left a comment

Choose a reason for hiding this comment

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

Makes total sense, thank you!

@ilammy ilammy merged commit e016f1d into cossacklabs:master Mar 5, 2020
@ilammy ilammy deleted the disable-catalyst branch March 5, 2020 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M-Carthage Package manager: Carthage, Objective-C and Swift, iOS and macOS O-iOS 📱 Operating system: iOS O-macOS 💻 Operating system: macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants