maplibre / maplibre-react-native

A MapLibre react native module for creating custom maps
Other
262 stars 55 forks source link

Unable to build on IOS #452

Closed ZarmDev closed 1 month ago

ZarmDev commented 1 month ago

Steps to Trigger Behavior

  1. Setup an expo app using dev client
  2. Use maplibre-react-native
  3. Try building for ios (npx eas build -p ios)

Link to Minimal Reproducible Example

I tried it on my app: https://github.com/ZarmDev/OpenTransitApp

Screenshots (if applicable)

image

Version(s) affected

Proof

When I ran the build without maplibre installed, it actually went through but I got another unrelated error.

Important notes

tyrauber commented 1 month ago

Hey @ZarmDev, please try 10.0.0-alpha.17.

ZarmDev commented 1 month ago

I'm still getting the same error when running eas build

ZarmDev commented 1 month ago

@tyrauber It works now!!! I added this to app.json or maybe it was your advice I don't really know:

"ios": {
            "deploymentTarget": "13.4",
            "useFrameworks": "static",
            "podfileProperties": {
              "MapLibre": "6.7.0"
            }
          }