maplibre / maplibre-native

MapLibre Native - Interactive vector tile maps for iOS, Android and other platforms.
https://maplibre.org
BSD 2-Clause "Simplified" License
1.07k stars 315 forks source link

Mac Catalyst support #3

Open chrisballinger opened 3 years ago

chrisballinger commented 3 years ago

Looks like this hard fork has already made some awesome progress towards addressing long standing issues in the old Mapbox SDK, like offline vector mbtiles, and XCFramework support.

Now that you already support XCFrameworks, supporting Mac Catalyst should be relatively straightforward. Binary components with custom build scripts will need the following additional architectures:

You'll need to target macOS 11.0 (for Mac Catalyst / iOS 14.0) or higher for OpenGL ES support.

Cheers!

wipfli commented 2 years ago

Would mac catalyst support still be something you are interested in, @chrisballinger?

ntadej commented 2 years ago

I see no reason why we would not support this. It's just one more "iOS" platform to build for afaik.

Although developers may be more interested into proper M1 support in the macOS SDK (I still need to figure out how big the difference there is between native iOS and macOS SDKs).

chrisballinger commented 2 years ago

Ya I'm interested!

I'm currently trying to figure out how to get offline vector mbtiles to work for the 2022 update to iBurn (based on this reference) but Catalyst and macOS support would be great.

wipfli commented 2 years ago

Sounds like a fun project...

ntadej commented 2 years ago

On paper it should be trivial once done by someone familiar with Apple requirements. We can already build the Qt part of the codebase for M1 mac natively so it's just the matter of configuring the macOS and iOS builds properly.

louwers commented 5 months ago

This will be trivial once Bazel has support for it: https://github.com/bazelbuild/rules_apple/issues/658