flitsmeister / maplibre-navigation-ios

Repo is moved to https://github.com/maplibre/maplibre-navigation-ios
Other
6 stars 5 forks source link

Framework built for iOS + iOS Simulator #23

Open imranMnts opened 1 year ago

imranMnts commented 1 year ago

Navigation SDK version: latest

I installed the sdk as explained in the documentation,

But at the end when I'm trying to build my application, I'm facing with this error

Building for iOS, but the linked and embedded framework 'Mapbox.framework' was built for iOS + iOS Simulator.

To fix it, based targeted device (physical or simulator), I have to execute

lipo -thin arm64 Mapbox.framework/Mapbox -output Mapbox

Can we have a fix to not have to execute any command at the end of the installation and support physical and simulator devices?

Svantulden commented 1 year ago

We have updated the Readme to reflect that Maplibre SDK can be used via SPM. Does this alleviate your issue?