Skip to content

Publish static XCFramework (iOS) #3977

@louwers

Description

@louwers

If you want to try it out add

https://github.com/louwers/maplibre-gl-native-distribution.git

to Swift Package Manager. This uses this Package.swift.

For some reason Xcode downloads all package products... So it is a lot slower than before (depending on your connections speed).

Select MapLibreStatic:

Image

To get it to work you need to make two changes:

  1. Add -ObjC linker flag.
Image
  1. Download the XCFramework and copy the .framework file to the application directory. https://github.com/maplibre/maplibre-native/releases/download/ios-v6.21.1/MapLibre.static.xcframework.zip

If we want to make official releases to Swift Package Manager of the static XCFramework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions