Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Add support for Apple's Project Catalyst #326

Closed
olliwang opened this issue Jun 6, 2019 · 2 comments
Closed

Add support for Apple's Project Catalyst #326

olliwang opened this issue Jun 6, 2019 · 2 comments

Comments

@olliwang
Copy link
Contributor

olliwang commented Jun 6, 2019

Apple introduces Project Catalyst at WWDC 2019 to allows iOS apps running on macOS without heavily modifying the code. The problem is; currently, the toolchains build either iOS/Simulator or macOS libraries. To support Project Catalyst, we need a new toolchain to build fat libraries that include all of iOS, Simulator, and macOS architectures. Is it possible?

@ruslo
Copy link
Owner

ruslo commented Aug 25, 2019

Closing inactive discussion.

@ruslo ruslo closed this as completed Aug 25, 2019
@DimaRU
Copy link

DimaRU commented Jan 30, 2020

Example of working toolchain:

set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
set(CMAKE_XCODE_ATTRIBUTE_SUPPORTED_PLATFORMS "macosx")
set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-maccatalyst")
set(CMAKE_XCODE_ATTRIBUTE_MACOSX_DEPLOYMENT_TARGET "10.15")
set(CMAKE_C_FLAGS "-target x86_64-apple-ios13.0-macabi -Wno-overriding-t-option")
set(CMAKE_CXX_FLAGS "-target x86_64-apple-ios13.0-macabi -Wno-overriding-t-option")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants